!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("uuid"),require("@angular/forms"),require("rxjs"),require("rxjs/operators"),require("animejs"),require("@angular/router"),require("@angular/animations"),require("@angular/platform-browser")):"function"==typeof define&&define.amd?define("@rbc-dsse/framework-library-angular",["exports","@angular/core","@angular/common","uuid","@angular/forms","rxjs","rxjs/operators","animejs","@angular/router","@angular/animations","@angular/platform-browser"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self)["rbc-dsse"]=t["rbc-dsse"]||{},t["rbc-dsse"]["framework-library-angular"]={}),t.ng.core,t.ng.common,t.uuid,t.ng.forms,t.rxjs,t.rxjs.operators,t.anime,t.ng.router,t.ng.animations,t.ng.platformBrowser)}(this,(function(t,e,n,i,a,o,r,s,l,c,p){"use strict";function d(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var u=d(s),h=function(){function t(){this.ids=new Set}return t.prototype.generate=function(){var t;do{t="rbc-"+i.v4().substring(0,8)}while(this.ids.has(t));return this.ids.add(t),t},t.prototype.remove=function(t){this.ids.delete(t)},t}();h.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],h.ctorParameters=function(){return[]},h.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new h},token:h,providedIn:"root"});var g=function(){function t(t){this.idService=t,this.round=!1,this.size="medium",this.snackbar=!1,this.progressbarupdate=new e.EventEmitter}return t.prototype.ngOnInit=function(){this.id||(this.id=this.idService.generate()),this.emitProgressBarEvent()},t.prototype.ngOnChanges=function(t){t&&t.progress&&!t.progress.firstChange&&this.emitProgressBarEvent()},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.emitProgressBarEvent=function(){this.progressbarupdate.emit({id:this.id,progress:this.progress,self:this})},t}();g.decorators=[{type:e.Component,args:[{selector:"rbc-progressbar",template:'\n\t\t<div\n\t\t\tclass="rbc-progressbar"\n\t\t\t[ngClass]="snackbar ? \'rbc-snackbar-progressbar\' : \'\'">\n\t\t\t<div\n\t\t\t\t[id]="id"\n\t\t\t\t[ngClass]="[\n\t\t\t\t\t\'rbc-progressbar-\' + size,\n\t\t\t\t\tround ? \'rbc-progressbar-round\' : \'\'\n\t\t\t\t]"\n\t\t\t\t[attr.aria-describedby]="ariaDescribedBy"\n\t\t\t\t[attr.aria-label]="progress"\n\t\t\t\tclass="rbc-progressbar-bar"\n\t\t\t>\n\t\t\t\t<div\n\t\t\t\t\t[style.width]="progress +\'%\'"\n\t\t\t\t\tclass="rbc-progressbar-fill"\n\t\t\t\t></div>\n\t\t\t</div>\n\t\t</div>\n\t'}]}],g.ctorParameters=function(){return[{type:h}]},g.propDecorators={id:[{type:e.Input}],ariaDescribedBy:[{type:e.Input}],progress:[{type:e.Input}],round:[{type:e.Input}],size:[{type:e.Input}],snackbar:[{type:e.Input}],progressbarupdate:[{type:e.Output}]};var b=function(){};b.decorators=[{type:e.NgModule,args:[{declarations:[g],imports:[n.CommonModule],exports:[g]}]}];var m=function(){function t(t){this.idService=t,this.block="rbc-icon",this.type="light",this.circle=!1,this.circleBorder=!1,this.role="img",this.circleSize="",this.spin=!1,this.pulse=!1,this.size="",this.fixedWidth=!1,this.rotate="",this.flip="",this.iconClass=!0}return Object.defineProperty(t.prototype,"circleId",{get:function(){return this.id},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClassXs",{get:function(){return"xsmall"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClassSm",{get:function(){return"small"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClassMd",{get:function(){return"medium"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClassLg",{get:function(){return"large"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClass2x",{get:function(){return"2x"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClass3x",{get:function(){return"3x"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClass5x",{get:function(){return"5x"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClass7x",{get:function(){return"7x"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClass10x",{get:function(){return"10x"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClassCircle",{get:function(){return this.circle},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClassCircleBorder",{get:function(){return this.circleBorder&&this.circle},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.ngOnInit=function(){this.id||(this.id=this.idService.generate())},t.prototype.iconType=function(){return this.type?"fa"+this.type.substring(0,1):"fal"},t.prototype.validateInputParameters=function(){if(!this.icon)throw new Error('"icon" property is required')},t.prototype.toUppercase=function(t){return"fa"+t.charAt(0).toUpperCase()+t.slice(1)},t.prototype.isHidden=function(){return this.ariaHidden},t.prototype.calculateIconClasses=function(){var t={"rbc-icon-img":!0};return t[""+this.iconType()]=this.iconType(),t["fa-"+this.icon]=this.icon,t["fa-rotate-"+this.rotate]=this.rotate,t["fa-flip-"+this.flip]=this.flip,t["fa-spin"]=this.spin,t["fa-pulse"]=this.pulse,t["fa-fw"]=this.fixedWidth,t},t}();m.decorators=[{type:e.Component,args:[{selector:"rbc-icon",template:'<div\n\tstyle="display:inline"\n\t>\n\t<i\n\t\t[id]="id+\'Icon\'"\n\t\t[attr.aria-hidden]="ariaHidden ? ariaHidden : label ? null : \'true\'"\n\t\t[attr.aria-label]="label"\n\t\t[ngClass]="calculateIconClasses()"\n\t\t[attr.title]="showTitle ? label : null"\n\t\t[attr.role]="role ? role : \'img\'"\n\t\tclass="rbc-icon-img"\n\t></i>\n</div>\n'}]}],m.ctorParameters=function(){return[{type:h}]},m.propDecorators={circleId:[{type:e.HostBinding,args:["id"]}],iconClassXs:[{type:e.HostBinding,args:["class.fa-xs"]}],iconClassSm:[{type:e.HostBinding,args:["class.fa-sm"]}],iconClassMd:[{type:e.HostBinding,args:["class.fa-1x"]}],iconClassLg:[{type:e.HostBinding,args:["class.fa-lg"]}],iconClass2x:[{type:e.HostBinding,args:["class.fa-2x"]}],iconClass3x:[{type:e.HostBinding,args:["class.fa-3x"]}],iconClass5x:[{type:e.HostBinding,args:["class.fa-5x"]}],iconClass7x:[{type:e.HostBinding,args:["class.fa-7x"]}],iconClass10x:[{type:e.HostBinding,args:["class.fa-10x"]}],iconClassCircle:[{type:e.HostBinding,args:["class.rbc-icon-circle"]}],iconClassCircleBorder:[{type:e.HostBinding,args:["class.rbc-icon-circle-border"]}],id:[{type:e.Input}],type:[{type:e.Input}],icon:[{type:e.Input}],circle:[{type:e.Input}],circleBorder:[{type:e.Input}],showTitle:[{type:e.Input}],label:[{type:e.Input}],role:[{type:e.Input}],wrapperClass:[{type:e.Input}],tabIndex:[{type:e.Input}],ariaHidden:[{type:e.Input}],color:[{type:e.Input}],stroke:[{type:e.Input}],circleColor:[{type:e.Input}],circleSize:[{type:e.Input}],spin:[{type:e.Input}],pulse:[{type:e.Input}],size:[{type:e.Input}],fixedWidth:[{type:e.Input}],rotate:[{type:e.Input}],flip:[{type:e.Input}],iconClass:[{type:e.HostBinding,args:["class.rbc-icon"]}]};var y=function(){function t(t,e){this.el=t,this.renderer=e,this._color="grey-light-tint-1"}return Object.defineProperty(t.prototype,"circleColor",{get:function(){return this._color},set:function(t){this._color=t||this.circleColor,this.renderer.addClass(this.el.nativeElement,"b-"+this._color)},enumerable:!0,configurable:!0}),t}();y.decorators=[{type:e.Directive,args:[{selector:"rbc-icon[circleColor]"}]}],y.ctorParameters=function(){return[{type:e.ElementRef},{type:e.Renderer2}]},y.propDecorators={circleColor:[{type:e.Input}]};var f=function(){};f.decorators=[{type:e.NgModule,args:[{declarations:[m,y],imports:[n.CommonModule],exports:[m,y]}]}];var v="cubicBezier(0.420, 0.000, 0.580, 1.000)",I={autoplay:!1},w=function(t){return function(e){t&&t(e)}};function C(t,e,n){return void 0===e&&(e="px"),void 0===n&&(n="100%"),"number"==typeof t?""+t+e:n}var x=function(t){return u.default(Object.assign({},I,{targets:t.targets,duration:t.duration,easing:v,opacity:[0,1],begin:w(t.onBegin),complete:w(t.onComplete)}))},k=function(t){return u.default(Object.assign({},I,{targets:t.targets,duration:t.duration,easing:v,opacity:[1,0],begin:w(t.onBegin),complete:w(t.onComplete)}))},S=function(t){return u.default(Object.assign({},I,{targets:t.targets,duration:t.duration,easing:v,opacity:[0,1],translateY:["1.5rem","0"],begin:w(t.onBegin),complete:w(t.onComplete)}))},T=function(t){return u.default(Object.assign({},I,{targets:t.targets,duration:t.duration,easing:v,opacity:[1,0],translateY:["0","1.5rem"],begin:w(t.onBegin),complete:w(t.onComplete)}))},D=function(t){return u.default(Object.assign({},I,{targets:t.targets,duration:t.duration,easing:v,opacity:[0,1],translateY:["-1.5rem","0"],begin:w(t.onBegin),complete:w(t.onComplete)}))},O=function(t){return u.default(Object.assign({},I,{targets:t.targets,duration:t.duration,easing:v,opacity:[1,0],translateY:["0","-1.5rem"],begin:w(t.onBegin),complete:w(t.onComplete)}))},E=function(t){return u.default(Object.assign({},I,{targets:t.targets,duration:t.duration,easing:v,opacity:[0,1],translateX:["-1.5rem","0"],begin:w(t.onBegin),complete:w(t.onComplete)}))},L=function(t){return u.default(Object.assign({},I,{targets:t.targets,duration:t.duration,easing:v,opacity:[1,0],translateX:["0","-1.5rem"],begin:w(t.onBegin),complete:w(t.onComplete)}))},_=function(t){return u.default(Object.assign({},I,{targets:t.targets,duration:t.duration,easing:v,opacity:[0,1],translateX:["1.5rem","0"],begin:w(t.onBegin),complete:w(t.onComplete)}))},P=function(t){return u.default(Object.assign({},I,{targets:t.targets,duration:t.duration,easing:v,opacity:[1,0],translateX:["0","1.5rem"],begin:w(t.onBegin),complete:w(t.onComplete)}))},M=function(t){return u.default(Object.assign({},I,{targets:t.targets,duration:t.duration,easing:v,opacity:[0,1],height:t.height,round:100,begin:w(t.onBegin),complete:w(t.onComplete)}))},R=function(t){return u.default(Object.assign({},I,{targets:t.targets,opacity:[1,0],height:[t.height,0],duration:t.duration,easing:v,round:100,begin:w(t.onBegin),complete:w(t.onComplete)}))},A=function(t){return u.default(Object.assign({},I,{targets:t.targets,duration:t.duration,easing:v,height:t.height,round:100,begin:w(t.onBegin),complete:w(t.onComplete)}))},$=function(t){return u.default(Object.assign({},I,{targets:t.targets,height:[t.height,0],duration:t.duration,easing:v,round:100,begin:w(t.onBegin),complete:w(t.onComplete)}))},F=function(t){return u.default(Object.assign({},I,{targets:t.targets,duration:t.duration,easing:v,"max-height":[0,t.height||"100%"],opacity:[0,1],round:100,begin:w(t.onBegin),complete:w(t.onComplete)}))},B=function(t){return u.default(Object.assign({},I,{targets:t.targets,"max-height":[t.height||"100%",0],duration:t.duration,easing:v,opacity:[1,0],round:100,begin:w(t.onBegin),complete:w(t.onComplete)}))},V=function(t){return u.default(Object.assign({},I,{targets:t.targets,duration:t.duration,easing:v,"max-height":[0,t.height||"100%"],round:100,begin:w(t.onBegin),complete:w(t.onComplete)}))},N=function(t){return u.default(Object.assign({},I,{targets:t.targets,"max-height":[t.height||"100%",0],duration:t.duration,easing:v,round:100,begin:w(t.onBegin),complete:w(t.onComplete)}))},H={opacity:[x,k],"opacity-up":[S,T],"opacity-down":[D,O],"opacity-left":[E,L],"opacity-right":[_,P],"opacity-height":[M,R],"opacity-max-height":[F,B],height:[A,$],"max-height":[V,N]},j=function(){function t(t){this.idService=t,this.type="opacity",this.group=!1,this.state=!1,this.isAbsolute=!1,this.bindToContent=!1,this.softHide=!1,this.onTransition=new e.EventEmitter,this.hidden=!0,this.trueHeight=0,this.id=t.generate()}return t.prototype.ngOnInit=function(){this.id=this.id?this.id:this.idService.generate(),this.duration="number"==typeof this.duration?this.duration:this.getDefaultDuration(this.type),this.$animationState=new o.BehaviorSubject(this.state)},t.prototype.ngAfterViewInit=function(){if(this.hasContent()){var t=this.getTargetElement();t&&8!==t.nodeType&&(this.setTrueHeight(t),this.setTrueMaxHeight(t),this.toggleTargetVisibility(t),this.isAbsolute&&this.enableAbsoluteBox())}this.hasContent()&&8!==this.getTargetNode().nodeType&&(this.loadAnimation(this.type),this.mountAnimationStateListener(),this.bounceBackState(this.duration))},t.prototype.ngOnChanges=function(t){t&&(t.type&&!t.type.isFirstChange()&&this.loadAnimation(t.type.currentValue),t.state&&!t.state.isFirstChange()&&(this.$animationState.next(!this.$animationState.getValue()),this.bounceBackState(this.duration)))},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id),this.removeAnimations(),this.$animationStateSub&&this.$animationStateSub.unsubscribe()},t.prototype.getDefaultDuration=function(t){switch(t){case"height":case"max-height":return 500;default:return 250}},t.prototype.enableAbsoluteBox=function(){this.getTargetElement().classList.add("position-absolute")},t.prototype.bounceBackState=function(t){var e=this;null!=this.forceState&&this.$animationState.value!==this.forceState&&setTimeout((function(){e.$animationState.next(e.forceState)}),t)},t.prototype.hasContent=function(){return!!this.transitionContent&&!!this.transitionContent.nativeElement.childElementCount},t.prototype.getTargetElement=function(){return this.bindToContent?this.getContentElement():this.getContentContainerElement()},t.prototype.getContentContainerElement=function(){return this.hasContent()?this.transitionContent.nativeElement:null},t.prototype.getContentElement=function(){return"rbc-tab-scroll-button"===this.transitionContent.nativeElement.firstElementChild.classList[0]?this.hasContent?this.transitionContent.nativeElement.firstElementChild:null:this.hasContent?this.transitionContent.nativeElement.firstElementChild.firstChild:null},t.prototype.getTargetNode=function(){return this.bindToContent?this.getContentNode():this.getContentContainerNode()},t.prototype.getContentContainerNode=function(){return this.hasContent()?this.transitionContent.nativeElement:null},t.prototype.getContentNode=function(){return"rbc-tab-scroll-button"===this.transitionContent.nativeElement.firstElementChild.classList[0]?this.hasContent?this.transitionContent.nativeElement.firstElementChild:null:this.hasContent()?this.transitionContent.nativeElement.firstChild.firstChild:null},t.prototype.setTrueHeight=function(t){t&&(this.trueHeight=t.offsetHeight)},t.prototype.setTrueMaxHeight=function(t){t&&(this.trueMaxHeight=t.style.maxHeight)},t.prototype.toggleTargetVisibility=function(t){this.$animationState.getValue()?this.showTarget(t):this.hideTarget(t)},t.prototype.hideTarget=function(t){this.hidden=!0,this.softHide?t.classList.add("hidden-soft"):t.classList.add("hidden"),t.hidden=!0},t.prototype.showTarget=function(t){this.hidden=!1,t.hidden=!1,this.softHide?t.classList.remove("hidden-soft"):t.classList.remove("hidden")},t.prototype.mountAnimationStateListener=function(){var t=this;this.$animationStateSub=this.$animationState.pipe(r.skip(1)).subscribe((function(e){t.resetAnimations(),e?t.animateEntry():t.animateExit()}))},t.prototype.isHeight=function(){return"opacity-height"===this.type||"height"===this.type},t.prototype.isMaxHeight=function(){return"max-height"===this.type||"opacity-max-height"===this.type},t.prototype.loadAnimation=function(t){var e=this.getTargetNode();e&&H[t]&&H[t].length?(this.resetAnimations(),this.trueMaxHeight||(this.trueMaxHeight=this.trueHeight.toString()+"px"),this.entryAnimRef=H[t][0]({targets:e,duration:this.duration,onBegin:this.entryAnimationOnBegin.bind(this),onComplete:this.entryAnimationOnComplete.bind(this),height:this.isHeight()?C(this.trueHeight):this.isMaxHeight()?this.trueMaxHeight:null}),this.exitAnimRef=H[t][1]({targets:e,duration:this.duration,onBegin:this.exitAnimationOnBegin.bind(this),onComplete:this.exitAnimationOnComplete.bind(this),height:this.isHeight()?C(this.trueHeight):this.isMaxHeight()?this.trueMaxHeight:null})):(this.entryAnimRef=null,this.exitAnimRef=null)},t.prototype.removeAnimations=function(t){t?u.default.remove(t):u.default.remove(this.getTargetNode())},t.prototype.resetAnimations=function(t){t?t.setAttribute("style",null):this.hasContent()&&this.getTargetElement().setAttribute("style",null)},t.prototype.entryAnimationOnBegin=function(t){if(t.animatables&&t.animatables[0]){var e=t.animatables[0].target;this.showTarget(e),(this.isHeight()||this.isMaxHeight())&&e.classList.add("hide-overflow"),this.onTransition.emit({type:"enter",element:e})}},t.prototype.entryAnimationOnComplete=function(t){if(t.animatables&&t.animatables[0]){var e=t.animatables[0].target;(this.isHeight()||this.isMaxHeight())&&e.classList.remove("hide-overflow"),this.onTransition.emit({type:"enter-complete",element:e})}},t.prototype.exitAnimationOnBegin=function(t){if(t.animatables&&t.animatables[0]){var e=t.animatables[0].target;(this.isHeight()||this.isMaxHeight())&&e.classList.add("hide-overflow"),this.onTransition.emit({type:"leave",element:e})}},t.prototype.exitAnimationOnComplete=function(t){if(t.animatables&&t.animatables[0]){var e=t.animatables[0].target;this.hideTarget(e),(this.isHeight()||this.isMaxHeight())&&(e.classList.remove("hide-overflow"),e.style.height="auto"),this.onTransition.emit({type:"leave-complete",element:e})}},t.prototype.animateEntry=function(){this.entryAnimRef&&this.entryAnimRef.play()},t.prototype.animateExit=function(){this.exitAnimRef&&this.exitAnimRef.play()},t}();j.decorators=[{type:e.Component,args:[{selector:"rbc-transition",template:'\n\t\t<div\n\t\t\t[id]="id"\n\t\t\tclass="transition-content"\n\t\t\t#transitionContent\n\t\t>\n\t\t\t<ng-content></ng-content>\n\t\t</div>\n\t',host:{class:"rbc-transition"},encapsulation:e.ViewEncapsulation.None,styles:[".rbc-transition .hidden-soft{pointer-events:none;position:absolute;visibility:hidden;z-index:-999}.rbc-transition .hide-overflow{overflow:hidden}.rbc-transition .position-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.rbc-transition .hidden{display:none}.opacity-enter-active,.opacity-leave-active{-webkit-transition:.25s;transition:.25s}.opacity-enter,.opacity-leave-to{opacity:0}.opacity-down-enter-active,.opacity-down-leave-active,.opacity-left-enter-active,.opacity-left-leave-active,.opacity-right-enter-active,.opacity-right-leave-active,.opacity-up-enter-active,.opacity-up-leave-active{-webkit-transition:.25s;pointer-events:none;transition:.25s}.opacity-down-enter,.opacity-down-leave-to,.opacity-left-enter,.opacity-left-leave-to,.opacity-right-enter,.opacity-right-leave-to,.opacity-up-enter,.opacity-up-leave-to{opacity:0}.opacity-up-enter,.opacity-up-leave-to{-webkit-transform:translateY(1.5rem);transform:translateY(1.5rem)}.opacity-down-enter,.opacity-down-leave-to{-webkit-transform:translateY(-1.5rem);transform:translateY(-1.5rem)}.opacity-left-enter,.opacity-left-leave-to{-webkit-transform:translateX(-1.5rem);transform:translateX(-1.5rem)}.opacity-right-enter,.opacity-right-leave-to{-webkit-transform:translateX(1.5rem);transform:translateX(1.5rem)}.opacity-height-enter-active,.opacity-height-leave-active{-webkit-transition:.4s ease-in-out;overflow:hidden;transition:.4s ease-in-out}.opacity-height-enter,.opacity-height-leave-to{height:0!important;opacity:0;padding-bottom:0;padding-top:0}.opacity-max-height-enter-active,.opacity-max-height-leave-active{-webkit-transition:.4s ease-in-out;overflow:hidden;transition:.4s ease-in-out}.opacity-max-height-enter,.opacity-max-height-leave-to{max-height:0!important;opacity:0;padding-bottom:0;padding-top:0}.height-enter-active,.height-leave-active{-webkit-transition:.4s ease-in-out;overflow:hidden;transition:.4s ease-in-out}.height-enter,.height-leave-to{height:0!important;padding-bottom:0;padding-top:0}.max-height-enter-active,.max-height-leave-active{-webkit-transition:.4s ease-in-out;overflow:hidden!important;transition:.4s ease-in-out}.max-height-enter,.max-height-leave-to{max-height:0!important;padding-bottom:0;padding-top:0}.transition-overlap>[class*=leave-active]{position:absolute;top:0;width:100%}.transition-overlap>[class*=enter-active]{-webkit-transition-delay:.1s;transition-delay:.1s}"]}]}],j.ctorParameters=function(){return[{type:h}]},j.propDecorators={id:[{type:e.Input}],type:[{type:e.Input}],group:[{type:e.Input}],state:[{type:e.Input}],duration:[{type:e.Input}],forceState:[{type:e.Input}],isAbsolute:[{type:e.Input}],bindToContent:[{type:e.Input}],softHide:[{type:e.Input}],onTransition:[{type:e.Output}],transitionContent:[{type:e.ViewChild,args:["transitionContent",{static:!0}]}]};var U=function(){function t(){this.displayNumber=0,this.number=0}return t.prototype.ngOnInit=function(){this.number=this.number&&"number"==typeof this.number?this.number:0,this.displayNumber=this.number?this.number:0},t.prototype.ngOnChanges=function(t){t.number&&this.scrollNumber()},t.prototype.scrollNumber=function(){clearInterval(this.interval),this.number!=this.displayNumber&&(this.interval=window.setInterval(function(){if(this.displayNumber!=this.number){var t=(this.number-this.displayNumber)/10;t=t>=0?Math.ceil(t):Math.floor(t),this.displayNumber=this.displayNumber+t}}.bind(this),15))},t}();U.decorators=[{type:e.Component,args:[{selector:"rbc-transition-number",template:'<span aria-live="assertive">{{ displayNumber }}</span>\n',encapsulation:e.ViewEncapsulation.None,styles:[""]}]}],U.ctorParameters=function(){return[]},U.propDecorators={number:[{type:e.Input}]};
/*! *****************************************************************************
    Copyright (c) Microsoft Corporation. All rights reserved.
    Licensed under the Apache License, Version 2.0 (the "License"); you may not use
    this file except in compliance with the License. You may obtain a copy of the
    License at http://www.apache.org/licenses/LICENSE-2.0

    THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
    WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
    MERCHANTABLITY OR NON-INFRINGEMENT.

    See the Apache Version 2.0 License for specific language governing permissions
    and limitations under the License.
    ***************************************************************************** */
var z=function(t,e){return(z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function G(t,e){function n(){this.constructor=t}z(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}function Y(t,e,n,i){return new(n||(n=Promise))((function(a,o){function r(t){try{l(i.next(t))}catch(t){o(t)}}function s(t){try{l(i.throw(t))}catch(t){o(t)}}function l(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(r,s)}l((i=i.apply(t,e||[])).next())}))}function W(t,e){var n,i,a,o,r={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=2&o[0]?i.return:o[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;switch(i=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(a=r.trys,(a=a.length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){r=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){r.label=o[1];break}if(6===o[0]&&r.label<a[1]){r.label=a[1],a=o;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(o);break}a[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(t){o=[6,t],i=0}finally{n=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function q(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function X(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,a,o=n.call(t),r=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)r.push(i.value)}catch(t){a={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return r}function J(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(X(arguments[e]));return t}var K=function(){function t(t){this.idService=t,this.nspace="rbc-transition-height",this.duration=500,this.state=!1,this.easing=v,this.trueHeight=0}return t.prototype.ngOnInit=function(){this.id=this.id?this.id:this.idService.generate(),this.duration="number"==typeof this.duration?this.duration:500,this.$animationState=new o.BehaviorSubject(this.state),this.mountAnimationStateListener()},t.prototype.ngAfterContentInit=function(){var t=this;this.transitionContent&&this.transitionContent.nativeElement&&this.getTrueHeight().then((function(e){t.trueHeight=e,t.transitionContent.nativeElement.classList.remove("hidden-helper"),t.toggleTargetVisibility(t.transitionContent.nativeElement)}))},t.prototype.toggleTargetVisibility=function(t){this.$animationState.getValue()?t.classList.remove("hidden"):t.classList.add("hidden")},t.prototype.getTrueHeight=function(){return Y(this,void 0,void 0,(function(){var t=this;return W(this,(function(e){switch(e.label){case 0:return this.transitionContent.nativeElement.classList.add("hidden-helper"),[4,o.of(null).pipe(r.delay(1),r.map((function(){return t.transitionContent.nativeElement.offsetHeight}))).toPromise()];case 1:return[2,e.sent()]}}))}))},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.ngOnChanges=function(t){t&&t.state&&!t.state.firstChange&&this.$animationState.next(!this.$animationState.getValue())},t.prototype.mountAnimationStateListener=function(){var t=this;this.$animationStateSub=this.$animationState.pipe(r.skip(1)).subscribe((function(e){e?t.entryAnimation():t.exitAnimation()}))},t.prototype.removeAnimation=function(t){t?u.default.remove(t):this.transitionContent&&this.transitionContent.nativeElement&&u.default.remove(this.transitionContent.nativeElement)},t.prototype.entryAnimation=function(){this.removeAnimation(this.transitionContent.nativeElement),this.transitionContent&&this.transitionContent.nativeElement&&u.default({targets:this.transitionContent.nativeElement,height:this.trueHeight+"px",easing:this.easing,duration:this.duration,round:100,begin:function(t){t.animatables&&t.animatables[0]&&(t.animatables[0].target.classList.remove("hidden"),t.animatables[0].target.classList.add("hide-overflow"))}})},t.prototype.exitAnimation=function(){this.transitionContent&&this.transitionContent.nativeElement&&(this.removeAnimation(this.transitionContent.nativeElement),u.default({targets:this.transitionContent.nativeElement,height:[this.trueHeight+"px",0],easing:this.easing,duration:this.duration,round:100,begin:function(t){t.animatables&&t.animatables[0]&&t.animatables[0].target.classList.add("hide-overflow")},complete:function(t){t.animatables&&t.animatables[0]&&(t.animatables[0].target.classList.add("hidden"),t.animatables[0].target.classList.remove("hide-overflow"),t.animatables[0].target.style.height="auto")}}))},t}();K.decorators=[{type:e.Component,args:[{selector:"rbc-transition-height",template:'<div [id]="id" [ngClass]="[nspace, \'transition-content\']" #transitionContent><ng-content></ng-content></div>\n',encapsulation:e.ViewEncapsulation.None,styles:[".rbc-transition-height.hidden{display:none}.rbc-transition-height.hidden-helper{display:block;position:absolute;visibility:hidden;z-index:-1000}.rbc-transition-height.hide-overflow{overflow:hidden}"]}]}],K.ctorParameters=function(){return[{type:h}]},K.propDecorators={id:[{type:e.Input}],duration:[{type:e.Input}],state:[{type:e.Input}],transitionContent:[{type:e.ViewChild,args:["transitionContent",{static:!0}]}]};var Z=function(){};Z.decorators=[{type:e.NgModule,args:[{declarations:[j,U,K],imports:[n.CommonModule],exports:[j,U,K]}]}];var Q=function(){function t(t){this.idService=t,this.overlay=!1,this.fullPage=!1,this.loadingLabel="Content is loading",this.size="medium",this.id=t.generate()}return t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.classGen=function(){var t={};return t["rbc-spinner-"+this.size]=this.size,this.positionY&&(t["rbc-spinner-absolute"]=!0,t["rbc-spinner-"+this.positionY]=this.positionY),t},t}();Q.decorators=[{type:e.Component,args:[{selector:"rbc-spinner",template:'\n\t\t<rbc-transition type="opacity" [state]="true" [forceState]="true">\n\t\t\t<div\n\t\t\t\t[id]="id"\n\t\t\t\t[attr.aria-label]="loadingLabel"\n\t\t\t\t[attr.aria-busy]="true"\n\t\t\t\trole="progressbar"\n\t\t\t\tclass="rbc-spinner"\n\t\t\t\t[ngClass]="{ \'rbc-spinner-overlay\': overlay, \'rbc-spinner-fixed\': fullPage}"\n\t\t\t>\n\t\t\t\t<div\n\t\t\t\t\tclass="rbc-spinner-wrap"\n\t\t\t\t\t[ngClass]="classGen()"\n\t\t\t\t>\n\t\t\t\t\t<svg\n\t\t\t\t\t\t[attr.aria-label]="loadingLabel"\n\t\t\t\t\t\tclass="rbc-spinner-icon"\n\t\t\t\t\t\tviewBox="0 0 50 50"\n\t\t\t\t\t>\n\t\t\t\t\t\t<circle\n\t\t\t\t\t\t\tclass="rbc-spinner-circle"\n\t\t\t\t\t\t\tcx="25"\n\t\t\t\t\t\t\tcy="25"\n\t\t\t\t\t\t\tr="24"\n\t\t\t\t\t\t></circle>\n\t\t\t\t\t\t<circle\n\t\t\t\t\t\t\tclass="rbc-spinner-circle rbc-spinner-circle-loader"\n\t\t\t\t\t\t\tcx="25"\n\t\t\t\t\t\t\tcy="25"\n\t\t\t\t\t\t\tr="24"\n\t\t\t\t\t\t></circle>\n\t\t\t\t\t</svg>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</rbc-transition>\n\t'}]}],Q.ctorParameters=function(){return[{type:h}]},Q.propDecorators={id:[{type:e.Input}],overlay:[{type:e.Input}],fullPage:[{type:e.Input}],loadingLabel:[{type:e.Input}],size:[{type:e.Input}],positionY:[{type:e.Input}]};var tt=function(){};tt.decorators=[{type:e.NgModule,args:[{declarations:[Q],imports:[n.CommonModule,a.FormsModule,Z],exports:[Q]}]}];var et=function(){function t(t){this.idService=t,this.isLoading=!1,this.type="",this.iconPositionX="left",this.disabled=!1,this.size="medium",this.fullWidth=!1,this.fullWidthMobile=!1,this.icon="",this.iconWeight="light",this.linkTarget="",this.loadingType="full",this.buttonClick=new e.EventEmitter,this.buttonFocus=new e.EventEmitter,this.buttonMouseOver=new e.EventEmitter,this.buttonMouseOut=new e.EventEmitter,this.hostWidth=!1,this.hostWidthMobile=!1,this.defaultContentPresent=!0,this.id=t.generate()}return Object.defineProperty(t.prototype,"loading",{get:function(){return this.isLoading},set:function(t){this.isLoading=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classGen",{get:function(){var t={},e=this.color?this.color:this.type&&"submit"!==this.type&&"reset"!==this.type&&"none"!==this.type&&"button"!==this.type?this.type:"primary";return t["rbc-button"]=!0,t["rbc-button-"+this.size]=this.size,t["rbc-button-"+e]=e&&!this.outline,t["rbc-button-"+e+"-outline"]=this.outline,t["rbc-button-chev-"+this.chevron]="up"===this.chevron||"down"===this.chevron,t["rbc-button-chev"]="right"===this.chevron,t["rbc-button-block"]=this.fullWidth,t["rbc-button-block-xs"]=this.fullWidthMobile,t.loading=this.isLoading,t["rbc-button-loading-full"]=this.isLoading&&"full"===this.loadingType,t["rbc-button-loading-inline"]=this.isLoading&&"inline"===this.loadingType,t["rbc-button-icon"]=(this.icon||this.chevron)&&!this.defaultContentPresent,t["rbc-button-"+this.type]=this.type&&"submit"!==this.type&&"reset"!==this.type,t},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.ngOnInit=function(){this.hostWidth=this.fullWidth,this.hostWidthMobile=this.fullWidthMobile,this.isLoading=this.loading},t.prototype.ngAfterViewInit=function(){this.$defaultContent&&(this.$defaultContent.nativeElement.childNodes.length>0?this.defaultContentPresent=!0:this.defaultContentPresent=!1)},t.prototype.click=function(t){this.buttonClick.emit(t)},t}();et.decorators=[{type:e.Component,args:[{selector:"rbc-button",template:'\n\t\t<ng-container\n\t\t\t*ngIf="link; else buttonLink">\n\t\t\t<a\n\t\t\t\t[id]="id"\n\t\t\t\t[attr.href]="link"\n\t\t\t\t[attr.target]="linkTarget"\n\t\t\t\t[attr.disabled]= "disabled ? disabled : null"\n\t\t\t\t[attr.aria-disabled]="disabled"\n\t\t\t\t[ngClass]="classGen"\n\t\t\t\t(click)="!disabled ? buttonClick.emit($event): $event.preventDefault()"\n\t\t\t\t(mouseover)="buttonMouseOver.emit($event)"\n\t\t\t\t(mouseout)="buttonMouseOut.emit($event)"\n\t\t\t\t(focus)="buttonFocus.emit($event)">\n\t\t\t\t<ng-container *ngTemplateOutlet="buttonContents"></ng-container>\n\t\t\t</a>\n\t\t</ng-container>\n\n\t\t<ng-template #buttonLink>\n\t\t\t<ng-container\n\t\t\t\t*ngIf="routerLink; else button">\n\t\t\t\t<button\n\t\t\t\t\t[id]= "id"\n\t\t\t\t\t[ngClass]= "classGen"\n\t\t\t\t\t[disabled]= "disabled ? disabled : null"\n\t\t\t\t\t[attr.aria-disabled]="disabled"\n\t\t\t\t\t[attr.type]= "type == \'submit\' || type == \'reset\' || type == \'button\' ? type : null"\n\t\t\t\t\t[routerLink]="[\'/\'+ routerLink] || [\'\']"\n\t\t\t\t\trouterLinkActive="active"\n\t\t\t\t\t(click)="!disabled ? buttonClick.emit($event): $event.preventDefault()"\n\t\t\t\t\t(mouseover)= "buttonMouseOver.emit($event)"\n\t\t\t\t\t(mouseout)= "buttonMouseOut.emit($event)"\n\t\t\t\t\t(focus)="buttonFocus.emit($event)"\n\t\t\t\t\t[attr.aria-label]="ariaLabel">\n\t\t\t\t\t<ng-container *ngTemplateOutlet="buttonContents"></ng-container>\n\t\t\t\t</button>\n\t\t\t</ng-container>\n\n\t\t\t<ng-template #button>\n\t\t\t<button\n\t\t\t\t[id]= "id"\n\t\t\t\t[ngClass]= "classGen"\n\t\t\t\t[attr.aria-disabled]="disabled"\n\t\t\t\t[disabled]= "disabled"\n\t\t\t\t[attr.type]= "type == \'submit\' || type == \'reset\' || type == \'button\' ? type : null"\n\t\t\t\t(click)="!disabled ? buttonClick.emit($event): $event.preventDefault()"\n\t\t\t\t(mouseover)= "buttonMouseOver.emit($event)"\n\t\t\t\t(mouseout)= "buttonMouseOut.emit($event)"\n\t\t\t\t(focus)="buttonFocus.emit($event)"\n\t\t\t\t[attr.aria-label]="ariaLabel">\n\t\t\t\t<ng-container *ngTemplateOutlet="buttonContents"></ng-container>\n\t\t\t</button>\n\t\t\t</ng-template>\n\t\t</ng-template>\n\n\t\t<ng-template #buttonContents>\n\t\t\t<ng-container *ngIf="!loading || loadingType === \'inline\'">\n\t\t\t\t<rbc-icon\n\t\t\t\t\t[id]="id+\'Icon\'"\n\t\t\t\t\t[ngClass]="{ \'rbc-button-chev\': chevron, \'rbc-button-icon-right\': chevron || iconPositionX === \'right\' }"\n\t\t\t\t\t*ngIf="icon"\n\t\t\t\t\t[icon]="icon"\n\t\t\t\t\t[type]="iconWeight"\n\t\t\t\t\t[attr.aria-hidden]="true"></rbc-icon>\n\t\t\t\t<slot #default><ng-content></ng-content></slot>\n\n\t\t\t</ng-container>\n\t\t\t<ng-container *ngIf="loading">\n\t\t\t\t<rbc-spinner></rbc-spinner>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\n\t'}]}],et.ctorParameters=function(){return[{type:h}]},et.propDecorators={id:[{type:e.Input}],ariaLabel:[{type:e.Input}],type:[{type:e.Input}],color:[{type:e.Input}],outline:[{type:e.Input}],chevron:[{type:e.Input}],iconPositionX:[{type:e.Input}],disabled:[{type:e.Input}],size:[{type:e.Input}],fullWidth:[{type:e.Input}],fullWidthMobile:[{type:e.Input}],icon:[{type:e.Input}],iconWeight:[{type:e.Input}],link:[{type:e.Input}],linkTarget:[{type:e.Input}],routerLink:[{type:e.Input}],loading:[{type:e.Input}],loadingType:[{type:e.Input}],buttonClick:[{type:e.Output}],buttonFocus:[{type:e.Output}],buttonMouseOver:[{type:e.Output}],buttonMouseOut:[{type:e.Output}],ref:[{type:e.ViewChild,args:["buttonContents",{static:!1}]}],hostWidth:[{type:e.HostBinding,args:["class.rbc-button-block"]}],hostWidthMobile:[{type:e.HostBinding,args:["class.rbc-button-block-xs"]}],$defaultContent:[{type:e.ViewChild,args:["default",{static:!1}]}]};var nt=function(){};nt.decorators=[{type:e.NgModule,args:[{declarations:[et],imports:[f,n.CommonModule,Z,tt,l.RouterModule],exports:[et]}]}];var it=function(){function t(t){this.idService=t,this.defaultError="Invalid",this.focused=!1,this.statusMessage=null,this.disabled=!1,this.fileChooseLabel="Choose a file",this.fileNoneChosenLabel="No file chosen",this.size="medium",this.multiple=!1,this.showFileList=!1,this.removeLabel="Remove",this.retryLabel="Retry",this.filesSelectedLabel="selected",this.uploadFailLabel="Upload Failed",this.required=!1,this.onInput=new e.EventEmitter,this.fileRemoved=new e.EventEmitter,this.fileRetry=new e.EventEmitter,this.files=null,this.onChange=function(t){},this.onTouched=function(){},this.id=this.id?this.id:this.idService.generate()}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t,this.files=this._value,t||(this.uploaderInput.nativeElement.value=null)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fileList",{get:function(){return this.files&&this.multiple?this.files.map((function(t){var e=t.file,n=t.isError,i=t.isUploading,a=t.progress;return{name:e.name,size:Math.round(parseInt(e.size)/1e3),isError:n,isUploading:i,progress:a}})):null},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.ngOnInit=function(){this.fileDisplayText()},Object.defineProperty(t.prototype,"inputValue",{get:function(){return this.value},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t,this.onChange(this.inputValue)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.setInputValue=function(t){var e=t.target;this.files=e.files&&e.files.length?this.multiple?J(e.files).map((function(t){return{file:t,isUploading:!1,isError:!1,progress:0}})):e.files[0]:null,this.writeValue(this.files),this.onInput.emit(this.files)},t.prototype.removeFile=function(t){this.fileRemoved.emit({file:this.files[t],index:t}),this.files.splice(t,1),this.writeValue(this.files)},t.prototype.retryFile=function(t){this.fileRetry.emit({file:this.files[t],index:t}),this.files[t].isUploading=!0,this.files[t].isError=!1,this.files[t].progress=0},t.prototype.fileDisplayText=function(){return this.files&&(!this.multiple||this.multiple&&this.files.length)?this.multiple?this.files.length>1?this.files.length+" "+this.filesSelectedLabel:this.files[0].name:this.files.name:this.fileNoneChosenLabel},t.prototype.describedbyGen=function(){var t;if(this.status||this.helpText||this.ariaDescribedBy){var e=((t={})[this.id+"Status"]=this.status,t[this.id+"HelpText"]=this.helpText,t[this.ariaDescribedBy]=this.ariaDescribedBy,t);return Object.keys(e).filter((function(t){return e[t]})).join(" ")}return null},t}();it.decorators=[{type:e.Component,args:[{selector:"rbc-uploader",template:'<div class="rbc-uploader">\n\t\x3c!-- Label text --\x3e\n\t<rbc-label\n\t\t*ngIf="label"\n\t\t[id]="id + \'Label\'"\n\t\t[for]="id"\n\t\t[text]="label"\n\t\t[srOnly]="labelSrOnly">\n\t</rbc-label>\n\n\t\x3c!-- Help text --\x3e\n\t<rbc-help-text\n\t\t*ngIf="helpText"\n\t\t[id]="id + \'HelpText\'"\n\t\t[text]="helpText"\n\t\t[srOnly]="helpTextSrOnly"\n\t></rbc-help-text>\n\n\t<div\n\t\t[ngClass]="{ \'active\': files }"\n\t\tclass="rbc-uploader-wrap">\n\n\t\t<input\n\t\t\t#uploaderInput\n\t\t\t[id]="id"\n\t\t\t[attr.accept]="accept"\n\t\t\t[disabled]="disabled"\n\t\t\tclass="rbc-uploader-control"\n\t\t\ttype="file"\n\t\t\t[multiple]="multiple"\n\t\t\t(change)="setInputValue($event)"\n\t\t\t[attr.aria-required]="required ? required : null"\n\t\t\t[attr.aria-label]="ariaLabel"\n\t\t\t[attr.aria-describedby]="describedbyGen()"\n\t\t\t[attr.aria-labelledby]="ariaLabelledBy"\n\t\t>\n\t\t<label\n\t\t\t[attr.for]="id"\n\t\t\t[ngClass]="{ \'disabled\':disabled }"\n\t\t\tclass="rbc-uploader-button rbc-button rbc-button-primary"\n\t\t>\n\t\t\t{{ fileChooseLabel }}\n\t\t</label>\n\t\t\t{{ fileDisplayText() }}\n\t</div>\n\n\t<ng-container select="[status]">\n\t\t<rbc-status\n\t\t\t*ngIf="status"\n\t\t\t[id]="id + \'Status\'"\n\t\t\t[text]="status"\n\t\t\t[type]="statusType">\n\t\t\t<ng-content select="[status-content]"></ng-content>\n\t\t</rbc-status>\n\t</ng-container>\n\t<ul\n\t\t*ngIf="multiple && showFileList && fileList && fileList.length"\n\t\tclass="rbc-uploader-items list-divider"\n\t>\n\t\t<li\n\t\t\t*ngFor="let item of fileList; index as index"\n\t\t\t[attr.key]="item.name + index"\n\t\t\t[ngClass]="{ \'inactive\': item.isUploading }"\n\t\t\tclass="rbc-uploader-item list-divider-item"\n\t\t>\n\t\t\t<div class="rbc-uploader-item-left">\n\t\t\t\t<rbc-icon\n\t\t\t\t\t\tclass="rbc-uploader-item-icon"\n\t\t\t\t\t\t[ngClass]="{ \'c-alert-red\': item.isError }"\n\t\t\t\t\t\t[icon]="item.isError ? \'file-exclamation\' : \'file\'"\n\t\t\t\t></rbc-icon>\n\n\t\t\t\t<span class="rbc-uploader-item-text">\n\t\t\t\t\t{{ item.name }}\n\t\t\t\t</span>\n\t\t\t\t<span class="rbc-uploader-item-small-text">\n\t\t\t\t\t<ng-container *ngIf="item.isError; else elseBlock">\n\t\t\t\t\t\t({{ uploadFailLabel }})\n\t\t\t\t\t</ng-container>\n\t\t\t\t\t<ng-template #elseBlock>\n\t\t\t\t\t\t({{ item.size }}kb)\n\t\t\t\t\t</ng-template>\n\t\t\t\t</span>\n\t\t\t</div>\n\n\t\t\t<div class="rbc-uploader-item-right">\n\t\t\t\t<rbc-progressbar\n\t\t\t\t\t*ngIf="item.isUploading"\n\t\t\t\t\t[progress]="item.progress"\n\t\t\t\t\tclass="rbc-uploader-item-progress"\n\t\t\t\t\tsize="small">\n\t\t\t\t</rbc-progressbar>\n\t\t\t\t<button\n\t\t\t\t\t*ngIf="item.isError"\n\t\t\t\t\tclass="link-button"\n\t\t\t\t\t(click)="retryFile(index)"\n\t\t\t\t>\n\t\t\t\t\t{{ retryLabel }}\n\t\t\t\t</button>\n\n\t\t\t\t<button\n\t\t\t\t\tclass="link-button"\n\t\t\t\t\t(click)="removeFile(index)"\n\t\t\t\t>\n\t\t\t\t\t{{ removeLabel }}\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t</li>\n\t</ul>\n</div>\n',providers:[{provide:a.NG_VALUE_ACCESSOR,useExisting:e.forwardRef((function(){return it})),multi:!0}]}]}],it.ctorParameters=function(){return[{type:h}]},it.propDecorators={id:[{type:e.Input}],accept:[{type:e.Input}],disabled:[{type:e.Input}],fileChooseLabel:[{type:e.Input}],fileNoneChosenLabel:[{type:e.Input}],helpText:[{type:e.Input}],helpTextSrOnly:[{type:e.Input}],label:[{type:e.Input}],labelSrOnly:[{type:e.Input}],size:[{type:e.Input}],status:[{type:e.Input}],statusType:[{type:e.Input}],multiple:[{type:e.Input}],showFileList:[{type:e.Input}],removeLabel:[{type:e.Input}],retryLabel:[{type:e.Input}],filesSelectedLabel:[{type:e.Input}],uploadFailLabel:[{type:e.Input}],required:[{type:e.Input}],ariaLabel:[{type:e.Input}],ariaDescribedBy:[{type:e.Input}],ariaLabelledBy:[{type:e.Input}],value:[{type:e.Input}],onInput:[{type:e.Output}],fileRemoved:[{type:e.Output}],fileRetry:[{type:e.Output}],uploaderInput:[{type:e.ViewChild,args:["uploaderInput",{static:!0}]}]};var at=function(t){this.idService=t,this.id=t.generate()};at.decorators=[{type:e.Component,args:[{selector:"rbc-label",template:'\n\t\t<label\n\t\t\t*ngIf="text"\n\t\t\t[id]="id"\n\t\t\t[for]= "for ? for : id"\n\t\t\tclass= "rbc-label"\n\t\t\t[ngClass]="{ \'sr-only\': srOnly }"\n\t\t>\n\t\t\t{{ text }}<span *ngIf="required" class="rbc-label-asterisk">*</span>\n\t\t</label>\n\t'}]}],at.ctorParameters=function(){return[{type:h}]},at.propDecorators={srOnly:[{type:e.Input}],text:[{type:e.Input}],id:[{type:e.Input}],for:[{type:e.Input}],required:[{type:e.Input}]};var ot=function(){};ot.decorators=[{type:e.NgModule,args:[{declarations:[at],imports:[n.CommonModule],exports:[at]}]}];var rt=function(){function t(t){this.idService=t,this.id=t.generate()}return t.prototype.classGen=function(){var t={};return t["sr-only"]=this.srOnly,t[this.wrapperClass]=this.wrapperClass,t},t}();rt.decorators=[{type:e.Component,args:[{selector:"rbc-help-text",template:'\n\t\t<span\n\t\t\t*ngIf="text"\n\t\t\t[id]="id"\n\t\t\tclass="rbc-help-text"\n\t\t\t[ngClass]="classGen()"\n\t\t>\n\t\t\t{{ text }}\n\t\t</span>\n\t'}]}],rt.ctorParameters=function(){return[{type:h}]},rt.propDecorators={srOnly:[{type:e.Input}],text:[{type:e.Input}],id:[{type:e.Input}],wrapperClass:[{type:e.Input}]};var st=function(){};st.decorators=[{type:e.NgModule,args:[{declarations:[rt],imports:[n.CommonModule],exports:[rt]}]}];var lt=function(){function t(t){this.idService=t,this.type="info",this.id=t.generate()}return t.prototype.classGen=function(){var t={};return t["sr-only"]=this.srOnly,t["rbc-status-"+this.typeCheck]=!0,t},Object.defineProperty(t.prototype,"typeCheck",{get:function(){return"success"===this.type||"warning"===this.type||"danger"===this.type||"info"===this.type?this.type:"info"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconGen",{get:function(){return{danger:"exclamation-square",success:"check-circle",warning:"exclamation-triangle",info:"info-circle"}[this.type]},enumerable:!0,configurable:!0}),t}();lt.decorators=[{type:e.Component,args:[{selector:"rbc-status",template:'\n\t\t<span\n\t\t\t*ngIf="text"\n\t\t\t[id]="id"\n\t\t\tclass="rbc-status"\n\t\t\taria-live="assertive"\n\t\t\t[ngClass]="classGen()"\n\t\t\t[attr.aria-controls]= "ariaControls ? ariaControls : id"\n\t\t>\n\t\t\t<rbc-icon\n\t\t\t\t[icon]= "iconGen"\n\t\t\t\tclass="rbc-status-icon"\n\t\t\t\t[attr.aria-hidden]="true"\n\t\t\t\ttype="solid"\n\t\t\t></rbc-icon>\n\t\t\t{{ text }}\n\t\t</span>\n\t'}]}],lt.ctorParameters=function(){return[{type:h}]},lt.propDecorators={srOnly:[{type:e.Input}],text:[{type:e.Input}],id:[{type:e.Input}],type:[{type:e.Input}],ariaControls:[{type:e.Input}]};var ct=function(){};ct.decorators=[{type:e.NgModule,args:[{declarations:[lt],imports:[n.CommonModule,f],exports:[lt]}]}];var pt=function(){};pt.decorators=[{type:e.NgModule,args:[{declarations:[it],imports:[n.CommonModule,f,nt,a.FormsModule,ot,st,ct,b],exports:[it]}]}];var dt=function(){function t(t){this.element=t,this.onTransition=new e.EventEmitter,this.isShown=!0}return Object.defineProperty(t.prototype,"grow",{get:function(){return{params:{startHeight:this.startHeight}}},enumerable:!0,configurable:!0}),t.prototype.setStartHeight=function(){this.startHeight=this.element.nativeElement.offsetHeight},t.prototype.ngOnChanges=function(){this.setStartHeight()},t.prototype.animationDone=function(t){},t.prototype.animationStart=function(t){this.onTransition.emit({type:"enter",element:t.element.lastElementChild})},t}();dt.decorators=[{type:e.Component,args:[{selector:"rbc-transition-new",template:'\n\t\t<ng-container *ngIf="state">\n\t\t<div *ngIf="name === \'opacity\'"\n\t\t[@opacity]\n\t\t(@opacity.done)="animationDone($event)"\n\t\t(@opacity.start)="animationStart($event)">\n\t\t\t<ng-container *ngTemplateOutlet="bodyTmp"></ng-container>\n\t\t</div>\n\n\t\t<div *ngIf="name === \'height\'" [@height]="{value:state}">\n\t\t\t<ng-container *ngTemplateOutlet="bodyTmp"></ng-container>\n\t\t</div>\n\n\t\t<div *ngIf="name === \'opacity-height\'"\n\t\t[@opacity-height]="{value:state}"\n\t\t(@opacity-height.done)="animationDone($event)">\n\t\t\t<ng-container *ngTemplateOutlet="bodyTmp"></ng-container>\n\t\t</div>\n\n\t\t<div *ngIf="name === \'opacity-up\'" [@opacity-up]="{value:state}">\n\t\t\t<ng-container *ngTemplateOutlet="bodyTmp"></ng-container>\n\t\t</div>\n\n\t\t<div *ngIf="name === \'opacity-down\'" [@opacity-down]="{value:state}">\n\t\t\t<ng-container *ngTemplateOutlet="bodyTmp"></ng-container>\n\t\t</div>\n\n\t\t<div *ngIf="name === \'opacity-left\'" [@opacity-left]="{value:state}">\n\t\t\t<ng-container *ngTemplateOutlet="bodyTmp"></ng-container>\n\t\t</div>\n\n\t\t<div *ngIf="name === \'opacity-right\'" [@opacity-right]="{value:state}">\n\t\t\t<ng-container *ngTemplateOutlet="bodyTmp"></ng-container>\n\t\t</div>\n\n\t\t<div *ngIf="name === \'opacity-max-height\'" [@opacity-max-height]="{value:state}">\n\t\t\t<ng-container *ngTemplateOutlet="bodyTmp"></ng-container>\n\t\t</div>\n\n\t\t<div *ngIf="name === \'max-height\'" [@max-height]="{value:state}"\n\t\t(@max-height.done)="animationDone($event)">\n\t\t\t<ng-container *ngTemplateOutlet="bodyTmp"></ng-container>\n\t\t</div>\n\t\t</ng-container>\n\n\t<ng-template #bodyTmp>\n\t\t<ng-content></ng-content>\n\t</ng-template>\n\n\t',encapsulation:e.ViewEncapsulation.None,animations:[c.trigger("opacity",[c.transition(":enter",[c.style({opacity:0}),c.animate("250ms ease-in",c.style({opacity:1}))]),c.transition(":leave",[c.animate("250ms ease-out",c.style({opacity:0}))])]),c.trigger("opacity-up",[c.transition(":enter",[c.style({opacity:0,transform:"translateY(1.5rem)"}),c.animate("0.2s",c.style({opacity:1,transform:"translateY(0)"}))]),c.transition(":leave",[c.animate("0.2s",c.style({opacity:0,transform:"translateY(1.5rem)"}))])]),c.trigger("opacity-down",[c.transition(":enter",[c.style({opacity:0,transform:"translateY(-1.5rem)"}),c.animate("0.2s",c.style({opacity:1,transform:"translateY(0)"}))]),c.transition(":leave",[c.animate("0.2s",c.style({opacity:0,transform:"translateY(-1.5rem)"}))])]),c.trigger("opacity-left",[c.transition(":enter",[c.style({opacity:0,transform:"translateX(-1.5rem)"}),c.animate("0.2s",c.style({opacity:1,transform:"translateX(0)"}))]),c.transition(":leave",[c.animate("0.2s",c.style({opacity:0,transform:"translateX(-1.5rem)"}))])]),c.trigger("opacity-right",[c.transition(":enter",[c.style({opacity:0,transform:"translateX(1.5rem)"}),c.animate("0.2s",c.style({opacity:1,transform:"translateX(0)"}))]),c.transition(":leave",[c.animate("0.2s",c.style({opacity:0,transform:"translateX(1.5rem)"}))])]),c.trigger("opacity-height",[c.transition(":enter",[c.style({opacity:0,height:"0px",overflow:"hidden"}),c.animate("0.4s ease-in-out",c.style({opacity:1,overflow:"hidden",height:"*"}))]),c.transition(":leave",[c.style({opacity:1,height:"*",overflow:"hidden"}),c.animate("0.4s ease-out",c.style({opacity:0,overflow:"hidden",height:"0px"}))])]),c.trigger("opacity-max-height",[c.transition(":enter",[c.style({opacity:0,maxHeight:"0px",overflow:"hidden"}),c.animate("0.4s ease-in-out",c.style({opacity:1,overflow:"hidden",maxHeight:"*"}))]),c.transition(":leave",[c.style({opacity:1,maxHeight:"*",overflow:"hidden"}),c.animate("0.4s ease-out",c.style({opacity:0,overflow:"hidden",maxHeight:"0px"}))])]),c.trigger("height",[c.transition(":enter",[c.style({height:"0px",overflow:"hidden"}),c.animate("0.4s ease-in-out",c.style({overflow:"hidden",height:"*"}))]),c.transition(":leave",[c.style({height:"*",overflow:"hidden"}),c.animate("0.4s ease-out",c.style({overflow:"hidden",height:"0px"}))])]),c.trigger("max-height",[c.transition(":enter",[c.style({height:"0px",overflow:"auto"}),c.animate("0.4s ease-in-out",c.style({overflow:"auto",height:"*"}))]),c.transition(":leave",[c.style({height:"*",overflow:"auto"}),c.animate("0.4s ease-out",c.style({overflow:"auto",height:"0px"}))])])],changeDetection:e.ChangeDetectionStrategy.OnPush}]}],dt.ctorParameters=function(){return[{type:e.ElementRef}]},dt.propDecorators={currentState:[{type:e.Input}],name:[{type:e.Input}],mode:[{type:e.Input}],appear:[{type:e.Input}],group:[{type:e.Input}],tag:[{type:e.Input}],state:[{type:e.Input}],onTransition:[{type:e.Output}],grow:[{type:e.HostBinding,args:["@height"]}]};var ut=function(){};ut.decorators=[{type:e.NgModule,args:[{declarations:[dt],imports:[n.CommonModule],exports:[dt]}]}];var ht=function(){function t(t){this.idService=t,this.avatarAlign="center",this.avatarSize="small",this.circle=!0,this.iconSize="normal-size",this.iconWeight="regular",this.textSize="small",this.defaultContentPresent=!0,this.headerContentPresent=!0,this.id=t.generate()}return t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.ngAfterViewInit=function(){var t=this;setTimeout((function(){t.$defaultContent.nativeElement.childElementCount>0&&(t.defaultContentPresent=!0)}),10)},Object.defineProperty(t.prototype,"ClassGen",{get:function(){var t,e=this.avatarTextColor?this.avatarTextColor:this.avatarColor?"white":null;return(t={"rbc-caption-avatar-circle":this.circle,"b-transparent":!this.circle})["rbc-caption-avatar-"+this.avatarSize]="small"===this.avatarSize||"large"===this.avatarSize||"xlarge"===this.avatarSize||"xxlarge"===this.avatarSize,t["b-"+this.avatarColor]=this.avatarColor,t["c-"+e]=e,t},enumerable:!0,configurable:!0}),t.prototype.divClassGen=function(){var t={};return t["rbc-caption-full"]=this.title||this.text||this.linkLabel||this.defaultContentPresent,t["rbc-caption-align-top"]="top"===this.avatarAlign,t[this.avatarClass]=this.avatarClass,t},t}();ht.decorators=[{type:e.Component,args:[{selector:"rbc-caption",template:'\n\t\t<div\n\t\t\t[id]="id"\n\t\t\t[ngClass]="divClassGen()"\n\t\t\tclass="rbc-caption">\n\n\t\t\t<ng-container *ngIf="link; else spanContent">\n\t\t\t\t<a\n\t\t\t\t\t*ngIf="image || icon || avatarText"\n\t\t\t\t\t[id]="id+\'ImageAvatar\'"\n\t\t\t\t\t[attr.aria-label]="title + \' link\'"\n\t\t\t\t\t[ngClass]="{ \'rbc-caption-avatar-link\': link }"\n\t\t\t\t\t[href]="link">\n\n\t\t\t\t\t<div\n\t\t\t\t\t\t[attr.aria-label]="imageText"\n\t\t\t\t\t\t[ngClass]="ClassGen"\n\t\t\t\t\t\t[ngStyle]="{ \'background-image\': image ? \'url(\'+image+\')\' : null }"\n\t\t\t\t\t\tclass="rbc-caption-avatar"\n\t\t\t\t\t>\n\t\t\t\t\t\t<rbc-icon\n\t\t\t\t\t\t\t*ngIf="icon && !image"\n\t\t\t\t\t\t\t[fixedWidth]="true"\n\t\t\t\t\t\t\t[icon]="icon"\n\t\t\t\t\t\t\t[size]="iconSize"\n\t\t\t\t\t\t\t[type]="iconWeight"\n\t\t\t\t\t\t\tclass="rbc-caption-avatar-icon"\n\t\t\t\t\t\t></rbc-icon>\n\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t*ngIf="avatarText && !image"\n\t\t\t\t\t\t\tclass="rbc-caption-avatar-text">\n\t\t\t\t\t\t\t{{ avatarText }}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\t\t\t\t</a>\n\t\t\t</ng-container>\n\t\t\t<ng-template #spanContent>\n\t\t\t\t<span\n\t\t\t\t\t*ngIf="image || icon || avatarText"\n\t\t\t\t\t[id]="id+\'ImageAvatar\'"\n\t\t\t\t\t[attr.aria-label]="title"\n\t\t\t\t\t[ngClass]="{ \'rbc-caption-avatar-link\': link }">\n\t\t\t\t\t<div\n\t\t\t\t\t\t[attr.aria-label]="imageText"\n\t\t\t\t\t\t[ngClass]="ClassGen"\n\t\t\t\t\t\t[ngStyle]="{ \'background-image\': image ? \'url(\'+image+\')\' : null }"\n\t\t\t\t\t\tclass="rbc-caption-avatar"\n\t\t\t\t\t>\n\t\t\t\t\t<rbc-icon\n\t\t\t\t\t\t\t*ngIf="icon && !image"\n\t\t\t\t\t\t\t[fixedWidth]="true"\n\t\t\t\t\t\t\t[icon]="icon"\n\t\t\t\t\t\t\t[size]="iconSize"\n\t\t\t\t\t\t\t[type]="iconWeight"\n\t\t\t\t\t\t\tclass="rbc-caption-avatar-icon"\n\t\t\t\t\t\t></rbc-icon>\n\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t*ngIf="avatarText && !image"\n\t\t\t\t\t\t\tclass="rbc-caption-avatar-text">\n\t\t\t\t\t\t\t{{ avatarText }}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\t\t\t\t</span>\n\t\t\t</ng-template>\n\t\t\t<div\n\t\t\t*ngIf="title || text || linkLabel || defaultContentPresent"\n\t\t\tclass="rbc-caption-content">\n\t\t\t\t<ng-container *ngIf="link; else spanContent2">\n\t\t\t\t\t<a\n\t\t\t\t\t\t*ngIf="title"\n\t\t\t\t\t\t[id]="id+\'Title\'"\n\t\t\t\t\t\t[href]="link"\n\t\t\t\t\t\tclass="rbc-caption-title">\n\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t*ngTemplateOutlet="headerSlot">\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t</a>\n\t\t\t\t</ng-container>\n\t\t\t\t<ng-template #spanContent2>\n\t\t\t\t\t<span\n\t\t\t\t\t\t*ngIf="title"\n\t\t\t\t\t\t[id]="id+\'Title\'"\n\t\t\t\t\t\tclass="rbc-caption-title">\n\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t*ngTemplateOutlet="headerSlot">\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t</span>\n\t\t\t\t</ng-template>\n\t\t\t\t<span *ngIf="text || defaultContentPresent"\n\t\t\t\t\t[id]="id+\'text\'"\n\t\t\t\t\t[ngClass]="{\'rbc-caption-text-small\': textSize === \'small\'}"\n\t\t\t\t\tclass="rbc-caption-text">\n\t\t\t\t\t<slot #default><ng-content></ng-content></slot>\n\t\t\t\t\t<ng-container *ngIf="default.children.length == 0 && text">\n\t\t\t\t\t\t{{ text }}\n\t\t\t\t\t</ng-container>\n\t\t\t\t</span>\n\n\n\n\t\t\t\t<ng-container *ngIf="linkLabel">\n\t\t\t\t\t\x3c!-- if routerTo is set --\x3e\n\t\t\t\t\t<a\n\t\t\t\t\t\t*ngIf="routerTo; else other"\n\t\t\t\t\t\t[ngClass]="{\n\t\t\t\t\t\t\t\'rbc-caption-text-small\': textSize === \'small\'\n\t\t\t\t\t\t}"\n\t\t\t\t\t\t[routerLink]="routerTo"\n\t\t\t\t\t\tclass="rbc-caption-link link-chev"\n\t\t\t\t\t>\n\t\t\t\t\t\t{{ linkLabel }} <rbc-icon icon="angle-right"></rbc-icon>\n\t\t\t\t\t</a>\n\t\t\t\t\t\x3c!-- if routerTo not set --\x3e\n\t\t\t\t\t<ng-template #other>\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t[ngClass]="{\n\t\t\t\t\t\t\t\t\'rbc-caption-text-small\':\n\t\t\t\t\t\t\t\t\ttextSize === \'small\'\n\t\t\t\t\t\t\t}"\n\t\t\t\t\t\t\t[href]="link"\n\t\t\t\t\t\t\tclass="rbc-caption-link link-chev"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{{ linkLabel }} <rbc-icon icon="angle-right" ></rbc-icon>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</ng-template>\n\t\t\t\t</ng-container>\n\t\t\t</div>\n\t\t</div>\n\n\t\t\x3c!-------------- TEMPLATES -------------------\x3e\n\t\t\x3c!-- Header slot with default text content --\x3e\n\t\t<ng-template #headerSlot>\n\t\t\t<ng-content select="[header]"></ng-content>\n\t\t\t<ng-container *ngIf="title">\n\t\t\t\t{{ title }}\n\t\t\t</ng-container>\n\t\t</ng-template>\n\t'}]}],ht.ctorParameters=function(){return[{type:h}]},ht.propDecorators={avatarAlign:[{type:e.Input}],avatarColor:[{type:e.Input}],avatarSize:[{type:e.Input}],avatarText:[{type:e.Input}],avatarTextColor:[{type:e.Input}],circle:[{type:e.Input}],icon:[{type:e.Input}],iconSize:[{type:e.Input}],iconWeight:[{type:e.Input}],id:[{type:e.Input}],image:[{type:e.Input}],imageText:[{type:e.Input}],link:[{type:e.Input}],linkLabel:[{type:e.Input}],routerTo:[{type:e.Input}],text:[{type:e.Input}],textSize:[{type:e.Input}],title:[{type:e.Input}],avatarClass:[{type:e.Input}],$defaultContent:[{type:e.ViewChild,args:["default",{static:!1}]}]};var gt=function(){};gt.decorators=[{type:e.NgModule,args:[{declarations:[ht],imports:[n.CommonModule,f,l.RouterModule],exports:[ht]}]}];var bt=function(){function t(t,n){this.idService=t,this.cdr=n,this.showSearch=!1,this.fullWidth=!0,this.logoLabel="Logo",this.show=!0,this.buttonClick=new e.EventEmitter,this.onSearch=new e.EventEmitter,this.query=""}return Object.defineProperty(t.prototype,"showSecondary",{get:function(){return this.show},set:function(t){this.show=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.showSearch=this.onSearch.observers.length>0,this.id||(this.id=this.idService.generate()),this.searchPlaceholder||(this.searchPlaceholder="Search")},t.prototype.ngAfterViewInit=function(){this.secondaryLeftRef&&this.secondaryRef&&0===this.secondaryLeftRef.nativeElement.children.length&&0===this.secondaryRef.nativeElement.children.length&&(this.showSecondary=!1,this.cdr.detectChanges()),this.navItems&&(this.showItems=!0,this.cdr.detectChanges())},t.prototype.ngOnChanges=function(t){t.showSecondary&&(t.showSecondary.currentValue?document.body.classList.add("nav-has-secondary"):document.body.classList.remove("nav-has-secondary"))},t.prototype.onInputSearch=function(t){t&&this.onSearch.emit(t)},t.prototype.isVisible=function(t){return void 0===t.visible},t.prototype.$_TopNav_search=function(){"function"==typeof this.search&&this.search(this.query)},t.prototype.topNavButtonClick=function(t){console.log("test")},t}();bt.decorators=[{type:e.Component,args:[{selector:"rbc-top-nav",template:'<div [id]="id" class="rbc-top-nav">\n\t\x3c!-- Secondary nav --\x3e\n\t\t<nav *ngIf="showSecondary" #secondaryContainer class="rbc-top-nav-secondary">\n\t\t\t<div [ngClass]="{ container: !fullWidth }" class="rbc-top-nav-container">\n\t\t\t\t<div #secondaryLeftRef class="rbc-top-nav-items rbc-top-nav-content-left">\n\t\t\t\t\t<ng-content select="[secondary-left]"></ng-content>\n\t\t\t\t</div>\n\t\t\t\t<div #secondaryRef class="rbc-top-nav-items rbc-top-nav-content-right">\n\t\t\t\t\t<ng-content select="[secondary]"></ng-content>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</nav>\n\t\x3c!-- Main nav --\x3e\n\t<nav aria-label="Top navigation" class="rbc-top-nav-primary" role="navigation">\n\t\t<div [ngClass]="{ container: !fullWidth }" class="rbc-top-nav-container">\n\t\t\t<div class="rbc-top-nav-content-left rbc-top-nav-logo">\n\t\t\t\t<a *ngIf="logoLink" [href]="logoLink">\n\t\t\t\t\t<ng-container *ngTemplateOutlet="logoItem"></ng-container>\n\t\t\t\t</a>\n\t\t\t\t<a *ngIf="logoRouter" [routerLink]="logoRouter">\n\t\t\t\t\t<ng-container *ngTemplateOutlet="logoItem"></ng-container>\n\t\t\t\t</a>\n\t\t\t\t<div *ngIf="!logoLink && !logoRouter && logo"><ng-container *ngTemplateOutlet="logoItem"></ng-container></div>\n\t\t\t\t<ng-template #logoItem> <img [src]="logo" [alt]="logoLabel" class="rbc-top-nav-logo-img"> </ng-template>\n\t\t\t</div>\n\t\t\t<div class="rbc-top-nav-content-right">\n\t\t\t\t<ng-container>\n\t\t\t\t\t<ng-content select="[search]"></ng-content>\n\t\t\t\t\t<div\n\t\t\t\t\t\t*ngIf="search"\n\t\t\t\t\t\tclass="rbc-top-nav-search"\n\t\t\t\t\t>\n\t\t\t\t\t\t<rbc-input\n\t\t\t\t\t\t\t[id]="id+\'InputSearch\'"\n\t\t\t\t\t\t\t[ariaLabel]="searchPlaceholder"\n\t\t\t\t\t\t\t[placeholder]="searchPlaceholder"\n\t\t\t\t\t\t\tsize="small"\n\t\t\t\t\t\t\t[(ngModel)]="query"\n\t\t\t\t\t\t\ttype="search"\n\t\t\t\t\t\t\t[search]="true"\n\t\t\t\t\t\t\t(search)="onInputSearch($event)"\n\t\t\t\t\t\t\t(inputTextUpdate)="onInputSearch($event)"\n\t\t\t\t\t\t></rbc-input>\n\t\t\t\t\t</div>\n\t\t\t\t</ng-container>\n\n\t\t\t\t<div *ngIf="showItems || (items && items.length)" class="rbc-top-nav-items">\n\t\t\t\t\t<ng-container *ngIf="items">\n\t\t\t\t\t\t<ng-container *ngFor="let item of items; index as i">\n\t\t\t\t\t\t\t<rbc-top-nav-item\n\t\t\t\t\t\t\t\t*ngIf="item.visible || isVisible(item)"\n\t\t\t\t\t\t\t\t[itemId]="id+\'TopNavItem\'+i"\n\t\t\t\t\t\t\t\t[attr.key]="item.name"\n\t\t\t\t\t\t\t\t[active]="item.active"\n\t\t\t\t\t\t\t\t[control]="item.control"\n\t\t\t\t\t\t\t\t[dropdown]="item.children && item.children.length > 0"\n\t\t\t\t\t\t\t\t[dropdownType]="item.dropdownType"\n\t\t\t\t\t\t\t\t[dropdownArrow]="item.dropdownArrow"\n\t\t\t\t\t\t\t\t[dropdownPositionX]="item.dropdownPositionX"\n\t\t\t\t\t\t\t\t[href]="item.link"\n\t\t\t\t\t\t\t\t[icon]="item.icon"\n\t\t\t\t\t\t\t\t[avatarImage]="item.avatarImage || item.profileImage"\n\t\t\t\t\t\t\t\t[avatarText]="item.avatarText"\n\t\t\t\t\t\t\t\t[router]="item.router"\n\t\t\t\t\t\t\t\t[routeObject]="item"\n\t\t\t\t\t\t\t\t[routerTo]="{ name: item.name }"\n\t\t\t\t\t\t\t\t[dropdownActive]="item.dropdownActive"\n\t\t\t\t\t\t\t\t(popoverToggle)="item.popoverToggle ? item.popoverToggle($event) : null"\n\t\t\t\t\t\t\t\t(buttonClick)="item.click ? item.click() : null"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<ng-container *ngIf="item.children && item.children.length > 0; else defaultContainer" dropdown-trigger>\n\t\t\t\t\t\t\t\t\t{{item.displayName || item.name}}\n\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t<ng-template #defaultContainer>\n\t\t\t\t\t\t\t\t\t{{item.displayName || item.name}}\n\t\t\t\t\t\t\t\t</ng-template>\n\n\n\t\t\t\t\t\t\t\t<ng-container *ngFor="let itemChild of item.children; index as j;"  dropdown-content>\n\t\t\t\t\t\t\t\t\t<rbc-top-nav-item\n\t\t\t\t\t\t\t\t\t\t*ngIf="(item.children && item.children.length > 0) && (itemChild.visible || isVisible(itemChild))"\n\t\t\t\t\t\t\t\t\t\t[attr.key]="itemChild.name"\n\t\t\t\t\t\t\t\t\t\t[href]="itemChild.link"\n\t\t\t\t\t\t\t\t\t\t[router]="itemChild.router"\n\t\t\t\t\t\t\t\t\t\t[routeObject]="itemChild"\n\t\t\t\t\t\t\t\t\t\t[routerTo]="{ name: itemChild.name }"\n\t\t\t\t\t\t\t\t\t\t(buttonClick)="itemChild.click ? itemChild.click() : null"\n\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{{ itemChild.displayName }}\n\t\t\t\t\t\t\t\t\t</rbc-top-nav-item>\n\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t</rbc-top-nav-item>\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t</ng-container>\n\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</nav>\n</div>\n',encapsulation:e.ViewEncapsulation.None}]}],bt.ctorParameters=function(){return[{type:h},{type:e.ChangeDetectorRef}]},bt.propDecorators={id:[{type:e.Input}],fullWidth:[{type:e.Input}],logo:[{type:e.Input}],logoLink:[{type:e.Input}],logoLabel:[{type:e.Input}],searchPlaceholder:[{type:e.Input}],search:[{type:e.Input}],items:[{type:e.Input}],logoRouter:[{type:e.Input}],showSecondary:[{type:e.Input}],buttonClick:[{type:e.Output}],onSearch:[{type:e.Output}],secondaryContainer:[{type:e.ViewChild,args:["secondaryContainer",{static:!1}]}],secondaryLeftRef:[{type:e.ViewChild,args:["secondaryLeftRef",{static:!1}]}],secondaryRef:[{type:e.ViewChild,args:["secondaryRef",{static:!1}]}],navItems:[{type:e.ContentChild,args:["navItems",{static:!1}]}]};var mt=function(){function t(t){this.idService=t,this.isDropdownItem=!1,this.dropdown=!1,this.dropdownArrow=!0,this.dropdownPositionX="center",this.dropdownType="click",this.iconWeight="solid",this.router=!1,this.target="_blank",this.active=!1,this.isOpen=!1,this.onClick=new e.EventEmitter,this.popoverToggle=new e.EventEmitter,this.buttonClick=new e.EventEmitter}return t.prototype.ngOnInit=function(){this.itemId||(this.itemId=this.idService.generate()),this.dropdownArrow=!!this.dropdownType,this.wrapperClass=this.dropdownArrow?"rbc-top-nav-dropdown rbc-top-nav-dropdown-arrow":"rbc-top-nav-dropdown"},t.prototype.ngAfterViewInit=function(){var t=this;setTimeout((function(){return t.checkDropdownItem()}),250)},t.prototype.itemClicked=function(t){this.onClick.emit(t)},t.prototype.checkDropdownItem=function(){if(this.dropdownItem){for(var t=this.dropdownItem.nativeElement;t.parentElement&&!1===this.isDropdownItem;)(t=t.parentElement).classList.contains("rbc-menu")&&(this.isDropdownItem=!0);this.dropdownItem.nativeElement.remove()}},t.prototype.openDropdown=function(t){this.isOpen=!this.isOpen,this.dropdownActive=t,this.popoverToggle.emit(t)},t.prototype.buttonChildClick=function(t){this.buttonClick.emit(t)},t}();mt.decorators=[{type:e.Component,args:[{selector:"rbc-top-nav-item",template:'\n<span\n\t[id]="itemId"\n\tclass="rbc-top-nav-item">\n\t<rbc-menu\n\t\t*ngIf="dropdown; else notDropdownItem"\n\t\t[id]="\'menu\'+itemId"\n\t\t[dropdownPositionX]="dropdownPositionX"\n\t\t[hoverable]="dropdownType === \'hover\'"\n\t\t[active]="dropdownActive"\n\t\t[ngClass]="{ \'rbc-top-nav-dropdown-arrow\': dropdownArrow }"\n\t\t[wrapperClass]="wrapperClass"\n\t\t(popoverToggle)="openDropdown($event)">\n\t\t<button trigger\n\t\t\t[attr.aria-controls]="\'menuContentmenu\'+itemId"\n\t\t\t[attr.aria-expanded]="isOpen ? true : false"\n\t\t\t[ngClass]="{ \'active\': active, \'rbc-top-nav-item-control\': control }"\n\t\t\t[attr.aria-haspopup]="true"\n\t\t\tclass="rbc-top-nav-dropdown-trigger rbc-top-nav-link">\n\t\t\t<rbc-caption\n\t\t\t\t*ngIf="avatarImage || profileImage || avatarText"\n\t\t\t\t[image]="avatarImage || profileImage"\n\t\t\t\t[avatarText]="avatarText"\n\t\t\t\t[avatarColor]="\'primary\'"\n\t\t\t\t[avatarTextColor]="\'white\'"\n\t\t\t\tclass="rbc-top-nav-item-image"\n\t\t\t></rbc-caption >\n\t\t\t<rbc-icon\n\t\t\t\t*ngIf="icon"\n\t\t\t\tclass="rbc-top-nav-icon"\n\t\t\t\t[type]="iconWeight"\n\t\t\t\t[icon]="icon"\n\t\t\t\t[attr.aria-hidden]="true"\n\t\t\t></rbc-icon>\n\t\t\t<ng-content select="[dropdown-trigger]"></ng-content>\n\t\t\t<rbc-icon\n\t\t\t\t*ngIf="dropdownArrow"\n\t\t\t\tclass="rbc-top-nav-dropdown-arrow"\n\t\t\t\ticon="angle-down"\n\t\t\t\t[attr.aria-hidden]="true"\n\t\t\t></rbc-icon>\n\t\t</button>\n\t\t<ng-content select="[dropdown-content]"></ng-content>\n\t</rbc-menu>\n\n\t<ng-template #notDropdownItem>\n\t\t<ng-container *ngIf="!dropdown && router; else notRouter">\n\t\t\t<a\n\t\t\t\t[id]="itemId + \'-nav-link\'"\n\t\t\t\t[ngClass]="{ \'router-link-active\': active, \'rbc-top-nav-item-control\': control }"\n\t\t\t\t*ngIf="!dropdown && routerTo"\n\t\t\t\tclass="rbc-top-nav-link"\n\t\t\t\t[routerLink]="[\'/\'+ routerTo[\'name\'] ] || [\'\']"\n\t\t\t\trouterLinkActive="active"\n\t\t\t>\n\t\t\t\t<rbc-caption\n\t\t\t\t\t*ngIf="avatarImage || profileImage || avatarText"\n\t\t\t\t\t[image]="avatarImage || profileImage"\n\t\t\t\t\t[avatarText]="avatarText"\n\t\t\t\t\t[avatarColor]="\'primary\'"\n\t\t\t\t\t[avatarTextColor]="\'white\'"\n\t\t\t\t\tclass="rbc-top-nav-item-image"\n\t\t\t\t></rbc-caption>\n\t\t\t\t<rbc-icon *ngIf="icon" class="rbc-top-nav-icon" [type]="iconWeight" [icon]="icon"></rbc-icon>\n\t\t\t\t{{routeObject.displayName}}\n\t\t\t</a>\n\t\t</ng-container>\n\n\t\t<ng-template #notRouter>\n\t\t\t<ng-container *ngIf="href; else buttonItem">\n\t\t\t\t<a\n\t\t\t\t\t[id]="itemId + \'-nav-link\'"\n\t\t\t\t\t[ngClass]="{ active: active, \'rbc-top-nav-item-control\': control }"\n\t\t\t\t\t*ngIf="!dropdown && href"\n\t\t\t\t\tclass="rbc-top-nav-link"\n\t\t\t\t\t[href]="href"\n\t\t\t\t\t[target]="target"\n\t\t\t\t>\n\t\t\t\t\t<rbc-caption\n\t\t\t\t\t\t*ngIf="avatarImage || profileImage || avatarText"\n\t\t\t\t\t\t[image]="avatarImage || profileImage"\n\t\t\t\t\t\t[avatarText]="avatarText"\n\t\t\t\t\t\t[avatarColor]="\'primary\'"\n\t\t\t\t\t\t[avatarTextColor]="\'white\'"\n\t\t\t\t\t\tclass="rbc-top-nav-item-image"\n\t\t\t\t\t></rbc-caption>\n\t\t\t\t\t<rbc-icon *ngIf="icon" class="rbc-top-nav-icon" [type]="iconWeight" [icon]="icon"></rbc-icon>\n\n\t\t\t\t\t<ng-container *ngIf="routeObject; else linkContent">\n\t\t\t\t\t\t{{routeObject.displayName}}\n\t\t\t\t\t</ng-container>\n\t\t\t\t\t<ng-template #linkContent>\n\t\t\t\t\t\t<ng-container *ngTemplateOutlet="itemContent"></ng-container>\n\t\t\t\t\t</ng-template>\n\t\t\t\t</a>\n\t\t\t</ng-container>\n\n\t\t\t<ng-template #buttonItem>\n\t\t\t\t<button\n\t\t\t\t\t[id]="itemId + \'-nav-link\'"\n\t\t\t\t\t[ngClass]="{ active: active, \'rbc-top-nav-item-control\': control }"\n\t\t\t\t\tclass="rbc-top-nav-link"\n\t\t\t\t\t(click)="buttonChildClick($event)">\n\t\t\t\t\t<ng-container *ngTemplateOutlet="itemContent"></ng-container>\n\t\t\t\t</button>\n\t\t\t</ng-template>\n\t\t</ng-template>\n\t</ng-template>\n</span>\n\n<ng-template #itemContent>\n\t<ng-container *ngIf="routeObject; else slotSection">\n\t\t\t<rbc-caption\n\t\t\t*ngIf="routeObject.avatarImage || routeObject.profileImage || routeObject.avatarText"\n\t\t\t[image]="avatarImage || profileImage"\n\t\t\t[avatarText]="avatarText"\n\t\t\t[avatarColor]="\'primary\'"\n\t\t\t[avatarTextColor]="\'white\'"\n\t\t\tclass="rbc-top-nav-item-image"\n\t\t></rbc-caption>\n\t\t<rbc-icon *ngIf="icon" class="rbc-top-nav-icon" [type]="iconWeight" [icon]="icon"></rbc-icon>\n\t\t{{routeObject.displayName}}\n\t</ng-container>\n\n\t<ng-template #slotSection>\n\t\t<rbc-caption\n\t\t\t*ngIf="avatarImage || profileImage || avatarText"\n\t\t\t[image]="avatarImage || profileImage"\n\t\t\t[avatarText]="avatarText"\n\t\t\t[avatarColor]="\'primary\'"\n\t\t\t[avatarTextColor]="\'white\'"\n\t\t\tclass="rbc-top-nav-item-image"\n\t\t></rbc-caption>\n\t\t<rbc-icon *ngIf="icon" class="rbc-top-nav-icon" [type]="iconWeight" [icon]="icon"></rbc-icon>\n\t\t<ng-content></ng-content>\n\t<ng-template>\n</ng-template>\n',encapsulation:e.ViewEncapsulation.None}]}],mt.ctorParameters=function(){return[{type:h}]},mt.propDecorators={dropdown:[{type:e.Input}],dropdownArrow:[{type:e.Input}],control:[{type:e.Input}],dropdownPositionX:[{type:e.Input}],dropdownType:[{type:e.Input}],dropdownTag:[{type:e.Input}],icon:[{type:e.Input}],iconWeight:[{type:e.Input}],router:[{type:e.Input}],target:[{type:e.Input}],href:[{type:e.Input}],active:[{type:e.Input}],routerTo:[{type:e.Input}],profileImage:[{type:e.Input}],avatarImage:[{type:e.Input}],avatarText:[{type:e.Input}],itemId:[{type:e.Input}],routeObject:[{type:e.Input}],exact:[{type:e.Input}],dropdownActive:[{type:e.Input}],onClick:[{type:e.Output}],popoverToggle:[{type:e.Output}],buttonClick:[{type:e.Output}],dropdownItem:[{type:e.ViewChild,args:["dropdownItem",{static:!1}]}]};var yt=function(t,e,n){if(void 0===n&&(n=0),"-"!==t){var i=Number(t).toFixed(n).toString().split("."),a=i[1];if("en"===e){var o=i[0].replace(/(-)?(\d)(?=(\d\d\d)+(?!\d))/g,"$1$2,");return o+=void 0!==a&&n>0?"."+a.substring(0,n):""}if("fr"===e){o=i[0].replace(/(-)?(\d)(?=(\d\d\d)+(?!\d))/g,"$1$2 ");return o+=void 0!==a&&n>0?","+a.substring(0,n):""}}},ft=function(t,e,n,i){return void 0===e&&(e="en"),void 0===n&&(n=0),void 0===i&&(i="$"),"en"===e?"%"!==i?i+yt(t,"en",n):yt(t,"en",n)+i:"fr"===e?yt(t,"fr",n)+" "+i:void 0},vt=function(){function t(t,n){this.idService=t,this.controlDirective=n,this.defaultError="Invalid",this.focused=!1,this.statusMessage=null,this.placeholder="",this.size="medium",this.type="text",this.secure=!1,this.required=!1,this.noWidth=!1,this.disabled=!1,this.unitPositionX="right",this.formatNumberLive=!1,this.formatLang="en",this.displayError=!0,this.displayErrorColor=!0,this.clearLabel="Clear",this.clear=new e.EventEmitter,this.onKeyDown=new e.EventEmitter,this.focusIn=new e.EventEmitter,this.focusOut=new e.EventEmitter,this.blur=new e.EventEmitter,this.onInput=new e.EventEmitter,this.inputTextUpdate=new e.EventEmitter,this.statusUpdate=new e.EventEmitter,this.statusTypeComputed=this.statusType,this.inputClass=!0,this.onChange=function(t){},this.onTouched=function(){},this.id=this.id?this.id:this.idService.generate(),this.controlDirective&&(n.valueAccessor=this)}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){void 0!==t&&this._value!==t&&(this._value=t,this.onChange(t))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputUnitClass",{get:function(){return this.unit},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputNoWidthClass",{get:function(){return this.noWidth},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputSizeSmallClass",{get:function(){return"small"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputSizeMediumClass",{get:function(){return"medium"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputSizeLargeClass",{get:function(){return"large"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputSizeWidthSmallClass",{get:function(){return"small"===this.sizeWidth},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputSizeWidthMediumClass",{get:function(){return"medium"===this.sizeWidth},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputSizeWidthLargeClass",{get:function(){return"large"===this.sizeWidth},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"inputSizeWidthAutoClass",{get:function(){return"auto"===this.sizeWidth},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hostAttribute",{get:function(){return this.id},enumerable:!0,configurable:!0}),t.prototype.setInvalid=function(){return this.controlDirective?this.controlDirective.invalid:this.ariaInvalid},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.ngOnInit=function(){void 0===this.value&&(this.value="")},t.prototype.onKeyUp=function(t){13!==t.keyCode&&27!==t.keyCode&&(this.value=t.target.value,this.onInput.emit(this.value),this.writeValue(t.target.value),this.inputComputeStatus())},t.prototype.writeValue=function(t){this.value=t},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.clearInput=function(t){t.stopPropagation(),this.writeValue(""),this.clear.emit("")},t.prototype.inputSearch=function(){"function"==typeof this.search&&this.search(this.value),this.inputTextUpdate.emit(this.value)},t.prototype.lang=function(){return void 0!==this.formatLang?this.formatLang:void 0!==window.lang?window.lang:"en"},t.prototype.typeGen=function(){return this.secure?"password":this.formatNumberLive?"text":this.type},t.prototype.typeCheck=function(){return"success"===this.statusType||"warning"===this.statusType||"danger"===this.statusType||"info"===this.statusType?this.statusType:"info"},t.prototype.inputClassGen=function(){var t={};return t["rbc-input-icon-pr"]="search"===this.typeGen(),t[this.statusType]=this.statusType,t},t.prototype.spanClassGen=function(){var t={};switch(this.size){case"small":t["rbc-input-small"]=!0;break;case"medium":t["rbc-input-medium"]=!0;break;case"large":t["rbc-input-large"]=!0}return t},t.prototype.unitClassGen=function(){var t;return(t={filled:null!==this.value&&""!==this.value,disabled:this.disabled})[this.statusTypeComputed]=this.status,t},t.prototype.replaceAndFormatNumberLive=function(){if(void 0!==this.value&&""!==this.value&&null!=this.value){var t=this.value.toString().split(".").length>1?this.value.toString().split(".")[1].length:0;if(void 0!==this.lang()&&"fr"===this.lang()){t=(e=this.value.toString().replace(/,/g,".")).split(".").length>1?e.split(".")[1].length:0,this.value=yt(e,"fr",t)}else{var e=this.value.toString().replace(/,/g,"");this.value=yt(e,"en",t)}}},t.prototype.checkForErrors=function(t){return!(!this.validateRegex||""===this.validateRegex)&&!new RegExp(this.validateRegex).test(t.toString())},t.prototype.describedbyGen=function(){var t;if(this.status||this.helpText||this.ariaDescribedBy||void 0!==this.unit){var e=((t={})[this.id+"Status"]=this.status,t[this.id+"HelpText"]=this.helpText,t[this.ariaDescribedBy]=this.ariaDescribedBy,t[this.id+"Unit"]=void 0!==this.unit,t);return Object.keys(e).filter((function(t){return e[t]})).join(" ")}},t.prototype.onFocus=function(t){this.formatNumberLive&&(void 0!==this.value&&""!=this.value&&null!=this.value&&(void 0!==this.lang&&"fr"==this.lang()?this.value=Number(this.value.toString().replace(/[\xa0\u202f]/g,"").replace(/,/g,".")):this.value=Number(this.value.toString().replace(/,/g,""))),-1==navigator.userAgent.toLowerCase().indexOf("firefox")&&(this.typeOverwrite="number")),this.focusIn.emit(this.value)},t.prototype.onFocusOut=function(t){var e=this;this.focused=!0,this.formatNumberLive&&(this.typeOverwrite=!1,""!==this.value&&(setTimeout((function(){e.replaceAndFormatNumberLive()})),this.typeOverwrite="text"),this.writeValue(this.value)),this.focusOut.emit(this.value),this.blur.emit(t),this.onTouched()},t.prototype.inputComputeStatus=function(){if(this.validateRegex&&this.status){var t=!new RegExp(this.validateRegex).test(this.value);this.statusTypeComputed=t?"danger":this.statusType,this.statusMessage=t?this.status:"",this.statusUpdate.emit(t)}else if(this.validateHtml&&!1!==this.status){var e=document.getElementById(this.id);if(e){t=!e.checkValidity();this.statusTypeComputed=t?"danger":this.statusType,this.statusMessage=t&&!0===this.status?e.validationMessage:t&&!0!==this.status?this.status:"",this.statusUpdate.emit(t)}}else this.statusTypeComputed=this.statusType,this.statusMessage=this.status},t}();vt.decorators=[{type:e.Component,args:[{selector:"rbc-input",template:'<span>\n\t\x3c!-- Label --\x3e\n\t<div #labelText class="input-label">\n\t\t<ng-content select="[label]"></ng-content>\n\t</div>\n\t\x3c!-- Label text --\x3e\n\t<rbc-label\n\t\t*ngIf="label"\n\t\t[id]="id + \'Label\'"\n\t\t[for]="id"\n\t\t[text]="label"\n\t\t[required]="required && showRequired"\n\t\t[srOnly]="labelSrOnly">\n\t</rbc-label>\n\n\t\x3c!-- Help text --\x3e\n\t<rbc-help-text\n\t\t*ngIf="helpText"\n\t\t[id]="id + \'HelpText\'"\n\t\t[text]="helpText"\n\t\t[srOnly]="helpTextSrOnly"\n\t></rbc-help-text>\n\t<form\n\t\t*ngIf="search; else spanContent"\n\t\t[ngClass]="{ \'rbc-input-button-wrap rbc-input-search-wrap\': search }"\n\t\tclass="rbc-input-flex-wrap"\n\t>\n\t\t<ng-container *ngTemplateOutlet="inputContent"></ng-container>\n\t</form>\n\n\t<ng-template #spanContent>\n\t\t<span\n\t\t\t[ngClass]="{\n\t\t\t\t\'rbc-input-button-wrap rbc-input-search-wrap\': search\n\t\t\t}"\n\t\t\tclass="rbc-input-flex-wrap"\n\t\t>\n\t\t\t<ng-container *ngTemplateOutlet="inputContent"></ng-container>\n\t\t</span>\n\t</ng-template>\n\n\t<ng-template #inputContent>\n\t\t<span\n\t\t\t*ngIf="unit && unitPositionX === \'left\'"\n\t\t\tclass="rbc-input-unit rbc-input-unit-left"\n\t\t\t[id]="id + \'Unit\'"\n\t\t\t[ngClass]="unitClassGen()">\n\t\t\t\t{{ unit }}\n\t\t</span>\n\t\t<input\n\t\t\t[value]="value"\n\t\t\t[id]="id"\n\t\t\t[disabled]="disabled"\n\t\t\t[ngClass]="inputClassGen()"\n\t\t\tclass="rbc-input-control"\n\t\t\t[attr.maxlength]="typeGen() !==\'number\' ? charCount : null"\n\t\t\t[attr.max]="typeGen() === \'number\' ? charCount : null"\n\t\t\t[attr.min]="typeGen() === \'number\' ? min : null"\n\t\t\t[attr.step]="typeGen() === \'number\' ? step : null"\n\t\t\t[attr.name]="name"\n\t\t\t[placeholder]="placeholder"\n\t\t\t[attr.type]="typeOverwrite ? typeOverwrite : typeGen()"\n\t\t\tautocomplete="off"\n\t\t\t[attr.aria-expanded]="ariaExpanded"\n\t\t\t[attr.role]="role"\n\t\t\t[attr.aria-required]="required ? required : null"\n\t\t\t[attr.aria-autocomplete]="ariaAutoComplete"\n\t\t\t[attr.aria-activedescendant]="ariaActiveDesendant"\n\t\t\t[attr.aria-controls]="ariaControls"\n\t\t\t[attr.aria-label]="ariaLabel"\n\t\t\t[attr.aria-invalid]="setInvalid()"\n\t\t\t[attr.aria-owns]="ariaOwns"\n\t\t\t[attr.aria-haspopup]="ariaHasPopup"\n\t\t\t[attr.aria-describedby]="describedbyGen()"\n\t\t\t[attr.aria-labelledby]="ariaLabelledBy"\n\t\t\t[attr.accept]="accept"\n\t\t\t[required]="required && showRequired"\n\t\t\t[attr.required]="required"\n\t\t\t(focus)="onFocus($event)"\n\t\t\t(blur)="onFocusOut($event)"\n\t\t\t(input)="onKeyUp($event)"\n\t\t\t(keydown)="onKeyDown.emit($event)"\n\t\t/>\n\t\t<ng-container *ngIf="typeGen() === \'search\'">\n\t\t\t<button\n\t\t\t\t[hidden]="!value"\n\t\t\t\t[id]="id + \'CloseIcon\'"\n\t\t\t\t[ngClass]="{ \'rbc-input-search-icon\': search }"\n\t\t\t\t[disabled]="disabled"\n\t\t\t\ttype="button"\n\t\t\t\tclass="rbc-input-icon"\n\t\t\t\t(keyup.enter)="clearInput($event)"\n\t\t\t\t(click)="clearInput($event)">\n\t\t\t\t<rbc-icon\n\t\t\t\t\t[label]="clearLabel"\n\t\t\t\t\ticon="times"\n\t\t\t\t></rbc-icon>\n\t\t\t</button>\n\t\t</ng-container>\n\n\t\t<rbc-button\n\t\t\t[id]="id + \'Search\'"\n\t\t\t*ngIf="search"\n\t\t\t(buttonClick)="inputSearch()"\n\t\t\t[size]="size"\n\t\t\t[disabled]="disabled"\n\t\t\tcolor="secondary"\n\t\t\ticon="search"\n\t\t\ttype="submit"\n\t\t\t[ariaLabel]="placeholder || \'Search\'">\n\t\t</rbc-button>\n\t\t<span\n\t\t\t*ngIf="unit && unitPositionX !== \'left\'"\n\t\t\tclass="rbc-input-unit rbc-input-unit-right"\n\t\t\t[id]="id + \'Unit\'"\n\t\t\t[ngClass]="unitClassGen()">\n\t\t\t{{ unit }}\n\t\t</span>\n\t</ng-template>\n\n\t<ng-container select="[status]">\n\t\t<rbc-status\n\t\t\t*ngIf="statusMessage"\n\t\t\t[id]="id + \'Status\'"\n\t\t\t[text]="statusMessage"\n\t\t\t[type]="statusTypeComputed">\n\t\t\t<ng-content select="[status-content]"></ng-content>\n\t\t</rbc-status>\n\t</ng-container>\n</span>\n'}]}],vt.ctorParameters=function(){return[{type:h},{type:a.NgControl,decorators:[{type:e.Optional},{type:e.Self}]}]},vt.propDecorators={id:[{type:e.Input}],placeholder:[{type:e.Input}],label:[{type:e.Input}],name:[{type:e.Input}],helpText:[{type:e.Input}],unit:[{type:e.Input}],_value:[{type:e.Input,args:["value"]}],ariaAttributes:[{type:e.Input}],validateRegex:[{type:e.Input}],size:[{type:e.Input}],sizeWidth:[{type:e.Input}],type:[{type:e.Input}],search:[{type:e.Input}],secure:[{type:e.Input}],required:[{type:e.Input}],showRequired:[{type:e.Input}],noWidth:[{type:e.Input}],disabled:[{type:e.Input}],charCount:[{type:e.Input}],unitPositionX:[{type:e.Input}],formatNumberLive:[{type:e.Input}],formatLang:[{type:e.Input}],displayError:[{type:e.Input}],displayErrorColor:[{type:e.Input}],status:[{type:e.Input}],statusType:[{type:e.Input}],validateHtml:[{type:e.Input}],labelSrOnly:[{type:e.Input}],helpTextSrOnly:[{type:e.Input}],ariaAutoComplete:[{type:e.Input}],ariaInvalid:[{type:e.Input}],ariaControls:[{type:e.Input}],ariaActiveDesendant:[{type:e.Input}],ariaLabel:[{type:e.Input}],ariaExpanded:[{type:e.Input}],ariaOwns:[{type:e.Input}],ariaHasPopup:[{type:e.Input}],ariaDescribedBy:[{type:e.Input}],ariaLabelledBy:[{type:e.Input}],accept:[{type:e.Input}],clearLabel:[{type:e.Input}],role:[{type:e.Input}],min:[{type:e.Input}],step:[{type:e.Input}],clear:[{type:e.Output}],onKeyDown:[{type:e.Output}],focusIn:[{type:e.Output}],focusOut:[{type:e.Output}],blur:[{type:e.Output}],onInput:[{type:e.Output}],inputTextUpdate:[{type:e.Output}],statusUpdate:[{type:e.Output}],inputClass:[{type:e.HostBinding,args:["class.rbc-input"]}],inputUnitClass:[{type:e.HostBinding,args:["class.rbc-input-unit-wrap"]}],inputNoWidthClass:[{type:e.HostBinding,args:["class.rbc-input-width-none"]}],inputSizeSmallClass:[{type:e.HostBinding,args:["class.rbc-input-small"]}],inputSizeMediumClass:[{type:e.HostBinding,args:["class.rbc-input-medium"]}],inputSizeLargeClass:[{type:e.HostBinding,args:["class.rbc-input-large"]}],inputSizeWidthSmallClass:[{type:e.HostBinding,args:["class.rbc-input-width-small"]}],inputSizeWidthMediumClass:[{type:e.HostBinding,args:["class.rbc-input-width-medium"]}],inputSizeWidthLargeClass:[{type:e.HostBinding,args:["class.rbc-input-width-large"]}],inputSizeWidthAutoClass:[{type:e.HostBinding,args:["class.rbc-input-width-auto"]}],hostAttribute:[{type:e.HostBinding,args:["attr.data-parent-id"]}]};var It=function(){};It.decorators=[{type:e.NgModule,args:[{declarations:[vt],imports:[n.CommonModule,f,nt,ot,st,ct,l.RouterModule,a.ReactiveFormsModule,a.FormsModule],exports:[vt]}]}];var wt=function(){function t(){this.isOpen=!1,this.triggerBox={},this.popoverBox={},this.offset=0,this.hover=!1,this.clickable=!0,this.$popoverToggle=new o.BehaviorSubject(this.isOpen),this.windowEventListeners=[],this.popoverToggle=new e.EventEmitter}return t.prototype.topGen=function(){if(this.absolute)return"bottom"===this.position||this.overBoth||(this.overLeft||this.overRight)&&("right"===this.position||"left"===this.position)?this.triggerBox.top+this.triggerBox.height+this.offset+this.pageOffset:"top"===this.position?this.triggerBox.top-this.popoverBox.height-this.offset+window.pageYOffset:this.triggerBox.top+window.pageYOffset},t.prototype.leftGen=function(){return"left"===this.position?this.triggerBox.left-this.popoverBox.width-this.offset:"right"===this.position?this.triggerBox.left+this.triggerBox.width+this.offset:"left"===this.positionX?this.triggerBox.left:"right"===this.positionX?this.triggerBox.left+this.triggerBox.width-this.popoverBox.width:this.triggerBox.left+this.triggerBox.width/2-this.popoverBox.width/2},t.prototype.overflowLeft=function(){if(this.absolute){var t;if(this.overBoth)return(t=this.triggerBox.x+this.triggerBox.width/2-this.popoverBox.width/2)<this.offset?this.offset:t;if(this.overRight)return(t=this.triggerBox.x+this.triggerBox.width-this.popoverBox.width)<this.offset?this.offset:t;if(this.overLeft)return this.triggerBox.x}},Object.defineProperty(t.prototype,"overLeft",{get:function(){return this.leftGen()<0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overRight",{get:function(){return this.leftGen()+this.popoverBox.width+this.offset>window.innerWidth},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overBoth",{get:function(){return this.overLeft&&this.triggerBox.x+this.popoverBox.width>window.innerWidth||this.overLeft&&this.triggerBox.x>300||this.overRight&&window.innerWidth-(this.triggerBox.x+this.triggerBox.width)>300},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.$popoverToggle&&this.$popoverToggle.unsubscribe(),this.windowEventListeners.length&&this.windowEventListeners.forEach((function(t){t&&t.unsubscribe()})),this.isOpen=!1,this.popoverRef&&this.absolute&&document.body.removeChild(this.popoverRef)},t.prototype.syncProps=function(t){this.clickable=t.clickable,this.active=t.active,this.hover=t.hover,this.position=t.position,this.positionX=t.positionX,this.offset=t.offset,this.triggerRef=t.triggerRef,this.popoverRef=t.popoverRef,this.absolute=t.absolute,this.pageOffset=t.pageOffset},t.prototype.$_Popover_hoverToggle=function(t){var e=this;this.hover&&setTimeout((function(){e.isOpen=t,e.$_Popover_reset()}),250)},t.prototype.$_Popover_reset=function(){this.$popoverToggle.next(this.isOpen),this.isOpen||(this.triggerBox={},this.popoverBox={})},t.prototype.$_Popover_remove=function(t){var e=t||this.popoverRef;document.body.contains(e)&&document.body.removeChild(t)},t.prototype.$_Popover_toggle=function(t,e){var n=this,i=e?e.nativeElement:this.popoverRef;this.hover||!this.clickable||i===t.target||i&&i.contains(t.target)||(this.isOpen=!this.isOpen,this.isOpen&&["click","touchend"].forEach((function(t){n.windowEventListeners.push(o.fromEvent(window,t).pipe(r.skip(1)).subscribe(n.$_Popover_toggleClose()))})),this.$_Popover_reset())},t.prototype.$_Popover_toggleClose=function(){var t=this;return function(e){var n=t.popoverRef?t.popoverRef:null;!n||n===e.target||n.contains(e.target)||n===e.target||n.contains(e.target)||(t.isOpen=!1,t.$_Popover_reset(),t.windowEventListeners.forEach((function(t){t&&t.unsubscribe()})))}},t.prototype.$_Popover_position=function(t){document.body.appendChild(t),t&&(this.absolute&&setTimeout((function(){t.focus()}),25),this.triggerBox=this.triggerRef.getBoundingClientRect(),this.popoverBox=t.getBoundingClientRect())},t.prototype.enter=function(t){this.absolute&&this.$_Popover_position(t)},t}();wt.decorators=[{type:e.Injectable}],wt.ctorParameters=function(){return[]},wt.propDecorators={popoverToggle:[{type:e.Output}]};var Ct=function(){function t(t,n,i,a){this.idService=t,this.popoverService=n,this.cdr=i,this.eRef=a,this.active=!1,this.clickable=!0,this.hoverable=!1,this.iconWeight="light",this.labelTrigger="Toggle menu",this.position="bottom",this.dropdownPositionX="center",this.popoverToggle=new e.EventEmitter,this.onButtonClick=new e.EventEmitter,this.clickListener=this.$_Popover_toggleClose.bind(this),this.id=t.generate()}return Object.defineProperty(t.prototype,"isOpen",{get:function(){return this.active},set:function(t){this.active=t},enumerable:!0,configurable:!0}),t.prototype.topGen=function(){if(this.isOpen)return this.popoverService.topGen()},t.prototype.leftGen=function(){if(this.isOpen)return this.popoverService.leftGen()},t.prototype.overflowLeft=function(){if(this.isOpen)return this.popoverService.overflowLeft()},t.prototype.onMouseOver=function(t){t.preventDefault(),this.hoverToggle(!0)},t.prototype.onMouseOut=function(t){t.preventDefault(),this.hoverToggle(!1)},t.prototype.animationDone=function(t){!0===t.toState&&this.content&&this.content&&this.self&&(this.popoverService.syncProps({clickable:this.clickable,active:this.active,hover:this.hoverable,position:this.position,positionX:this.dropdownPositionX,offset:10,triggerRef:this.self.nativeElement,popoverRef:this.content.nativeElement,absolute:this.absolute,pageOffset:window.pageYOffset}),this.popoverService.enter(this.content.nativeElement))},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id),this.isOpen=!1},t.prototype.toggle=function(t){var e=this,n=this.content.nativeElement;this.clickable&&!(n===t.target||n&&n.contains(t.target))&&(this.isOpen=!this.isOpen,this.popoverToggle.emit(this.isOpen),this.isOpen?["click","touchend","keydown"].forEach((function(t){return document.addEventListener(t,e.clickListener)})):["click","touchend","keydown"].forEach((function(t){return document.removeEventListener(t,e.clickListener)})))},t.prototype.hoverToggle=function(t){this.hoverable&&(this.isOpen=t,this.popoverToggle.emit(t))},t.prototype.$_Popover_toggleClose=function(t){var e=this,n=this.self.nativeElement,i=this.content.nativeElement;t.key&&-1!=t.key.toLowerCase().indexOf("tab")&&setTimeout((function(){i.contains(document.activeElement)||e.$_Popover_close()})),(t.key&&-1!=t.key.toLowerCase().indexOf("esc")||n!==t.target&&!n.contains(t.target)&&i&&i!==t.target&&!i.contains(t.target))&&this.$_Popover_close()},t.prototype.$_Popover_close=function(){var t=this;this.isOpen=!1,this.cdr.markForCheck(),["click","touchend","keydown"].forEach((function(e){return document.removeEventListener(e,t.clickListener)}))},t.prototype.initiatePopover=function(t){"enter"===t.type&&this.popoverService.enter(this.content.nativeElement)},t.prototype.classGen=function(){var t=[];return this.position&&t.push("rbc-menu-"+this.position),this.overflowLeft&&t.push("rbc-menu-overflow"),"left"===this.dropdownPositionX&&t.push("rbc-menu-flush-left"),"right"===this.dropdownPositionX&&t.push("rbc-menu-flush-right"),t},t.prototype.getWrapperClass=function(){var t={};return t.open=this.isOpen,t["rbc-menu-relative"]=!this.absolute,t[this.wrapperClass]=this.wrapperClass,t},t}();Ct.decorators=[{type:e.Component,args:[{selector:"rbc-menu",template:'\n\t\t<div\n\t\t\t#self\n\t\t\t[id]="id"\n\t\t\t[ngClass]="getWrapperClass()"\n\t\t\tclass="rbc-menu"\n\t\t\t(click)="toggle($event)"\n\t\t\t(mouseleave)="hoverable ? onMouseOut($event): null"\n\t\t\t(mouseenter)="hoverable ? onMouseOver($event) : null"\n\t\t>\n\t\t\t\x3c!-- Slot for menu trigger --\x3e\n\t\t\t<div #triggerSlot>\n\t\t\t\t<ng-content select="[trigger]"> </ng-content>\n\t\t\t</div>\n\n\t\t\t<div\n\t\t\t\t[id]="\'menuTriggerSlot\' + id"\n\t\t\t\t*ngIf="!triggerSlot.children.length">\n\t\t\t\t<button\n\t\t\t\t\t#button\n\t\t\t\t\t[id]="\'menuTrigger\' + id"\n\t\t\t\t\t[attr.aria-controls]="\'menuContent\'+id"\n\t\t\t\t\t[attr.aria-label]= "labelTrigger"\n\t\t\t\t\t[attr.aria-expanded]= "isOpen ? true : false"\n\t\t\t\t\t[attr.aria-haspopup]= "true"\n\t\t\t\t\tclass= "rbc-menu-trigger-icon"\n\t\t\t\t\t(click)="onButtonClick.emit($event)">\n\t\t\t\t\t<rbc-icon\n\t\t\t\t\t\t[type]= "iconWeight"\n\t\t\t\t\t\t[icon]= "icon ? icon : \'ellipsis-v\'"\n\t\t\t\t\t\t[attr.aria-hidden]= "true"></rbc-icon>\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t\t<ul\n\t\t\t\t#content\n\t\t\t\t[hidden]="!isOpen"\n\t\t\t\t[@opacity]="{value: isOpen, params:{topVar: topGen}}"\n\t\t\t\t(@opacity.start)="animationDone($event)"\n\t\t\t\t[id]="\'menuContent\' + id"\n\t\t\t\t[attr.aria-labelledby]="\'menuTrigger\' + id"\n\t\t\t\t[ngClass]="classGen()"\n\t\t\t\tclass="rbc-menu-content"\n\t\t\t\t[ngStyle]="{\n\t\t\t\t\t\'top\': topGen() + \'px\',\n\t\t\t\t\t\'left\': (overflowLeft() || leftGen()) + \'px\'\n\t\t\t\t}"\n\t\t\t\trole="menu"\n\t\t\t\ttabindex= "-1">\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</ul>\n\t\t</div>\n\n\t',animations:[c.trigger("opacity",[c.state("true",c.style({opacity:1})),c.state("false",c.style({opacity:0})),c.state("void",c.style({opacity:0})),c.transition("* => false",[c.style({opacity:0}),c.animate("250ms ease-in")]),c.transition("* => true",c.animate("250ms ease-out"))])],providers:[wt],encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.OnPush}]}],Ct.ctorParameters=function(){return[{type:h},{type:wt},{type:e.ChangeDetectorRef},{type:e.ElementRef}]},Ct.propDecorators={active:[{type:e.Input}],clickable:[{type:e.Input}],hoverable:[{type:e.Input}],icon:[{type:e.Input}],iconWeight:[{type:e.Input}],id:[{type:e.Input}],labelTrigger:[{type:e.Input}],position:[{type:e.Input}],dropdownPositionX:[{type:e.Input}],absolute:[{type:e.Input}],wrapperClass:[{type:e.Input}],popoverToggle:[{type:e.Output}],onButtonClick:[{type:e.Output}],self:[{type:e.ViewChild,args:["self",{static:!1}]}],content:[{type:e.ViewChild,args:["content",{static:!1}]}],button:[{type:e.ViewChild,args:["button",{static:!1}]}],triggerSlot:[{type:e.ViewChild,args:["triggerSlot",{static:!1}]}],contentSlot:[{type:e.ViewChild,args:["contentSlot",{static:!1}]}]};var xt=function(){function t(t){this.idService=t,this.target="_blank",this.clickEvent=new e.EventEmitter,this.classList="",this.id=t.generate()}return t.prototype.onClick=function(t){this.clickHandler(t)},t.prototype.ngOnInit=function(){this.link=this.href?this.href:null,this.classList=[this.classList,"rbc-menu-item",this.divider?"rbc-menu-divider":null].filter((function(t){return!!t})).join(" ")},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.clickHandler=function(t){this.clickEvent.emit(t)},t}();xt.decorators=[{type:e.Component,args:[{selector:"rbc-menu-item",template:'\n\t\t<span\n\t\t\t[id]="id"\n\t\t\t[attr.aria-hidden]= "divider"\n\t\t\t[attr.role]= "divider ? \'none\' : \'menuitem\'"\n\t\t>\n\t\t\t<ng-container *ngIf="!divider">\n\t\t\t\t\x3c!-- Option 1 --\x3e\n\t\t\t\t<a\n\t\t\t\t\t*ngIf="router"\n\t\t\t\t\t[id]="id+\'LinkButton\'"\n\t\t\t\t\t[routerLink]= "routerTo"\n\t\t\t\t\trouterLinkActive="active"\n\t\t\t\t\tclass= "rbc-menu-link router-link-active"\n\t\t\t\t>\n\t\t\t\t\t<ng-container\n\t\t\t\t\t\t*ngTemplateOutlet="iconContent"\n\t\t\t\t\t></ng-container>\n\t\t\t\t</a>\n\n\t\t\t\t\x3c!-- Option 2 --\x3e\n\t\t\t\t<a\n\t\t\t\t\t*ngIf="!router && href"\n\t\t\t\t\t[id]="id+\'LinkButton\'"\n\t\t\t\t\tclass="rbc-menu-link"\n\t\t\t\t\t[target]="target"\n\t\t\t\t\t[href]="href"\n\t\t\t\t>\n\n\t\t\t\t\t<ng-container\n\t\t\t\t\t\t*ngTemplateOutlet="iconContent"\n\t\t\t\t\t></ng-container>\n\t\t\t\t</a>\n\n\t\t\t\t\x3c!-- Option 3 --\x3e\n\t\t\t\t<button\n\t\t\t\t\t*ngIf="!router && !href"\n\t\t\t\t\t[id]="id+\'LinkButton\'"\n\t\t\t\t\tclass="rbc-menu-link"\n\t\t\t\t>\n\t\t\t\t\t<ng-container\n\t\t\t\t\t\t*ngTemplateOutlet="iconContent"\n\t\t\t\t\t></ng-container>\n\t\t\t\t</button>\n\t\t\t</ng-container>\n\t\t\t<ng-template #iconContent>\n\t\t\t\t<rbc-icon\n\t\t\t\t\t*ngIf="icon"\n\t\t\t\t\t[icon]="icon"\n\t\t\t\t\t[type]="iconWeight"\n\t\t\t\t\tclass="rbc-menu-item-icon"\n\t\t\t\t></rbc-icon>\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</ng-template>\n\t\t</span>\n\t',encapsulation:e.ViewEncapsulation.None}]}],xt.ctorParameters=function(){return[{type:h}]},xt.propDecorators={href:[{type:e.Input}],divider:[{type:e.Input}],icon:[{type:e.Input}],iconWeight:[{type:e.Input}],router:[{type:e.Input}],routerTo:[{type:e.Input}],routeObject:[{type:e.Input}],target:[{type:e.Input}],id:[{type:e.Input}],clickEvent:[{type:e.Output}],classList:[{type:e.HostBinding,args:["class"]},{type:e.Input,args:["class"]}],onClick:[{type:e.HostListener,args:["click",["$event"]]}]};var kt=function(){};kt.decorators=[{type:e.NgModule,args:[{declarations:[Ct,xt],imports:[n.CommonModule,Z,f,l.RouterModule],exports:[Ct,xt]}]}];var St=function(){};St.decorators=[{type:e.NgModule,args:[{declarations:[bt,mt],imports:[n.CommonModule,It,f,kt,l.RouterModule,a.FormsModule,gt],exports:[bt,mt]}]}];var Tt=function(){function t(t,n,i,a){this.idService=t,this.popoverService=n,this.cdr=i,this.eRef=a,this.active=!1,this.size="medium",this.clickable=!0,this.hoverable=!1,this.icon="question-circle",this.iconWeight="regular",this.labelTrigger="Toggle tooltip",this.position="bottom",this.positionX="center",this.transition="opacity-transform",this.absolute=!1,this.headingTag="h5",this.popoverToggle=new e.EventEmitter,this.onButtonClick=new e.EventEmitter,this.clickListener=this.$_Popover_toggleClose.bind(this),this.id=this.idService.generate()}return Object.defineProperty(t.prototype,"isOpen",{get:function(){return this.popoverService.isOpen||this.active},set:function(t){this.popoverService.isOpen=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contentSlotExists",{get:function(){return!!this.contentSlot&&!!this.contentSlot.nativeElement.children.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"triggerSlotExists",{get:function(){return!!this.triggerSlot&&!!this.triggerSlot.nativeElement.children.length},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classGen",{get:function(){return[this.position?"rbc-tooltip-"+this.position:"rbc-tooltip-bottom","small"!==this.size||this.title||this.contentSlotExists?"":"rbc-tooltip-small","large"===this.size||this.title||this.contentSlotExists?"rbc-tooltip-large":"",this.overflowLeft?"rbc-tooltip-overflow":"","left"===this.positionX?"rbc-tooltip-flush-left":"","right"===this.positionX?"rbc-tooltip-flush-right":"","center"===this.positionX?"rbc-tooltip-center":""]},enumerable:!0,configurable:!0}),t.prototype.onMouseOver=function(t){t.preventDefault(),this.hoverToggle(!0)},t.prototype.onMouseOut=function(t){t.preventDefault(),this.hoverToggle(!1)},Object.defineProperty(t.prototype,"topGen",{get:function(){return this.popoverService.topGen()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"leftGen",{get:function(){return this.popoverService.leftGen()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"overflowLeft",{get:function(){return this.popoverService.overflowLeft()},enumerable:!0,configurable:!0}),t.prototype.animationDone=function(t){!0===t.toState&&this.content&&this.content&&this.self&&(this.popoverService.syncProps({clickable:this.clickable,active:this.active,hover:this.hoverable,position:this.position,positionX:this.positionX,offset:10,triggerRef:this.self.nativeElement,popoverRef:this.content.nativeElement,absolute:this.absolute,pageOffset:window.pageYOffset}),this.popoverService.enter(this.content.nativeElement))},t.prototype.ngOnDestroy=function(){this.idService&&this.idService.remove(this.id),this.$popoverToggleSub&&this.$popoverToggleSub.unsubscribe(),this.isOpen=!1},t.prototype.toggle=function(t){var e=this,n=this.content.nativeElement;this.clickable&&!(n===t.target||n&&n.contains(t.target))&&(this.isOpen=!this.isOpen,this.popoverToggle.emit(this.isOpen),this.isOpen?["click","touchend","keydown"].forEach((function(t){return document.addEventListener(t,e.clickListener)})):["click","touchend","keydown"].forEach((function(t){return document.removeEventListener(t,e.clickListener)})))},t.prototype.hoverToggle=function(t){var e=this;this.hoverable&&setTimeout((function(){e.isOpen=t,e.cdr.markForCheck()}),250)},t.prototype.$_Popover_toggleClose=function(t){var e=this,n=this.self.nativeElement,i=this.content.nativeElement;t.key&&-1!=t.key.toLowerCase().indexOf("tab")&&setTimeout((function(){i.contains(document.activeElement)||e.$_Popover_close(t)})),(t.key&&-1!=t.key.toLowerCase().indexOf("esc")||n!==t.target&&!n.contains(t.target)&&i&&i!==t.target&&!i.contains(t.target))&&this.$_Popover_close(t)},t.prototype.$_Popover_close=function(t){var e=this;this.isOpen=!1,this.cdr.markForCheck(),this.absolute&&this.button.nativeElement&&this.button.nativeElement.focus(),["click","touchend","keydown"].forEach((function(t){return document.removeEventListener(t,e.clickListener)}))},t}();Tt.decorators=[{type:e.Component,args:[{selector:"rbc-tooltip",template:'\n\t\t<div\n\t\t\t#self\n\t\t\t[id]="id"\n\t\t\t[ngClass]="{ open: isOpen, \'rbc-tooltip-relative\': !absolute }"\n\t\t\tclass="rbc-tooltip"\n\t\t\t(click)="toggle($event)"\n\t\t\t(mouseleave)="hoverable ? onMouseOut($event): null"\n\t\t\t(mouseenter)="hoverable ? onMouseOver($event) : null"\n\t\t>\n\t\t\t<slot #triggerSlot>\n\t\t\t\t<ng-content select="[trigger]"> </ng-content>\n\t\t\t</slot>\n\n\t\t\t<ng-container *ngIf="!triggerSlot.children.length">\n\t\t\t\t<ng-container\n\t\t\t\t\t*ngTemplateOutlet="triggerDefaultTmp"\n\t\t\t\t></ng-container>\n\t\t\t</ng-container>\n\t\t\t<div\n\t\t\t\t#content\n\t\t\t\t[@opacity]="{value: isOpen}"\n\t\t\t\t(@opacity.start)="animationDone($event)"\n\t\t\t\t[id]="\'tooltipContent\' + id"\n\t\t\t\tclass="rbc-tooltip-content"\n\t\t\t\trole="tooltip"\n\t\t\t\ttabindex="-1"\n\t\t\t\trole="tooltip"\n\t\t\t\t[ngStyle]="{\n\t\t\t\t\t\'top\': topGen + \'px\',\n\t\t\t\t\t\'left\': (overflowLeft || leftGen) + \'px\'\n\t\t\t\t}"\n\t\t\t\t[ngClass]="classGen">\n\t\t\t\t<ng-container *ngTemplateOutlet="headings"></ng-container>\n\t\t\t\t<span *ngIf="text" class="rbc-tooltip-text" [innerHTML]="text"></span>\n\t\t\t\t<div #contentSlot>\n\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<ng-template #headings>\n\t\t\t<ng-container *ngIf="title">\n\t\t\t\t<ng-container *ngIf="headingTag == \'h2\'">\n\t\t\t\t\t<h2 class="rbc-tooltip-title" [innerHTML]="title"></h2>\n\t\t\t\t</ng-container>\n\t\t\t\t<ng-container *ngIf="headingTag == \'h3\'">\n\t\t\t\t\t<h3 class="rbc-tooltip-title" [innerHTML]="title"></h3>\n\t\t\t\t</ng-container>\n\t\t\t\t<ng-container *ngIf="headingTag == \'h4\'">\n\t\t\t\t\t<h4 class="rbc-tooltip-title" [innerHTML]="title"></h4>\n\t\t\t\t</ng-container>\n\t\t\t\t<ng-container *ngIf="headingTag == \'h5\'">\n\t\t\t\t\t<h5 class="rbc-tooltip-title" [innerHTML]="title"></h5>\n\t\t\t\t</ng-container>\n\t\t\t\t<ng-container *ngIf="headingTag == \'h6\'">\n\t\t\t\t\t<h6 class="rbc-tooltip-title" [innerHTML]="title"></h6>\n\t\t\t\t</ng-container>\n\t\t\t</ng-container>\n\t\t</ng-template>\n\n\t\t<ng-template #triggerDefaultTmp>\n\t\t\t<button\n\t\t\t\t#button\n\t\t\t\t*ngIf= "!triggerSlotExists"\n\t\t\t\t[attr.aria-label]= "labelTrigger"\n\t\t\t\t[attr.aria-describedby]= "isOpen ? \'tooltipContent\' + id : null"\n\t\t\t\t[attr.aria-expanded]= "isOpen ? true: false"\n\t\t\t\t[attr.aria-haspopup]= "true"\n\t\t\t\tclass="rbc-tooltip-trigger-icon"\n\t\t\t\t(click)="onButtonClick.emit($event)">\n\t\t\t\t<rbc-icon\n\t\t\t\t\t[type]= "iconWeight"\n\t\t\t\t\t[icon]= "icon ? icon : \'question-circle\'"\n\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t[attr.aria-hidden]="true"\n\t\t\t\t>\n\t\t\t\t</rbc-icon>\n\t\t\t</button>\n\t\t</ng-template>\n\t',providers:[wt],encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.OnPush,animations:[c.trigger("opacity",[c.state("true",c.style({opacity:1})),c.state("false",c.style({opacity:0,visibility:"hidden"})),c.state("void",c.style({opacity:0,visibility:"hidden"})),c.transition("* => false",[c.style({opacity:0,visibility:"hidden"}),c.animate("250ms ease-in")]),c.transition("* => true",c.animate("250ms ease-out"))])]}]}],Tt.ctorParameters=function(){return[{type:h},{type:wt},{type:e.ChangeDetectorRef},{type:e.ElementRef}]},Tt.propDecorators={active:[{type:e.Input}],size:[{type:e.Input}],clickable:[{type:e.Input}],hoverable:[{type:e.Input}],icon:[{type:e.Input}],iconWeight:[{type:e.Input}],id:[{type:e.Input}],labelTrigger:[{type:e.Input}],text:[{type:e.Input}],position:[{type:e.Input}],positionX:[{type:e.Input}],title:[{type:e.Input}],transition:[{type:e.Input}],absolute:[{type:e.Input}],headingTag:[{type:e.Input}],popoverToggle:[{type:e.Output}],onButtonClick:[{type:e.Output}],self:[{type:e.ViewChild,args:["self",{static:!1}]}],button:[{type:e.ViewChild,args:["button",{static:!1}]}],content:[{type:e.ViewChild,args:["content",{static:!1}]}],contentSlot:[{type:e.ViewChild,args:["contentSlot",{static:!1}]}],triggerSlot:[{type:e.ViewChild,args:["triggerSlot",{static:!1}]}]};var Dt=function(){};Dt.decorators=[{type:e.NgModule,args:[{declarations:[Tt],imports:[n.CommonModule,Z,f],exports:[Tt]}]}];var Ot=function(){function t(){this._changed=new Array,this._touched=new Array,this.destroy$=new o.Subject}return Object.defineProperty(t.prototype,"disabledState",{get:function(){return this._isDisabled},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"innerValue",{get:function(){return this._innerValue},set:function(t){this._innerValue=t},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){t&&t.disabled&&this.setDisabledState(t.disabled.currentValue),t&&t.isDisabled&&this.setDisabledState(t.isDisabled.currentValue)},t.prototype.ngOnDestroy=function(){this.destroy$.next(!0),this.destroy$.complete()},t.prototype.setModel=function(t){this.innerValue!==t&&(this.innerValue=t,this.changed(t))},t.prototype.changed=function(t){this._changed.forEach((function(e){return e(t)}))},t.prototype.touch=function(){this._touched.forEach((function(t){return t()}))},t.prototype.writeValue=function(t){this.innerValue=t},t.prototype.registerOnChange=function(t){this._changed.push(t)},t.prototype.registerOnTouched=function(t){this._touched.push(t)},t.prototype.setDisabledState=function(t){this._isDisabled=t},t}();var Et=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return G(e,t),e}(Ot),Lt=function(t){function n(n){var i=t.call(this)||this;return i.idService=n,i.showError=!1,i.cols=!1,i.disabled=!1,i.errorLabel="Invalid",i.placeholder="",i.readonly=!1,i.required=!1,i.resizing=!1,i.rows=!1,i.size="medium",i.triggerAfter=0,i.modelChange=new e.EventEmitter,i.textAreaUpdate=new e.EventEmitter,i.id=n.generate(),i}return G(n,t),n.prototype.ngOnChanges=function(e){t.prototype.ngOnChanges.call(this,e),e&&e.model&&this.writeValue(e.model.currentValue)},n.prototype.ngOnInit=function(){if(null===this.rows)throw new Error("Define the number of rows of the textarea component "+this.id)},n.prototype.ngOnDestroy=function(){this.idService.remove(this.id),t.prototype.ngOnDestroy.call(this)},n.prototype.calculateClasses=function(){var t={};return t.resizable=this.resizing,t["rbc-textarea-"+this.size]=this.size,t[this.statusType]=this.statusType&&this.status,t},n.prototype.describedbyGen=function(){var t;if(this.status||this.helpText){var e=((t={})[this.id+"Status"]=this.status,t[this.id+"HelpText"]=this.helpText,t);return Object.keys(e).filter((function(t){return e[t]})).join(" ")}return null},n.prototype.processChange=function(t){this.showError=this.error(),this.setModel(t),this.innerValue.length>=this.triggerAfter&&(this.innerValue=t,this.modelChange.emit(this.innerValue),this.textAreaUpdate.emit({id:this.id,value:this.innerValue}))},n.prototype.error=function(){return!!this.required&&""===this.innerValue},n}(Et);Lt.decorators=[{type:e.Component,args:[{selector:"rbc-textarea",template:'\n\t\t<div class="rbc-textarea">\n\t\t\t\x3c!-- Label --\x3e\n\t\t\t<div #labelText class="input-label">\n\t\t\t\t<ng-content select="[label]"></ng-content>\n\t\t\t</div>\n\t\t\t\x3c!-- Label text --\x3e\n\t\t\t<rbc-label\n\t\t\t\t*ngIf="label"\n\t\t\t\t[id]="id + \'Label\'"\n\t\t\t\t[for]="id"\n\t\t\t\t[text]="label"\n\t\t\t\t[required]="required && showRequired"\n\t\t\t\t[srOnly]="labelSrOnly">\n\t\t\t</rbc-label>\n\n\t\t\t\x3c!-- Help text --\x3e\n\t\t\t<rbc-help-text\n\t\t\t\t*ngIf="helpText"\n\t\t\t\t[id]="id + \'HelpText\'"\n\t\t\t\t[text]="helpText"\n\t\t\t\t[srOnly]="helpTextSrOnly"\n\t\t\t></rbc-help-text>\n\n\t\t\t<textarea\n\t\t\t\t[id]="id"\n\t\t\t\t[attr.name]="name"\n\t\t\t\t[placeholder]="placeholder"\n\t\t\t\t[attr.aria-describedby]="describedbyGen()"\n\t\t\t\t[ngModel]="innerValue"\n\t\t\t\t(ngModelChange)="processChange($event)"\n\t\t\t\t[ngClass]="calculateClasses()"\n\t\t\t\t[attr.cols]= "cols ? cols : null"\n\t\t\t\t[attr.rows]= "rows ? rows : null"\n\t\t\t\t[attr.maxlength]= "maxlength ? maxlength : null"\n\t\t\t\t[attr.wrap]= "wrap ? wrap : null"\n\t\t\t\t[disabled]= "disabled"\n\t\t\t\t[attr.readonly]= "readonly ? \'\' : null"\n\t\t\t\t[attr.required]= "required ? \'\' : null"\n\t\t\t\t#textAreaElement\n\t\t\t\t(blur)="touch()"\n\t\t\t\tclass="rbc-textarea-control"\n\t\t\t></textarea>\n\n\t\t\t<ng-container select="[status]">\n\t\t\t\t<rbc-status\n\t\t\t\t\t*ngIf="status"\n\t\t\t\t\t[id]="id + \'Status\'"\n\t\t\t\t\t[text]="status"\n\t\t\t\t\t[type]="statusType">\n\t\t\t\t\t<ng-content select="[status-content]"></ng-content>\n\t\t\t\t</rbc-status>\n\t\t\t</ng-container>\n\t\t</div>\n\t',encapsulation:e.ViewEncapsulation.None,providers:[{provide:a.NG_VALUE_ACCESSOR,multi:!0,useExisting:e.forwardRef((function(){return Lt}))}]}]}],Lt.ctorParameters=function(){return[{type:h}]},Lt.propDecorators={id:[{type:e.Input}],cols:[{type:e.Input}],disabled:[{type:e.Input}],errorLabel:[{type:e.Input}],helpText:[{type:e.Input}],label:[{type:e.Input}],maxlength:[{type:e.Input}],name:[{type:e.Input}],placeholder:[{type:e.Input}],readonly:[{type:e.Input}],required:[{type:e.Input}],showRequired:[{type:e.Input}],resizing:[{type:e.Input}],rows:[{type:e.Input}],wrap:[{type:e.Input}],model:[{type:e.Input}],status:[{type:e.Input}],size:[{type:e.Input}],statusType:[{type:e.Input}],triggerAfter:[{type:e.Input}],labelSrOnly:[{type:e.Input}],helpTextSrOnly:[{type:e.Input}],modelChange:[{type:e.Output}],textAreaUpdate:[{type:e.Output}]};var _t=function(){};_t.decorators=[{type:e.NgModule,args:[{declarations:[Lt],imports:[n.CommonModule,a.FormsModule,ot,st,ct],exports:[Lt]}]}];var Pt=function(t){function n(n){var i=t.call(this)||this;return i.idService=n,i.checkable=!1,i.checked=!1,i.name="info",i.size="medium",i.tagUpdate=new e.EventEmitter,i.id=n.generate(),i}return G(n,t),n.prototype.ngOnChanges=function(e){t.prototype.ngOnChanges.call(this,e),e&&e.checked&&this.writeValue(e.checked.currentValue)},n.prototype.ngOnDestroy=function(){this.idService.remove(this.id),t.prototype.ngOnDestroy.call(this)},n.prototype.removeFocus=function(){this.$control.nativeElement.blur(),this.mouseoutObservable=null},n.prototype.emitTagUpdate=function(){this.setModel(!this.innerValue),this.tagUpdate.emit({name:this.name,checked:this.innerValue}),this.mouseoutObservable||(this.mouseoutObservable=o.fromEvent(this.tagWrapper.nativeElement,"mouseout"),this.mouseoutObservable.pipe(r.take(1)).subscribe(this.removeFocus.bind(this)))},n}(Et);Pt.decorators=[{type:e.Component,args:[{selector:"rbc-tag",template:'\n\t\t<div\n\t\t\t*ngIf="checkable; else alternative"\n\t\t\tclass="rbc-tag"\n\t\t\t(blur)="touch()"\n\t\t\t#tagWrapper\n\t\t>\n\t\t\t<input\n\t\t\t\t#control\n\t\t\t\t[id]="id"\n\t\t\t\t[checked]="innerValue"\n\t\t\t\t[ngModel]="innerValue"\n\t\t\t\t[disabled]="disabled"\n\t\t\t\t[name]="name"\n\t\t\t\tclass="rbc-tag-control"\n\t\t\t\ttype="checkbox"\n\t\t\t\t(change)="emitTagUpdate()"\n\t\t\t/>\n\t\t\t<label\n\t\t\t\t[id]="id+\'Label\'"\n\t\t\t\t[ngClass]="{\n\t\t\t\t\tdisabled: disabled,\n\t\t\t\t\t\'rbc-tag-small\': size == \'small\',\n\t\t\t\t\t\'rbc-tag-medium\': size == \'medium\',\n\t\t\t\t\t\'rbc-tag-large\': size == \'large\'\n\t\t\t\t}"\n\t\t\t\t[ngStyle]="{\n\t\t\t\t\theight: height && size === \'large\' ? height : null\n\t\t\t\t}"\n\t\t\t\t[for]="id"\n\t\t\t\tclass="rbc-tag-label"\n\t\t\t>\n\t\t\t\t<ng-container *ngTemplateOutlet="defaultContent"></ng-container>\n\t\t\t\t<rbc-icon\n\t\t\t\t\taria-hidden="true"\n\t\t\t\t\tclass="rbc-tag-icon"\n\t\t\t\t\ticon="times"\n\t\t\t\t\trole="none"\n\t\t\t\t></rbc-icon>\n\t\t\t</label>\n\t\t</div>\n\n\t\t<ng-template #alternative>\n\t\t\t<span\n\t\t\t\t[id]="id"\n\t\t\t\t[ngClass]="{\n\t\t\t\t\t\'rbc-tag-small\': size == \'small\',\n\t\t\t\t\t\'rbc-tag-medium\': size == \'medium\',\n\t\t\t\t\t\'rbc-tag-large\': size == \'large\'\n\t\t\t\t}"\n\t\t\t\tclass="rbc-tag-label"\n\t\t\t>\n\t\t\t\t<ng-container *ngTemplateOutlet="defaultContent"></ng-container>\n\t\t\t</span>\n\t\t</ng-template>\n\n\t\t<ng-template #defaultContent> <ng-content></ng-content> </ng-template>\n\t',encapsulation:e.ViewEncapsulation.None,providers:[{provide:a.NG_VALUE_ACCESSOR,multi:!0,useExisting:e.forwardRef((function(){return Pt}))}]}]}],Pt.ctorParameters=function(){return[{type:h}]},Pt.propDecorators={checkable:[{type:e.Input}],checked:[{type:e.Input}],disabled:[{type:e.Input}],height:[{type:e.Input}],id:[{type:e.Input}],name:[{type:e.Input}],size:[{type:e.Input}],tagUpdate:[{type:e.Output}],$control:[{type:e.ViewChild,args:["control",{static:!1}]}],tagWrapper:[{type:e.ViewChild,args:["tagWrapper",{static:!1}]}]};var Mt=function(){};Mt.decorators=[{type:e.NgModule,args:[{declarations:[Pt],imports:[n.CommonModule,f,a.FormsModule],exports:[Pt]}]}];var Rt=function(t){var e=this;this.location=t,this.urlChanged=new o.Subject,this.location.onUrlChange((function(t,n){e.urlChanged.next({url:t,state:n})}))};Rt.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],Rt.ctorParameters=function(){return[{type:n.Location}]},Rt.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new Rt(e.ɵɵinject(n.Location))},token:Rt,providedIn:"root"});var At=function(){function t(t){this.idService=t,this.disabled=!1,this.hasTransition=!0,this.router=!1,this.index=0,this.isActive=!1}return Object.defineProperty(t.prototype,"slideIn",{get:function(){return this.isActive},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.id=this.id?this.id:this.idService.generate()},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t}();At.decorators=[{type:e.Component,args:[{selector:"rbc-tab-content",template:'<div\n\t[id]="id"\n\t*ngIf="isActive"\n\tclass="rbc-tab-content" role="tabpanel" [attr.aria-labelledby]= "id + \'-tab\'">\n\t\t<div class="rbc-tab-content-body"><ng-content></ng-content></div>\n</div>\n',animations:[c.trigger("opacity",[c.state("true",c.style({opacity:1})),c.state("false",c.style({opacity:0})),c.transition("true => false",c.animate("550ms ease-in")),c.transition("false => true",c.animate("550ms ease-out"))])]}]}],At.ctorParameters=function(){return[{type:h}]},At.propDecorators={id:[{type:e.Input}],name:[{type:e.Input}],disabled:[{type:e.Input}],hasTransition:[{type:e.Input}],routerTo:[{type:e.Input}],router:[{type:e.Input}],slideIn:[{type:e.HostBinding,args:["@opacity"]}]};var $t=function(){function t(t,n,i){this.idService=t,this.routerService=n,this.location=i,this.disabled=!1,this.scrollable=!1,this.transition=!1,this.showAllLabel="Show all",this.router=!1,this.arrowLeftLabel="Move left",this.arrowRightLabel="Move right",this.tabupdate=new e.EventEmitter,this.direction="right",this.scrollDisabledLeft=!0,this.scrollDisabledRight=!1,this.isScrollable=!1,this.contentTransitionState=!0,this.content=!0}return Object.defineProperty(t.prototype,"current",{get:function(){return this._current},set:function(t){this._current=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.id=this.id?this.id:this.idService.generate(),this.router&&(this.urlService=this.location.urlChanged.subscribe((function(e){t.current=e.url,t.setCurrentProgrammatically(!0)})))},t.prototype.ngAfterContentInit=function(){this.setCurrentProgrammatically()},t.prototype.ngOnChanges=function(){this.setCurrentProgrammatically()},t.prototype.ngAfterViewInit=function(){this.content=this.tabList.nativeElement.childNodes.length>1},t.prototype.ngAfterViewChecked=function(){this.determineIfScrollable()},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id),this.router&&this.urlService.unsubscribe()},t.prototype.setCurrentProgrammatically=function(t){var e,n=this,i=(this.default,this);this.tabs&&this.tabs.length&&(i.current&&"all"!==i.current?((e=i.tabs.filter((function(t){return n.router?t.routerTo===n.current:t.id===n.current}))[0]||i.tabs.first).isActive=!0,i.preSwitchTab(e,null,t)):(e=i.tabs.filter((function(t){return n.router?t.routerTo===n.routerService.url:!t.disabled}))[0])&&(e.isActive=!0,i.preSwitchTab(e,null,t)))},t.prototype.determineIfScrollable=function(){this.tabList&&this.tabWrap&&(this.isScrollable=!(this.tabList.nativeElement.scrollWidth<=this.tabWrap.nativeElement.offsetWidth))},Object.defineProperty(t.prototype,"contentClassGen",{get:function(){var t={};return t["rbc-tab-"+this.direction]=this.transition,t["rbc-tab-transition-quick"]=this.showAll,t["rbc-tab-show-all"]=this.showAll,t},enumerable:!0,configurable:!0}),t.prototype.calculateClasses=function(){var t={};return t["rbc-tab-disabled"]=this.disabled,t["rbc-tab-scrollable"]=this.isScrollable,t["rbc-tab-"+this.size]=this.size,t["rbc-tab-flush"]=this.flush,t},t.prototype.getBgColor=function(t){return void 0===t&&(t="left"),{"background-image":"left"===t&&this.scrollColor?"linear-gradient(to left, rgba("+this.scrollColor+", 0) 0%, rgba("+this.scrollColor+", 1) 40%)":"linear-gradient(to left, rgba("+this.scrollColor+", 1) 60%, rgba("+this.scrollColor+", 0) 100%)"}},t.prototype.toggleContentTransition=function(){this.contentTransitionState=!this.contentTransitionState},t.prototype.determineNextActiveDirection=function(t,e){return e>t?"right":"left"},t.prototype.determineLastActiveDirection=function(t,e){return t>e?"right":"left"},t.prototype.preSwitchTab=function(t,e,n){var i=this;void 0===e&&(e=null),void 0===n&&(n=!1),this.nextActiveTab=t;var a=this.tabs.toArray();this.disabled||t.disabled||(this.nextActiveIndex=a.indexOf(t),a.forEach((function(t,e){t.isActive&&(i.lastActiveIndex=e),i.transition?(t.hasTransition=!0,i.direction=i.determineLastActiveDirection(e,i.nextActiveIndex),i.toggleContentTransition()):i.transition||(t.hasTransition=!1),t.isActive=!1})),this.transition||(this.router?(this.nextActiveTab.isActive=!0,this.tabupdate.emit({active:this.nextActiveTab.name,id:this.nextActiveTab.id}),this.current=t.routerTo,n||this.routerService.navigateByUrl(t.routerTo)):(this.nextActiveTab.isActive=!0,this.tabupdate.emit({active:this.nextActiveTab.name,id:this.nextActiveTab.id}),this.current=this.nextActiveTab.id),delete this.nextActiveTab,delete this.nextActiveIndex,delete this.lastActiveIndex),e&&this.isScrollable&&this.scrollLink(e.target))},t.prototype.onTransitionEvent=function(t){switch(t.type){case"leave-complete":null!=this.lastActiveIndex&&null!=this.nextActiveIndex&&(this.direction=this.determineNextActiveDirection(this.lastActiveIndex,this.nextActiveIndex),this.toggleContentTransition(),delete this.lastActiveIndex,delete this.nextActiveIndex);break;case"enter":this.nextActiveTab&&(this.nextActiveTab.isActive=!0);break;case"enter-complete":this.tabupdate.emit({active:this.nextActiveTab.name,id:this.nextActiveTab.id}),delete this.nextActiveTab}},t.prototype.scrollTabs=function(t){var e=this.tabWrap.nativeElement.offsetWidth,n=this.tabWrap.nativeElement.scrollLeft,i=.75*e,a=e/15;a="right"===t?a:-a,this.scrollTo(this.tabWrap.nativeElement,a,t,n,i)},t.prototype.scrollLink=function(t){var e=t.getBoundingClientRect(),n=this.tabWrap.nativeElement.getBoundingClientRect(),i=this.tabWrap.nativeElement.getBoundingClientRect(),a=this.tabWrap.nativeElement.scrollLeft;if(!this.scrollDisabledLeft&&e.x<n.x+35){var o=n.x-e.x+35;this.scrollTo(this.tabWrap.nativeElement,-10,"left",a,o)}else if(!this.scrollDisabledRight&&e.x+e.width>i.x+i.width-35){o=e.x+e.width-(i.x+i.width)+35;this.scrollTo(this.tabWrap.nativeElement,10,"right",a,o)}},t.prototype.scrollTo=function(t,e,n,i,a){var o;void 0===n&&(n="right");var r=this.tabWrap.nativeElement.firstChild.scrollWidth,s=t.offsetWidth,l=t.scrollLeft;t.scrollLeft=l+e;var c=(o=this.scrollTo).bind.apply(o,J([this],arguments));("right"===n&&l<=i+a&&l+s<r||"left"===n&&l>=i-a&&l>0)&&requestAnimationFrame(c)},t.prototype.updateArrows=function(){var t=Math.round(this.tabWrap.nativeElement.getBoundingClientRect().width),e=this.tabWrap.nativeElement.scrollLeft;this.scrollDisabledLeft=e<=0,this.scrollDisabledRight=e+t>=this.tabWrap.nativeElement.scrollWidth},t}();$t.decorators=[{type:e.Component,args:[{selector:"rbc-tab",template:'<div *ngIf="content"  id="{{ id }}" class="rbc-tab" [ngClass]="calculateClasses()">\n\t<nav class="rbc-tab-nav" [attr.aria-label]="id">\n\t\t\t<button\n\t\t\t\t*ngIf="isScrollable && !scrollDisabledLeft"\n\t\t\t\t[@opacity-left]="{value:isScrollable && !scrollDisabledLeft}"\n\t\t\t\t[id]="id+\'ArrowLeftButton\'"\n\t\t\t\t[ngStyle]="getBgColor(\'left\')"\n\t\t\t\tclass="rbc-tab-scroll-button rbc-tab-scroll-button-left"\n\t\t\t\t(click)="scrollTabs(\'left\')"\n\t\t\t\t[disabled]="disabled"\n\t\t\t>\n\t\t\t\t<rbc-icon\n\t\t\t\t\tclass="rbc-tab-scroll-button-icon"\n\t\t\t\t\ticon="angle-left"\n\t\t\t\t\ttype="solid"\n\t\t\t\t\t[attr.aria-hidden]="true"\n\t\t\t\t></rbc-icon>\n\t\t\t\t<span class="sr-only"> {{ arrowLeftLabel }} </span>\n\t\t\t</button>\n\t\t<div class="rbc-tab-scroll-wrap" #tabWrap (scroll)="updateArrows()">\n\t\t\t<ul class="rbc-tab-items" role="tablist" #tabList>\n\t\t\t\t<li\n\t\t\t\t\t*ngFor="let tab of tabs.toArray(); index as index"\n\t\t\t\t\tclass="rbc-tab-item"\n\t\t\t\t\trole="tab"\n\t\t\t\t\t[attr.aria-selected]="tab.isActive ? \'true\' : \'false\'"\n\t\t\t\t\t[attr.key]="tab.id">\n\t\t\t\t\t<ng-container *ngIf="tab.router; else notRouter">\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\tid="{{ tab.id }}-tab"\n\t\t\t\t\t\t\tclass="rbc-tab-link"\n\t\t\t\t\t\t\trole="tab"\n\t\t\t\t\t\t\t[ngClass]="{\'active\': tab.isActive, disabled: tab.disabled || disabled}"\n\t\t\t\t\t\t\t[attr.aria-controls]="tab.isActive ? tab.id : \'\'"\n\t\t\t\t\t\t\t[attr.aria-selected]="tab.isActive ? \'true\' : \'false\'"\n\t\t\t\t\t\t\t[disabled]="tab.disabled || disabled"\n\t\t\t\t\t\t\t(click)="preSwitchTab(tab, $event)"\n\t\t\t\t\t\t\t(focus)="scrollLink($event.target)"\n\t\t\t\t\t\t\trouterLinkActive="active" #rla="routerLinkActive"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<span class="rbc-tab-link-text" tabindex="-1">{{tab.name}}</span>\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</ng-container>\n\t\t\t\t\t<ng-template #notRouter>\n\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\tid="{{ tab.id }}-tab"\n\t\t\t\t\t\t\tclass="rbc-tab-link"\n\t\t\t\t\t\t\thref="javascript:;"\n\t\t\t\t\t\t\trole="tab"\n\t\t\t\t\t\t\t[ngClass]="{\'active\': tab.isActive, disabled: tab.disabled || disabled}"\n\t\t\t\t\t\t\t[attr.aria-controls]="tab.isActive ? tab.id : \'\'"\n\t\t\t\t\t\t\t[attr.aria-selected]="tab.isActive ? \'true\' : \'false\'"\n\t\t\t\t\t\t\t[disabled]="tab.disabled || disabled"\n\t\t\t\t\t\t\t(click)="preSwitchTab(tab, $event)"\n\t\t\t\t\t\t\t(focus)="scrollLink($event.target)">\n\t\t\t\t\t\t\t<span class="rbc-tab-link-text" tabindex="-1"> {{ tab.name }} </span>\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</ng-template>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\t\t<button\n\t\t\t*ngIf="isScrollable && !scrollDisabledRight"\n\t\t\t[@opacity-right]="{value:isScrollable && !scrollDisabledRight}"\n\t\t\t[id]="id+\'ArrowRightButton\'"\n\t\t\t[ngStyle]="getBgColor(\'right\')"\n\t\t\tclass="rbc-tab-scroll-button rbc-tab-scroll-button-right"\n\t\t\t(click)="scrollTabs(\'right\')">\n\t\t\t<rbc-icon\n\t\t\t\tclass="rbc-tab-scroll-button-icon"\n\t\t\t\ticon="angle-right"\n\t\t\t\ttype="solid"\n\t\t\t\t[attr.aria-hidden]="true"\n\t\t\t></rbc-icon>\n\t\t\t<span class="sr-only"> {{ arrowRightLabel }} </span>\n\t\t</button>\n\t</nav>\n\n\t<section class="rbc-tab-content-wrap" [ngClass]="contentClassGen">\n\t\t<ng-content></ng-content>\n\t</section>\n</div>\n',encapsulation:e.ViewEncapsulation.None,animations:[c.trigger("opacity-left",[c.transition(":enter",[c.style({opacity:0,transform:"translateX(-1.5rem)"}),c.animate("0.2s",c.style({opacity:1,transform:"translateX(0)"}))]),c.transition(":leave",[c.animate("0.2s",c.style({opacity:0,transform:"translateX(-1.5rem)"}))])]),c.trigger("opacity-right",[c.transition(":enter",[c.style({opacity:0,transform:"translateX(1.5rem)"}),c.animate("0.2s",c.style({opacity:1,transform:"translateX(0)"}))]),c.transition(":leave",[c.animate("0.2s",c.style({opacity:0,transform:"translateX(1.5rem)"}))])]),c.trigger("opacity",[c.transition(":enter",[c.style({opacity:0,transform:"translateX(-100%)"}),c.animate("550ms ease-in",c.style({opacity:1,transform:"translateX(0%)"}))]),c.transition(":leave",[c.style({position:"absolute",top:"0",left:"0",width:"100%",transform:"translateX(0%)"}),c.animate("550ms",c.style({opacity:0,transform:"translateX(-10%)"}))])])],styles:[""]}]}],$t.ctorParameters=function(){return[{type:h},{type:l.Router},{type:Rt}]},$t.propDecorators={id:[{type:e.Input}],default:[{type:e.Input}],disabled:[{type:e.Input}],scrollable:[{type:e.Input}],scrollColor:[{type:e.Input}],size:[{type:e.Input}],transition:[{type:e.Input}],flush:[{type:e.Input}],showAll:[{type:e.Input}],showAllLabel:[{type:e.Input}],showAllFirst:[{type:e.Input}],router:[{type:e.Input}],current:[{type:e.Input}],arrowLeftLabel:[{type:e.Input}],arrowRightLabel:[{type:e.Input}],tabs:[{type:e.ContentChildren,args:[At]}],tabList:[{type:e.ViewChild,args:["tabList",{static:!1}]}],tabWrap:[{type:e.ViewChild,args:["tabWrap",{static:!1}]}],tabupdate:[{type:e.Output}]};var Ft=function(){};Ft.decorators=[{type:e.NgModule,args:[{declarations:[$t,At],imports:[n.CommonModule,f,l.RouterModule],exports:[$t,At]}]}];var Bt=function(){function t(t){var n=this;this.idService=t,this.disabled=!1,this.disableEventBus=!1,this.size="medium",this.switchUpdate=new e.EventEmitter,this.change=function(t){n.checked=t},this.onTouched=function(){},this.id=this.idService.generate()}return Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(t){this._checked=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.checked=t,this.switchUpdate.emit(t)},t.prototype.registerOnChange=function(t){this.change=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.updateSwitch=function(t){this.change(t.target.checked),this.checked=t.target.checked,this.switchUpdate.emit({id:this.id,checked:t.target.checked})},t.prototype.removeFocus=function(){this.control&&(this.control.nativeElement.blur(),this.mouseoutObservable=null)},Object.defineProperty(t.prototype,"classGen",{get:function(){var t={};return t.disabled=this.disabled,t["rbc-switch-"+this.size]=this.size,t},enumerable:!0,configurable:!0}),t}();Bt.decorators=[{type:e.Component,args:[{selector:"rbc-switch",template:'<div class="rbc-switch" #formSwitchWrapper>\n\t<input\n\t\t#control\n\t\t[id]="id"\n\t\t[disabled]="disabled"\n\t\t[attr.name]="name"\n\t\t[attr.aria-label]="\'switch\'"\n\t\t[attr.aria-checked]="checked"\n\t\t[checked]="checked"\n\t\tclass="rbc-switch-control"\n\t\ttype="checkbox"\n\t\t(change)="updateSwitch($event)"\n\t\t[attr.aria-describedby]="ariaDescribedby"\n\t/>\n\t<label class="rbc-switch-label" [for]="id">\n\t\t<span\n\t\t\tclass="rbc-switch-label-switch"\n\t\t\t[ngClass]="classGen"\n\t\t></span>\n\t\t<span\n\t\t\t[id]="id + \'Label\'"\n\t\t\t*ngIf="label"\n\t\t\tclass="rbc-switch-label-text"\n\t\t>\n\t\t\t{{ label }}\n\t\t</span>\n\t</label>\n</div>\n',encapsulation:e.ViewEncapsulation.None,providers:[{provide:a.NG_VALUE_ACCESSOR,multi:!0,useExisting:e.forwardRef((function(){return Bt}))}]}]}],Bt.ctorParameters=function(){return[{type:h}]},Bt.propDecorators={id:[{type:e.Input}],disabled:[{type:e.Input}],disableEventBus:[{type:e.Input}],label:[{type:e.Input}],name:[{type:e.Input}],size:[{type:e.Input}],value:[{type:e.Input}],ariaDescribedby:[{type:e.Input}],checked:[{type:e.Input}],switchUpdate:[{type:e.Output}],control:[{type:e.ViewChild,args:["control",{static:!1}]}],formSwitchWrapper:[{type:e.ViewChild,args:["formSwitchWrapper",{static:!1}]}]};var Vt=function(){};Vt.decorators=[{type:e.NgModule,args:[{declarations:[Bt],imports:[n.CommonModule,a.FormsModule],exports:[Bt]}]}];var Nt=function(){this.currentStepIndex=0,this.steps=[]};Nt.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],Nt.ctorParameters=function(){return[]},Nt.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new Nt},token:Nt,providedIn:"root"});var Ht=function(){function t(t,n){this.idService=t,this.stepsDataService=n,this.checked=!1,this._completed=!1,this.disabled=!1,this._passed=!1,this.completedChange=new e.EventEmitter,this.passedChange=new e.EventEmitter,this.isActive=!1,this.index=0,this.id=t.generate()}return Object.defineProperty(t.prototype,"completed",{get:function(){return this._completed},set:function(t){this._completed=t,this.completedChange.emit(this._completed)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"passed",{get:function(){return this._passed},set:function(t){this._passed=t,this.passedChange.emit(this._passed)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentStepID",{get:function(){return this.stepsDataService.currentStepID},set:function(t){this.stepsDataService.currentStepID=t},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.completeProgress=function(t){this.completed=t,this.active=!1},t}();Ht.decorators=[{type:e.Component,args:[{selector:"rbc-stepper-content",template:'<div *ngIf="id == currentStepID" [id]="contentId" class="rbc-stepper-content"><ng-content></ng-content></div>\n',encapsulation:e.ViewEncapsulation.None}]}],Ht.ctorParameters=function(){return[{type:h},{type:Nt}]},Ht.propDecorators={checked:[{type:e.Input}],disabled:[{type:e.Input}],helpText:[{type:e.Input}],id:[{type:e.Input}],label:[{type:e.Input}],completed:[{type:e.Input}],completedChange:[{type:e.Output}],passed:[{type:e.Input}],passedChange:[{type:e.Output}]};var jt=function(){function t(t,e){this.idService=t,this.stepsDataService=e,this.buttonHide=!1,this.buttonNextHide=!1,this.buttonNextText="Next",this.buttonPrevHide=!1,this.buttonPrevText="Previous",this.id=t.generate()}return t.prototype.ngAfterViewInit=function(){this.stepper.first.followFlow&&this.steps.toArray()[this.currentStepIndex].completeProgress(!0)},Object.defineProperty(t.prototype,"currentStepIndex",{get:function(){return this.stepsDataService.currentStepIndex},set:function(t){this.stepsDataService.currentStepIndex=t},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.StepperContainer_next=function(){var t=this.steps.toArray()[this.currentStepIndex+1]?this.steps.toArray()[this.currentStepIndex+1].id:-1;this.steps.toArray()[this.currentStepIndex].active=!1,this.$_StepperContainer_updateStep(t),this.stepper.first.followFlow&&(this.steps.toArray()[this.currentStepIndex].completeProgress(!0),this.steps.toArray()[this.currentStepIndex-1].completeProgress(!0),this.steps.toArray()[this.steps.toArray().length-1].completeProgress(!1))},t.prototype.StepperContainer_prev=function(){var t=this.steps.toArray()[this.currentStepIndex-1]?this.steps.toArray()[this.currentStepIndex-1].id:-1;this.$_StepperContainer_updateStep(t)},t.prototype.$_StepperContainer_updateStep=function(t){-1!==t&&this.steps.forEach((function(e){e.disabled=e.id!==t&&e.disabled,e.isActive=e.id===t})),this.currentStepContent=this.steps.filter((function(t){return t.isActive}))[0],this.currentStepIndex=this.steps.toArray().indexOf(this.currentStepContent)},t}();jt.decorators=[{type:e.Component,args:[{selector:"rbc-stepper-container",template:'<div [id]="id" class="rbc-stepper-container">\n\t<ng-content></ng-content>\n\t<div *ngIf="!buttonHide" class="rbc-stepper-buttons">\n\t\t<rbc-button *ngIf="!buttonPrevHide && currentStepIndex + 1 > 1" [id]="id +\'PreviousButton\'" (click)="StepperContainer_prev()">{{\n\t\t\tbuttonPrevText\n\t\t}}</rbc-button>\n\t\t<rbc-button *ngIf="!buttonNextHide && currentStepIndex + 1 < steps.length" [id]="id+\'NextButton\'" (click)="StepperContainer_next()">{{\n\t\t\tbuttonNextText\n\t\t}}</rbc-button>\n\t</div>\n</div>\n',providers:[Nt],encapsulation:e.ViewEncapsulation.None}]}],jt.ctorParameters=function(){return[{type:h},{type:Nt}]},jt.propDecorators={buttonHide:[{type:e.Input}],buttonNextHide:[{type:e.Input}],buttonNextText:[{type:e.Input}],buttonPrevHide:[{type:e.Input}],buttonPrevText:[{type:e.Input}],id:[{type:e.Input}],steps:[{type:e.ContentChildren,args:[Ht]}],stepper:[{type:e.ContentChildren,args:[e.forwardRef((function(){return zt}))]}]};var Ut=function(){return!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(navigator.userAgent.substr(0,4)))},zt=function(){function t(t,n,i){this.idService=t,this.parentComponent=n,this.stepsDataService=i,this.pointUpdate=new e.EventEmitter,this.msg="Default",this.progress=0,this.id=t.generate()}return Object.defineProperty(t.prototype,"currentStepIndex",{get:function(){return this.stepsDataService.currentStepIndex},set:function(t){this.stepsDataService.currentStepIndex=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentStepID",{get:function(){return this.stepsDataService.currentStepID},set:function(t){this.stepsDataService.currentStepID=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){return Y(this,void 0,void 0,(function(){return W(this,(function(t){switch(t.label){case 0:return!this.steps||0===this.steps.length&&this.parentComponent?[4,setTimeout((function(){}),10)]:[3,2];case 1:t.sent(),this.steps=this.parentComponent.steps.toArray(),t.label=2;case 2:return this.$_Stepper_setPoints(),[2]}}))}))},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.Stepper_updatePoint=function(t,e){if(t.active||this.steps[e].active){this.currentStepID=this.steps[e].id,this.currentStepIndex=e;var n=this.steps.map((function(e){return e.active=!1,e.id===t.id&&(e.completed=t.completed,e.passed=t.passed),e}));this.steps=n,this.steps[e].active=!0,this.pointUpdate.emit(t)}this.update_progress()},t.prototype.$_Stepper_resetActive=function(){var t=this.steps.filter((function(t){return t.active}));t.length>0&&(this.currentStepID=t[0].id)},t.prototype.$_Stepper_setPoints=function(){var t=this;if(this.steps=this.steps.map((function(e,n){return t.followFlow&&0!==n&&!e.completed&&(e.disabled=!0),e.id=t.id+"-step"+n,e.contentId=t.id+"Step"+n,e})),this.followFlow)this.currentStepID=this.steps[0].id,this.steps[0].active=!0;else{var e=this.steps.filter((function(t){return!0===t.active}));this.currentStepID=e&&e.length?e[0].id:null}},t.prototype.update_progress=function(){var t=this;if(this.followFlow){for(var e=0,n=0;n<this.steps.length;n++)this.currentStepID===this.steps[n].id&&(e=n);setTimeout((function(){t.progress=e/(t.steps.length-1)*100}))}},t.prototype.isMobileHandler=function(){return Ut()},t}();zt.decorators=[{type:e.Component,args:[{selector:"rbc-stepper",template:'<div [id]="id" class="rbc-stepper">\n\t<rbc-progressbar\n\t\t[id]="id + \'-progressbar\'"\n\t\t[progress]="progress"\n\t\tround="true"\n\t\tsize="small"\n\t></rbc-progressbar>\n\n\t<div class="rbc-stepper-items">\n\t\t<rbc-point\n\t\t\t*ngFor="let step of steps; index as key"\n\t\t\t[id]="step.id"\n\t\t\t[attr.key]="key"\n\t\t\t[checked]="key === currentStepIndex"\n\t\t\t[completed]="step.completed"\n\t\t\t[disabled]="step.disabled"\n\t\t\t[editable]="!followFlow && !isMobileHandler()"\n\t\t\t[helpText]="step.helpText"\n\t\t\t[label]="step.label"\n\t\t\t[number]="stepNumber ? key + 1 : 0"\n\t\t\t[passed]="step.passed"\n\t\t\tclass="rbc-stepper-item"\n\t\t\t(pointUpdate)="Stepper_updatePoint($event, key)">\n\t\t</rbc-point>\n\t</div>\n</div>\n',encapsulation:e.ViewEncapsulation.None}]}],zt.ctorParameters=function(){return[{type:h},{type:jt,decorators:[{type:e.Optional}]},{type:Nt}]},zt.propDecorators={followFlow:[{type:e.Input}],id:[{type:e.Input}],stepNumber:[{type:e.Input}],steps:[{type:e.Input}],pointUpdate:[{type:e.Output}]};var Gt=function(){function t(t){this.idService=t,this.editable=!0,this.pointUpdate=new e.EventEmitter}return t.prototype.ngOnInit=function(){this.id=this.id?this.id:this.idService.generate(),this.updateAriaAttributes(),this.firePointUpdate()},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.ngOnChanges=function(){this.updateAriaAttributes(),this.firePointUpdate()},t.prototype.toggleActiveState=function(){!this.disabled&&this.editable&&(this.checked=!this.checked,this.updateAriaAttributes(),this.firePointUpdate())},t.prototype.firePointUpdate=function(){this.pointUpdate.emit({id:this.id,active:this.checked,completed:this.completed,passed:this.passed,disabled:this.disabled})},t.prototype.updateAriaAttributes=function(){this.ariaPressed=this.getAriaPressedValue(),this.ariaDescribedBy=this.getAriaDescribedBy()},t.prototype.getAriaDescribedBy=function(){var t=[this.label?this.id+"Label":null,this.helpText?this.id+"HelpText":null].filter((function(t){return t}));return t.length?t.join(" "):null},t.prototype.getAriaPressedValue=function(){return this.completed?"true":this.checked?"mixed":"false"},t}();Gt.decorators=[{type:e.Component,args:[{selector:"rbc-point",template:'\n\t<ng-content></ng-content>\n\t\t<div class="rbc-point">\n\t\t\t<button\n\t\t\t\t[attr.aria-label]= "ariaLabel ? ariaLabel : label"\n\t\t\t\t[attr.aria-describedby] = "ariaDescribedBy"\n\t\t\t\t[attr.aria-pressed]= "ariaPressed"\n\t\t\t\t[attr.aria-labelledby]= "(!number || (number && completed)) && label ?  id + \'Label\' : null"\n\t\t\t\t[id]= "id"\n\t\t\t\t[ngClass]="{\n\t\t\t\t\tactive: checked,\n\t\t\t\t\tdisabled: disabled,\n\t\t\t\t\tcompleted: !checked && completed,\n\t\t\t\t\tpassed: !checked && passed\n\t\t\t\t}"\n\t\t\t\tclass = "rbc-point-circle"\n\t\t\t\t(click) = "toggleActiveState()"\n\t\t\t\t[disabled] = "disabled"\n\t\t\t>\n\t\t\t\t<rbc-icon *ngIf="!checked && completed" icon="check" type="solid"></rbc-icon>\n\t\t\t\t<span *ngIf="number && (checked || !completed)" class="rbc-point-circle-number">\n\t\t\t\t\t{{number}}\n\t\t\t\t</span>\n\t\t\t</button>\n\n\t\t\t<div *ngIf="label || helpText" class="rbc-point-content">\n\t\t\t\t<span\n\t\t\t\t\t[id]="id + \'Label\'"\n\t\t\t\t\t*ngIf="label"\n\t\t\t\t\t[class.disabled]="disabled"\n\t\t\t\t\tclass="rbc-point-label"\n\t\t\t\t>\n\t\t\t\t\t{{ label }}\n\t\t\t\t</span>\n\n\t\t\t\t\x3c!-- Help text --\x3e\n\n\t\t\t\t<rbc-help-text\n\t\t\t\t\t[id]="id + \'HelpText\'"\n\t\t\t\t\t*ngIf="helpText"\n\t\t\t\t\t[text]="helpText"\n\t\t\t\t\t[wrapperClass]="\'rbc-point-help-text\'"\n\t\t\t\t></rbc-help-text>\n\t\t\t</div>\n\t\t</div>\n\t'}]}],Gt.ctorParameters=function(){return[{type:h}]},Gt.propDecorators={id:[{type:e.Input}],label:[{type:e.Input}],helpText:[{type:e.Input}],number:[{type:e.Input}],disabled:[{type:e.Input}],checked:[{type:e.Input}],completed:[{type:e.Input}],passed:[{type:e.Input}],editable:[{type:e.Input}],ariaLabel:[{type:e.Input}],pointUpdate:[{type:e.Output}]};var Yt=function(){};Yt.decorators=[{type:e.NgModule,args:[{declarations:[Gt],imports:[n.CommonModule,st,ot,f],exports:[Gt]}]}];var Wt=function(){function t(t,n){this.idService=t,this.cdrf=n,this.followFlow=!1,this.steps=[],this.stepNumber=!1,this.pointUpdate=new e.EventEmitter,this.progress=0}return t.prototype.ngOnInit=function(){this.isMobile=Ut(),this.id=this.idService.generate(),this.setPoints()},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.handlePointUpdate=function(t){t.active&&(this.steps.forEach((function(e){e.active=t.id===e.id})),this.updateProgress(),this.pointUpdate.emit(t))},t.prototype.setPoints=function(){var t=this;this.steps=this.steps.map((function(e,n){return t.followFlow&&0!==n&&!e.completed&&(e.disabled=!0),e.id=t.id+"-step-"+n,e})),this.steps.find((function(t){return t.active}))||(this.steps[0].active=!0)},t.prototype.updateProgress=function(){if(this.followFlow){var t=this.steps.findIndex((function(t){return t.active}));t>=0&&(this.progress=t/(this.steps.length-1)*100,this.cdrf.detectChanges())}},t}();Wt.decorators=[{type:e.Component,args:[{selector:"rbc-stepper-standalone",template:'<div [id]="id" class="rbc-stepper">\n\t<rbc-progressbar\n\t\t[id]="id + \'Progressbar\'"\n\t\t[progress]="progress"\n\t\tround="true"\n\t\tsize="small"\n\t></rbc-progressbar>\n\n\t<div class="rbc-stepper-items">\n\t\t<rbc-point\n\t\t\t*ngFor="let step of steps; index as key"\n\t\t\t[id]="step.id"\n\t\t\t[attr.key]="key"\n\t\t\t[checked]="step.active"\n\t\t\t[completed]="step.completed"\n\t\t\t[disabled]="step.disabled"\n\t\t\t[editable]="!followFlow && !isMobile"\n\t\t\t[helpText]="step.helpText"\n\t\t\t[label]="step.label"\n\t\t\t[number]="stepNumber ? key + 1 : 0"\n\t\t\t[passed]="step.passed"\n\t\t\tclass="rbc-stepper-item"\n\t\t\t(pointUpdate)="handlePointUpdate($event)">\n\t\t</rbc-point>\n\t</div>\n</div>\n',encapsulation:e.ViewEncapsulation.None}]}],Wt.ctorParameters=function(){return[{type:h},{type:e.ChangeDetectorRef}]},Wt.propDecorators={followFlow:[{type:e.Input}],steps:[{type:e.Input}],stepNumber:[{type:e.Input}],pointUpdate:[{type:e.Output}]};var qt=function(){};qt.decorators=[{type:e.NgModule,args:[{declarations:[zt,jt,Ht,Wt],imports:[n.CommonModule,b,Yt,nt],providers:[Nt],exports:[zt,jt,Ht,Wt]}]}];var Xt=function(t){this.idService=t,this.id=t.generate()};Xt.decorators=[{type:e.Component,args:[{selector:"rbc-speech",template:'\n\t\t<section [id]="id" class="list-divider-item">\n\t\t\t<div class="row">\n\t\t\t\t<div\n\t\t\t\t\t*ngIf="speaker"\n\t\t\t\t\t[id]="id + \'Speaker\'"\n\t\t\t\t\tclass="col-sm-3 strong"\n\t\t\t\t>\n\t\t\t\t\t{{ speaker }}\n\t\t\t\t</div>\n\t\t\t\t<div class="col-sm-9">\n\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</section>\n\t',encapsulation:e.ViewEncapsulation.None}]}],Xt.ctorParameters=function(){return[{type:h}]},Xt.propDecorators={speaker:[{type:e.Input}],id:[{type:e.Input}]};var Jt=function(){};Jt.decorators=[{type:e.NgModule,args:[{declarations:[Xt],imports:[n.CommonModule],exports:[Xt]}]}];var Kt=function(){this.sortArrowUpLabel="Move item up",this.sortArrowDownLabel="Move item down"};var Zt=function(){function t(t){this.idService=t,this.locale={sortArrowUpLabel:"Move item up",sortArrowDownLabel:"Move item down"},this.activeId=null,this.activeIndex=null,this.newIndex=null,this.oldIndex=null,this.difference=0,this.items=[],this.reorderedItems=[],this.timeout=null,this.height="auto",this.edgePositioned=!1,this.sortUpdated=new e.EventEmitter,this.id=t.generate()}return t.prototype.ngAfterViewInit=function(){var t=this;this.options&&(this.items=this.options.map((function(t,e){return Object.assign({},t,{id:"item"+e})})),this.reorderedItems=J(this.items)),setTimeout((function(){t.height=t.$container.nativeElement.getBoundingClientRect().height+"px"}),100)},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id),document.removeEventListener("touchend",this.setOnClick)},t.prototype.checkStatic=function(t,e){return!(void 0===this.reorderedItems[t]||void 0===this.reorderedItems[t].static||!this.reorderedItems[t].static)||("up"===e?t+this.difference===0&&this.items.length!==this.difference-1||!(!this.reorderedItems[t-1]||void 0===this.reorderedItems[t-1].static||!0!==this.reorderedItems[t-1].static):"down"===e?t===this.reorderedItems.length||t+this.difference+1===this.items.length||!(void 0===this.reorderedItems[t+1]||void 0===this.reorderedItems[t+1].static||!this.reorderedItems[t+1].static):void 0)},t.prototype.setIndex=function(t,e){null===this.oldIndex&&(this.oldIndex=t,0!==this.oldIndex&&this.oldIndex+1!==this.items.length||(this.edgePositioned=!0),Ut()&&document.addEventListener("touchend",this.setOnClick)),this.activeIndex=this.oldIndex+this.difference,this.newIndex=this.activeIndex+e},t.prototype.move=function(){var t=this,e=this.items.splice(this.newIndex,1)[0];if(this.items.splice(this.activeIndex,0,e),this.difference<0){var n=this.reorderedItems.splice(0,0-this.difference-1);this.reorderedItems=J(n,this.items),this.reorderedItems.splice(0,0,"")}else if(this.difference>0){this.reorderedItems=J(this.items);for(var i=0;i<this.difference;i++)this.reorderedItems.shift()}else this.reorderedItems=J(this.items);Ut()&&(clearTimeout(this.timeout),this.timeout=setTimeout((function(){t.set()}),2e3))},t.prototype.moveUp=function(t,e){var n=this;this.setIndex(t,-1),this.activeId=e,this.difference=this.difference-1,this.move(),setTimeout((function(){document.getElementById(n.id+n.activeId+"SortUp").focus()}))},t.prototype.moveDown=function(t,e){this.setIndex(t,1),this.activeId=e,this.difference=this.difference+1,this.move()},t.prototype.setFocus=function(t){var e=this;setTimeout((function(){var n=document.getElementById(e.id+e.activeId+"Sort"+t);n.disabled&&"Up"===t?document.getElementById(e.id+e.activeId+"SortDown").focus():n.disabled&&"Down"===t?document.getElementById(e.id+e.activeId+"SortUp").focus():n.focus()}))},t.prototype.sortSetTimeout=function(){var t=this;clearTimeout(this.timeout),this.timeout=setTimeout((function(){t.set()}),2e3)},t.prototype.set=function(){this.reorderedItems=J(this.items);var t=this.getArrowDirection();this.sortUpdated.emit({previousIndex:this.oldIndex,newIndex:this.newIndex,data:this.items}),this.activeIndex=null,this.oldIndex=null,this.newIndex=null,this.difference=0,this.timeout=null,document.removeEventListener("touchend",this.setOnClick),this.setFocus(t)},t.prototype.setOnClick=function(t){var e=this.$container;e===t.target||e.contains(t.target)||this.set()},t.prototype.setOnKeydown=function(t,e){-1!==t.key.toLowerCase().indexOf("enter")&&(this.activeId=e,this.sortSetTimeout())},t.prototype.getArrowDirection=function(){return this.difference<0||this.activeIndex>this.newIndex?"Up":"Down"},t.prototype.newHeight=function(){this.height=this.$container.nativeElement.getBoundingClientRect().height+"px"},t}();Zt.decorators=[{type:e.Component,args:[{selector:"rbc-sort",template:'\n\t\t<ul\n\t\t\t#container\n\t\t\t[id]="id"\n\t\t\t[ngStyle]="{ height: height }"\n\t\t\t[ngClass]="{\n\t\t\t\t\'rbc-sort-active\': activeIndex !== null\n\t\t\t}"\n\t\t\tclass="rbc-sort">\n\t\t\t<li\n\t\t\t\t*ngFor="let item of reorderedItems; index as index"\n\t\t\t\t[attr.key]="id + (item.id || index)"\n\t\t\t\t[id]= "item !== \'\' ? id + item.id : null"\n\t\t\t\t[ngClass]="{\n\t\t\t\t\t\'active\': newIndex === index + difference,\n\t\t\t\t\t\'ghost\': item === \'\'\n\t\t\t\t}"\n\t\t\t\tclass="rbc-sort-item"\n\t\t\t\t(mouseleave)= "(activeIndex !== null) ? set() : null">\n\t\t\t\t<div *ngIf="item !== \'\'" class="rbc-sort-item-text">\n\t\t\t\t\t<rbc-checkbox\n\t\t\t\t\t\t*ngIf="checkable"\n\t\t\t\t\t\t[id]="id +item.id+\'Checkbox\'"\n\t\t\t\t\t\t[disabled]="item.static"\n\t\t\t\t\t\t[(ngModel)]="item.checked"\n\t\t\t\t\t\t[checked]="item.checked"\n\t\t\t\t\t\t[ariaLabel]="\'Select or deselect \' + id + item.id + \'Checkbox\'"\n\t\t\t\t\t></rbc-checkbox>\n\t\t\t\t\t{{ item.name || item }}\n\t\t\t\t</div>\n\t\t\t\t<div *ngIf="item !== \'\'" class="rbc-sort-item-button-wrap">\n\t\t\t\t\t<button\n\t\t\t\t\t\t[id]="id + item.id+ \'SortUp\'"\n\t\t\t\t\t\t[disabled]="checkStatic(index, \'up\')"\n\t\t\t\t\t\t[attr.aria-label]="locale.sortArrowUpLabel"\n\t\t\t\t\t\tclass="rbc-sort-item-button rbc-sort-item-button-up"\n\t\t\t\t\t\t(click)="moveUp(index, item.id)"\n\t\t\t\t\t\t(keydown)="setOnKeydown($event, item.id)">\n\t\t\t\t\t\t<rbc-icon icon="arrow-up" [type]="\'solid\'"></rbc-icon>\n\t\t\t\t\t</button>\n\t\t\t\t\t<button\n\t\t\t\t\t\t[id]="id + item.id+ \'SortDown\'"\n\t\t\t\t\t\t[disabled]="checkStatic(index, \'down\')"\n\t\t\t\t\t\t[attr.aria-label]="locale.sortArrowDownLabel"\n\t\t\t\t\t\tclass="rbc-sort-item-button rbc-sort-item-button-down"\n\t\t\t\t\t\t(click)="moveDown(index, item.id)"\n\t\t\t\t\t\t(keydown)="setOnKeydown($event, item.id)">\n\t\t\t\t\t\t<rbc-icon icon="arrow-down" [type]="\'solid\'"></rbc-icon>\n\t\t\t\t\t</button>\n\t\t\t\t</div>\n\t\t\t</li>\n\n\t\t\t\x3c!-- Edge Positioned item (Occurs when first item in the list is being moved down) --\x3e\n\t\t\t<li\n\t\t\t\t*ngIf="edgePositioned && oldIndex === 0 && newIndex - 1 > -1"\n\t\t\t\tclass="rbc-sort-item edge-item">\n\t\t\t\t<div\n\t\t\t\t\t*ngIf="items[newIndex - 1] !== \'\'"\n\t\t\t\t\tclass="rbc-sort-item-text">\n\t\t\t\t\t<rbc-checkbox\n\t\t\t\t\t\t*ngIf="checkable"\n\t\t\t\t\t\t[disabled]="items[newIndex - 1].static"\n\t\t\t\t\t\t[(ngModel)]="items[newIndex - 1].checked"\n\t\t\t\t\t\t[checked]="items[newIndex - 1].checked"\n\t\t\t\t\t\t[ariaLabel]="\'Select or deselect \' + id + \'ItemEdge\'">\n\t\t\t\t\t</rbc-checkbox>\n\t\t\t\t\t{{ items[newIndex - 1].name || items[newIndex - 1] }}\n\t\t\t\t</div>\n\t\t\t</li>\n\t\t</ul>\n\t',encapsulation:e.ViewEncapsulation.None}]}],Zt.ctorParameters=function(){return[{type:h}]},Zt.propDecorators={checkable:[{type:e.Input}],options:[{type:e.Input}],locale:[{type:e.Input}],id:[{type:e.Input}],sortUpdated:[{type:e.Output}],$container:[{type:e.ViewChild,args:["container",{static:!1}]}]};var Qt={Init:0,Indeterminate:1,Checked:2,Unchecked:3};Qt[Qt.Init]="Init",Qt[Qt.Indeterminate]="Indeterminate",Qt[Qt.Checked]="Checked",Qt[Qt.Unchecked]="Unchecked";var te=function(){};var ee=function(){function t(t,n,i){this.idService=t,this.changeDetectorRef=n,this.controlDirective=i,this.click=new e.EventEmitter,this.onClickEmitter=new e.EventEmitter,this.checkBoxClick=new e.EventEmitter,this.change=new e.EventEmitter,this.checkBoxUpdate=new e.EventEmitter,this.indeterminateChange=new e.EventEmitter,this._checked=!1,this._indeterminate=!1,this.currentCheckboxState=Qt.Init,this.onTouched=function(){},this.propagateChange=function(t){},this.id=this.id?this.id:this.idService.generate(),this.controlDirective&&(i.valueAccessor=this)}return Object.defineProperty(t.prototype,"indeterminate",{get:function(){return this._indeterminate},set:function(t){t!==this._indeterminate&&(this._indeterminate=t,this._indeterminate?this.transitionCheckboxState(Qt.Indeterminate):this.transitionCheckboxState(this.checked?Qt.Checked:Qt.Unchecked),this.checkboxRef&&(this.checkboxRef.nativeElement.indeterminate=t,this.changeDetectorRef.markForCheck(),this.indeterminateChange.emit(this._indeterminate)))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checked",{get:function(){return this._checked},set:function(t){this.setChecked(t,!1)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.toggle=function(){this.setChecked(!this.checked,!0)},t.prototype.writeValue=function(t){this.setChecked(!!t,!0)},t.prototype.registerOnChange=function(t){this.propagateChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t,this.checkboxRef.nativeElement.disabled=this.disabled},t.prototype.focusOut=function(){this.onTouched()},t.prototype.onChange=function(t){t.stopPropagation()},t.prototype.onClick=function(t){if(this.onClickEmitter.observers.length)return t.preventDefault(),void this.onClickEmitter.emit(t);this.checkBoxClick.emit(t),this.disabled||(this.toggle(),this.transitionCheckboxState(this._checked?Qt.Checked:Qt.Unchecked),this.emitChangeEvent())},t.prototype.transitionCheckboxState=function(t){this.currentCheckboxState=t},t.prototype.emitChangeEvent=function(){this.change.emit(event),this.checkBoxUpdate.emit(this.checked),this.propagateChange(this.checked)},t.prototype.setChecked=function(t,e){var n=this;t!==this._checked&&(this._checked=t,e&&this._indeterminate&&(this._indeterminate=!1,Promise.resolve().then((function(){n.indeterminateChange.emit(n._indeterminate)}))),this.changeDetectorRef.markForCheck())},t.prototype.removeFocus=function(){this.checkboxRef.nativeElement.blur(),this.mouseoutObservable=null},t.prototype.classGen=function(){var t={};return t[this.wrapperClass]=this.wrapperClass,t},t.prototype.ariaGen=function(){return this.labelSrOnly?this.label:this.ariaLabel?this.ariaLabel:null},t}();ee.decorators=[{type:e.Component,args:[{selector:"rbc-checkbox",template:'\n\t\t<div\n\t\t[ngClass]="classGen()"\n\t\tclass="rbc-checkbox"\n\t\t(mouseout)="removeFocus()"\n\t\t#checkboxWrap>\n\t\t\t<input\n\t\t\t\t#checkbox\n\t\t\t\t[id]="id"\n\t\t\t\t[checked]="checked"\n\t\t\t\t[disabled]="disabled"\n\t\t\t\t[attr.name]= "name ? name: null"\n\t\t\t\tclass= "rbc-checkbox-control"\n\t\t\t\ttype= "checkbox"\n\t\t\t\t[attr.aria-label]= "ariaGen()"\n\t\t\t\t[attr.aria-checked]="(indeterminate ? \'mixed\' : checked ? \'true\' : \'false\')"\n\t\t\t\t(change)="onChange($event)"\n\t\t\t\t(click)="onClick($event)">\n\t\t\t\t<label\n\t\t\t\t\tclass="rbc-checkbox-label"\n\t\t\t\t\t[id]= "id + \'Label\'"\n\t\t\t\t\t[for]= "id"\n\t\t\t\t\t[ngClass]="{ disabled: disabled, \'rbc-checkbox-indeterminate\': indeterminate }"\n\t\t\t\t>\n\t\t\t\t<rbc-icon\n\t\t\t\t\t[attr.aria-hidden]="true"\n\t\t\t\t\t[icon]= "indeterminate ? \'minus-square\' : checked ? \'check-square\' : \'square\'"\n\t\t\t\t\tclass="rbc-checkbox-icon"\n\t\t\t\t></rbc-icon>\n\t\t\t\t\t<ng-container *ngIf="!labelSrOnly">{{label}}</ng-container>\n\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t</label>\n\t\t</div>\n\t',changeDetection:e.ChangeDetectionStrategy.OnPush}]}],ee.ctorParameters=function(){return[{type:h},{type:e.ChangeDetectorRef},{type:a.NgControl,decorators:[{type:e.Optional},{type:e.Self}]}]},ee.propDecorators={id:[{type:e.Input}],disabled:[{type:e.Input}],name:[{type:e.Input}],labelSrOnly:[{type:e.Input}],label:[{type:e.Input}],wrapperClass:[{type:e.Input}],ariaLabel:[{type:e.Input}],checkboxRef:[{type:e.ViewChild,args:["checkbox",{static:!1}]}],checkboxWrap:[{type:e.ViewChild,args:["checkboxWrap",{static:!1}]}],indeterminate:[{type:e.Input}],checked:[{type:e.Input}],click:[{type:e.Output}],onClickEmitter:[{type:e.Output}],checkBoxClick:[{type:e.Output}],change:[{type:e.Output}],checkBoxUpdate:[{type:e.Output}],indeterminateChange:[{type:e.Output}],focusOut:[{type:e.HostListener,args:["focusout"]}]};var ne=function(){};ne.decorators=[{type:e.NgModule,args:[{declarations:[ee],imports:[n.CommonModule,a.FormsModule,f],exports:[ee]}]}];var ie=function(){};ie.decorators=[{type:e.NgModule,args:[{declarations:[Zt],imports:[n.CommonModule,ne,a.FormsModule,f],exports:[Zt]}]}];var ae=function(){function t(){this.lastFocus=null,this.tabbableSelector="a[href], area[href], input:not([disabled]):not([tabindex='-1']),\n\tbutton:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']),\n\ttextarea:not([disabled]):not([tabindex='-1']),\n\tiframe, object, embed, *[tabindex]:not([tabindex='-1']), *[contenteditable=true]"}return t.prototype.$_TabTrap_detectEsc=function(t){-1!==t.key.toLowerCase().indexOf("esc")&&(this.active=!1)},t.prototype.$_TabTrap_getFocusableElements=function(t){return t.querySelectorAll("button, [role=button], [href], input, select, textarea, [tabindex]:not([tabindex='-1'])")},t.prototype.$_TabTrap_nextFocusableElement=function(t,e){var n=this.$_TabTrap_getFocusableElements(t),i=n[0],a=n[n.length-1];return!e||document.activeElement!==i&&t!==this.lastFocus?e||document.activeElement!==a?void 0:i:a},t.prototype.$_TabTrap_trap=function(t,e){var n=t.key.toLowerCase();if(-1!==n.indexOf("tab")||-1!==n.indexOf("down")||-1!==n.indexOf("up")||-1!==n.indexOf("right")||-1!==n.indexOf("left")){var i=t.shiftKey,a=this.$_TabTrap_nextFocusableElement(e,i);a&&(t.preventDefault(),a.focus())}},t.prototype.$_TabTrap_focusTrap=function(t,e){void 0===e||e.contains(t.target)||(t.stopPropagation(),e===this.lastFocus?this.$_TabTrap_nextFocusableElement(e,!0).focus():e.focus());this.lastFocus=document.activeElement},t.prototype.$_TabTrap_blurTrap=function(t,e){(this.lastFocus=t.target,void 0===e||e.contains(t.relatedTarget)||e===t.relatedTarget||null==t.relatedTarget)?void 0===t.relatedTarget&&(t.preventDefault(),t.stopPropagation(),e.focus()):(t.preventDefault(),t.stopPropagation(),e===t.target?this.$_TabTrap_nextFocusableElement(e,!0).focus():e.focus())},t.prototype.$_TabTrap_focusGroup=function(t){var e=this,n=t.querySelectorAll(this.tabbableSelector);return n?Array.prototype.filter.call(n,(function(t){return e.$_TabTrap_isVisible(t)})):n},t.prototype.$_TabTrap_isFocusInFirstItem=function(t,e){return e.length>0&&(t.target||t.srcElement)===e[0]},t.prototype.$_TabTrap_isFocusInLastItem=function(t,e){return e.length>0&&(t.target||t.srcElement)===e[e.length-1]},t.prototype.$_TabTrap_isElementFocused=function(t,e){return(t.target||t.srcElement)===e},t.prototype.$_TabTrap_focusFirstFocusableElement=function(t){return t.length>0&&(t[0].focus(),!0)},t.prototype.$_TabTrap_focusLastFocusableElement=function(t){return t.length>0&&(t[t.length-1].focus(),!0)},t.prototype.$_TabTrap_isVisible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},t.prototype.$_TabTrap_lockFocus=function(t,e){if("Tab"===t.key){var n=this.$_TabTrap_focusGroup(e),i=!1;t.shiftKey?(this.$_TabTrap_isFocusInFirstItem(t,n)||this.$_TabTrap_isElementFocused(t,e))&&(i=this.$_TabTrap_focusLastFocusableElement(n)):this.$_TabTrap_isFocusInLastItem(t,n)&&(e.focus(),i=!0),i&&(t.preventDefault(),t.stopPropagation())}},t}();ae.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],ae.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new ae},token:ae,providedIn:"root"});var oe=function(){function t(t,n){this.idService=t,this.tabTrap=n,this.buttonCloseLabel="Dismiss",this.positionX="center",this.positionY="bottom",this.headingTag="h4",this.toggle=new e.EventEmitter,this.snackBar=!1,this.delay=null,this.progressAmount=0,this.id=this.idService.generate()}return Object.defineProperty(t.prototype,"transition",{get:function(){return"opacity-"+this.transitionGen()},enumerable:!0,configurable:!0}),t.prototype.onKeydownHandler=function(t){this.active&&this.$_Snackbar_toggle()},t.prototype.ngOnInit=function(){this.snackBar=!0},t.prototype.ngOnDestroy=function(){this.idService&&this.idService.remove(this.id)},t.prototype.ngOnChanges=function(t){var e=this;if(t&&t.active){if(this.active&&this.timeout?this.delay=setTimeout((function(){e.$_Snackbar_toggle()}),this.timeout):this.active||(clearTimeout(this.delay),this.delay=null),this.active&&this.timeoutProgress){this.progressAmount=0,cancelAnimationFrame(this._animation);var n=(new Date).getTime()+this.timeout;this.$_Snackbar_progress(n)}this.active?setTimeout((function(){var t=document.getElementById(e.id);t.focus(),window.addEventListener("keydown",(function(n){return e.tabTrap.$_TabTrap_lockFocus(n,t)}))}),50):window.removeEventListener("keydown",(function(t){return e.tabTrap.$_TabTrap_lockFocus(t,document.getElementById(e.id))}))}},t.prototype.iconGen=function(){return{danger:"exclamation",success:"check",warning:"exclamation",info:"exclamation"}[this.type]},t.prototype.iconBackGen=function(){return{danger:"square",success:"circle",warning:"triangle",info:"circle"}[this.type]},t.prototype.transitionGen=function(){return"left"===this.positionX?"left":"right"===this.positionX?"right":"top"===this.positionY?"down":"up"},t.prototype.classGen=function(){return[this.positionY?"rbc-snackbar-"+this.positionY:"rbc-snackbar-bottom",this.positionX?"rbc-snackbar-"+this.positionX:"rbc-snackbar-center",this.type?"rbc-snackbar-"+this.type:""]},t.prototype.$_Snackbar_toggle=function(t){this.toggle.emit()},t.prototype.$_Snackbar_progress=function(t){var e;if(this.progressAmount<100){var n=(new Date).getTime();this.progressAmount=100-(t-n)/this.timeout*100,this._animation=requestAnimationFrame((e=this.$_Snackbar_progress).bind.apply(e,J([this],arguments)))}else this.progressAmount=100,cancelAnimationFrame(this._animation)},t.prototype.$_Snackbar_pause=function(t){this.timeout&&(cancelAnimationFrame(this._animation),clearTimeout(this.delay))},t.prototype.$_Snackbar_unpause=function(t){var e=this;if(this.timeout){this.delay=setTimeout((function(){e.$_Snackbar_toggle()}),this.timeout);var n=(new Date).getTime()+this.timeout;this.$_Snackbar_progress(n)}},t}();oe.decorators=[{type:e.Component,args:[{selector:"rbc-snackbar",template:'<rbc-transition\n\t[type]="transition"\n\t[state]="active"\n\tclass="rbc-snackbar"\n\t[ngClass]="classGen()"\n\t(mouseover)="$_Snackbar_pause($event)"\n\t(mouseout)="$_Snackbar_unpause($event)"\n>\n\t<rbc-card [id]="id" [cardClass]="\'rbc-snackbar-card\'" [tabbable]="true" [role]="\'dialog\'" [labelledBy]="title ? id+\'Header\' : null">\n\t\t<div\n\t\t\t*ngIf="type"\n\t\t\tclass="rbc-snackbar-icon">\n\t\t\t<rbc-icon\n\t\t\t\t[icon]="iconGen()"\n\t\t\t\ttype="solid"\n\t\t\t\tclass="rbc-snackbar-icon-front"\n\t\t\t></rbc-icon>\n\t\t\t<rbc-icon\n\t\t\t\t[icon]="iconBackGen()"\n\t\t\t\ttype="solid"\n\t\t\t\tclass="rbc-snackbar-icon-back"\n\t\t\t></rbc-icon>\n\t\t</div>\n\t\t<div [attr.aria-live]="\'assertive\'" class="rbc-snackbar-content">\n\t\t\t<ng-container *ngTemplateOutlet="headings"></ng-container>\n\t\t\t<span *ngIf="text" [id]="id+\'Content\'" class="rbc-snackbar-text">\n\t\t\t\t{{ text }}\n\t\t\t</span>\n\t\t</div>\n\t\t<div class="rbc-snackbar-buttons">\n\t\t\t<div #buttonSlot><ng-content select="[buttons]"> </ng-content></div>\n\t\t\t<button\n\t\t\t\t*ngIf="!buttonSlot?.children.length"\n\t\t\t\t[id]="id+\'ButtonClose\'"\n\t\t\t\tclass="rbc-snackbar-button"\n\t\t\t\t(click)="$_Snackbar_toggle($event)"\n\t\t\t>\n\t\t\t\t{{ buttonCloseLabel }}\n\t\t\t</button>\n\t\t</div>\n\n\t\t<rbc-progressbar\n\t\t\t*ngIf="timeoutProgress"\n\t\t\t[snackbar]="true"\n\t\t\t[size]="\'small\'"\n\t\t\t[progress]="progressAmount">\n\t\t</rbc-progressbar>\n\t</rbc-card>\n</rbc-transition>\n\n<ng-template #headings>\n\t<ng-container *ngIf="title">\n\t\t<ng-container *ngIf="headingTag == \'h2\'">\n\t\t\t<h2\n\t\t\t\t[id]="id + \'Header\'" class="rbc-modal-title" class="rbc-snackbar-title">\n\t\t\t\t{{title}}\n\t\t\t</h2>\n\t\t</ng-container>\n\t\t<ng-container *ngIf="headingTag == \'h3\'">\n\t\t\t<h3\n\t\t\t\t[id]="id + \'Header\'" class="rbc-modal-title" class="rbc-snackbar-title">\n\t\t\t\t{{title}}\n\t\t\t</h3>\n\t\t</ng-container>\n\t\t<ng-container *ngIf="headingTag == \'h4\'">\n\t\t\t<h4\n\t\t\t\t[id]="id + \'Header\'" class="rbc-modal-title" class="rbc-snackbar-title">\n\t\t\t\t{{title}}\n\t\t\t</h4>\n\t\t</ng-container>\n\t\t<ng-container *ngIf="headingTag == \'h5\'">\n\t\t\t<h5\n\t\t\t\t[id]="id + \'Header\'" class="rbc-modal-title" class="rbc-snackbar-title">\n\t\t\t\t{{title}}\n\t\t\t</h5>\n\t\t</ng-container>\n\t\t<ng-container *ngIf="headingTag == \'h6\'">\n\t\t\t<h6\n\t\t\t\t[id]="id + \'Header\'" class="rbc-modal-title" class="rbc-snackbar-title">\n\t\t\t\t{{title}}\n\t\t\t</h6>\n\t\t</ng-container>\n\t</ng-container>\n</ng-template>\n',encapsulation:e.ViewEncapsulation.None}]}],oe.ctorParameters=function(){return[{type:h},{type:ae}]},oe.propDecorators={id:[{type:e.Input}],active:[{type:e.Input}],buttonCloseLabel:[{type:e.Input}],text:[{type:e.Input}],positionX:[{type:e.Input}],positionY:[{type:e.Input}],timeout:[{type:e.Input}],timeoutProgress:[{type:e.Input}],title:[{type:e.Input}],type:[{type:e.Input}],headingTag:[{type:e.Input}],toggle:[{type:e.Output}],snackBar:[{type:e.HostBinding,args:["class.rbc-snackbar"]}],onKeydownHandler:[{type:e.HostListener,args:["document:keydown.escape",["$event"]]}]};var re=function(){function t(t,n,i){this.idService=t,this.cdr=n,this.sanitizer=i,this.isModal=!1,this.shadow=!0,this.card=!0,this.cardClicked=new e.EventEmitter,this.headerFlag=!0,this.footerFlag=!0,this.id=t.generate()}return Object.defineProperty(t.prototype,"isLink",{get:function(){return!!this.link},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isRouter",{get:function(){return!!this.routerLink},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){if(this.header){var t=this.header.nativeElement.children.length,e=this.footer.nativeElement.children.length;if(t&&e){if(this.isModal||!e){this.footer.nativeElement.children[0].children.length||(this.footerFlag=!1),this.cdr.detectChanges()}}else t||(this.headerFlag=!1),e||(this.footerFlag=!1),this.cdr.detectChanges()}},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.scrollBody=function(t){this.cardResults.nativeElement.scrollTop=t},t.prototype.bodyClassGen=function(){return{"rbc-card-flush":this.flush,"rbc-card-scrollable":this.scrollable}},t.prototype.cardClassGen=function(){var t={};return t["rbc-card-link"]=this.isLink,t[this.cardClass]=this.cardClass,t},t.prototype.heightGen=function(){return this.height&&"string"!=typeof this.height?this.height+"px":this.height},t.prototype.sanitize=function(t){return this.sanitizer.bypassSecurityTrustUrl(t)},t}();re.decorators=[{type:e.Component,args:[{selector:"rbc-card",template:'<div\n\t#cardResults\n\t[id]="id"\n\t[tabindex]="0 ? tabbable : null"\n\t[ngClass]="cardClassGen()"\n\t[ngStyle]="{\'max-height\' : cardStyle}"\n\t[attr.role]="role ? role : null"\n\t[attr.aria-labelledby]="labelledBy">\n\t<ng-container *ngIf="isLink; else routerContainer">\n\t\t<a\n\t\t\tclass="rbc-card-wrap rbc-card-link-wrap"\n\t\t\t[attr.aria-label]="link"\n\t\t\t[href]="sanitize(link)"\n\t\t\t[attr.target]="target ? target : null"\n\t\t\ttabindex="0"\n\t\t\trole="button"\n\t\t\tdraggable="false"\n\t\t\t(click)="cardClicked.emit($event)">\n\t\t\t<ng-container *ngTemplateOutlet="cardContents"></ng-container>\n\t\t</a>\n\t</ng-container>\n\n\t<ng-template #routerContainer>\n\t\t<ng-container *ngIf="isRouter; else notLink">\n\t\t\t<a\n\t\t\tclass="rbc-card-wrap rbc-card-link-wrap"\n\t\t\t[routerLink]="routerLink"\n\t\t\trouterLinkActive="active"\n\t\t\ttabindex="0"\n\t\t\t[attr.target]="target ? target : null"\n\t\t\trole="button"\n\t\t\tdraggable="false"\n\t\t\t[routerLinkActiveOptions]="{exact:true}"\n\t\t\t[href]= "routerLink ? routerLink : null"\n\t\t\t>\n\t\t\t\t<ng-container *ngTemplateOutlet="cardContents"></ng-container>\n\t\t\t</a>\n\t\t</ng-container>\n\t</ng-template>\n\n\t<ng-template #notLink>\n\t\t<div\n\t\t\tclass="rbc-card-wrap"\n\t\t\tdraggable="false">\n\t\t\t<ng-container *ngTemplateOutlet="cardContents"></ng-container>\n\t\t</div>\n\t</ng-template>\n\n\t\x3c!-- Footer Slot --\x3e\n\t<div #cardFooter *ngIf="footerFlag" class="rbc-card-footer">\n\t\t<ng-content select="[footer]"></ng-content>\n\t</div>\n</div>\n\n\n<ng-template #cardContents>\n\t<div #cardHeader *ngIf="headerFlag" class="rbc-card-header">\n\t\t<ng-content select="[header]"></ng-content>\n\t</div>\n\t\x3c!-- Body --\x3e\n\t<div\n\t\t#body\n\t\tclass="rbc-card-body"\n\t\t[ngStyle]="{ height: heightGen() }"\n\t\t[ngClass]="bodyClassGen()">\n\t\t<ng-content></ng-content>\n\t</div>\n</ng-template>\n',encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.OnPush}]}],re.ctorParameters=function(){return[{type:h},{type:e.ChangeDetectorRef},{type:p.DomSanitizer}]},re.propDecorators={id:[{type:e.Input}],scrollable:[{type:e.Input}],height:[{type:e.Input}],link:[{type:e.Input}],routerLink:[{type:e.Input}],linkLabel:[{type:e.Input}],target:[{type:e.Input}],flush:[{type:e.Input}],cardClass:[{type:e.Input}],cardStyle:[{type:e.Input}],tabbable:[{type:e.Input}],role:[{type:e.Input}],labelledBy:[{type:e.Input}],isModal:[{type:e.Input}],shadow:[{type:e.HostBinding,args:["class.rbc-card-shadow"]},{type:e.Input}],card:[{type:e.HostBinding,args:["class.rbc-card"]}],hoverable:[{type:e.HostBinding,args:["class.rbc-card-hover"]},{type:e.Input}],cardClicked:[{type:e.Output}],header:[{type:e.ViewChild,args:["cardHeader",{static:!1}]}],footer:[{type:e.ViewChild,args:["cardFooter",{static:!1}]}],body:[{type:e.ViewChild,args:["body",{static:!1}]}],cardResults:[{type:e.ViewChild,args:["cardResults",{static:!1}]}]};var se=function(){};se.decorators=[{type:e.NgModule,args:[{declarations:[re],imports:[n.CommonModule,l.RouterModule],exports:[re]}]}];var le=function(){function t(t){this.idService=t,this.classes=[],this.id=this.idService.generate()}return t.prototype.ngAfterContentInit=function(){if(this.snackbars&&this.snackbars.first){var t=this.snackbars.first.classGen();this.classes.push(t[0],t[1])}},t}();le.decorators=[{type:e.Component,args:[{selector:"rbc-snackbar-container",template:'<div #default [id]="id" [ngClass]="classes" class="rbc-snackbar-container"><ng-content></ng-content></div>\n',encapsulation:e.ViewEncapsulation.None}]}],le.ctorParameters=function(){return[{type:h}]},le.propDecorators={id:[{type:e.Input}],snackbars:[{type:e.ContentChildren,args:[oe]}]};var ce=function(){};ce.decorators=[{type:e.NgModule,args:[{declarations:[oe,le],imports:[n.CommonModule,Z,b,se,f],exports:[oe,le]}]}];var pe=function(){function t(t){this.idService=t,this.disabled=!1,this.displayInput=!1,this.displayMinMax=!1,this.follow=!1,this.legendTicker=0,this.min=0,this._value=0,this.step=1,this.unitPositionX="right",this.lang="en",this.minLabel="Minimum value: ",this.maxLabel="Maximum value: ",this.statusType="info",this.sliderUpdate=new e.EventEmitter,this.legends={range:0,interval:0,middleValue:0,values:[]},this.outputStyleRight="",this.val=0,this.onChange=function(t){},this.onTouched=function(){},this.id=t.generate()}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){t?void 0!==t&&(this._value=t):this._value=0,this.onChange(t),this.onTouched()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"numberOfTicker",{get:function(){return this.legendTicker},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"formattedValue",{get:function(){return this.val},set:function(t){this.$_Slider_updateValue2(t),this.val=t},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){if(this.legends.range=this.max-this.min,this.legendTicker>0){this.legends.interval=this.legends.range/this.legendTicker,this.legends.middleValue=this.legends.range/2;for(var t=[],e=[],n=this.legends.middleValue;n<=this.max;n+=this.legends.interval)t.push(n);for(n=this.legends.middleValue;n>this.min;n-=this.legends.interval)n!==this.legends.middleValue&&e.push(n);e.reverse(),this.legends.values=e.concat(t)}this.minFormatted=this.$_Slider_getFormat(this.min),this.maxFormatted=this.$_Slider_getFormat(this.max),this.valueFormatted=this.getValueFormatted()},t.prototype.ngAfterViewInit=function(){this.$_Slider_output_FollowThumb()},t.prototype.ngOnChanges=function(t){this.$_Slider_output_FollowThumb(),t&&(t.min||t.max)&&this.$_Slider_backgroundGradient_update()},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.makeLegalValue=function(t){return t>this.max?this.max:t<this.min?this.min:parseInt(t,10)},t.prototype.getValueFormatted=function(){return this.$_Slider_getFormat(this.value)},t.prototype.legendClickHandler=function(t){this.$_Slider_updateValueFromLegend(t),this.$_Slider_backgroundGradient_update(),this.val=t},t.prototype.$_Slider_updateValue=function(t){var e=this.makeLegalValue("string"==typeof t?t:t.target.value);this.setModel(e),this.$_Slider_backgroundGradient_update()},t.prototype.onInputBlur=function(t){console.log(t),this.writeValue(t)},t.prototype.$_Slider_updateValueFromLegend=function(t){this.value=t,this.valueFormatted=this.getValueFormatted()},t.prototype.$_Slider_output_FollowThumb=function(){if(this.follow){var t=this.$input.nativeElement.offsetWidth-25,e=this.value,n=this.min,i=this.max,a=(e-i)/(n-i);a*=t,this.outputStyleRight=a+"px"}},t.prototype.$_Slider_backgroundGradient_update=function(){var t=(this.value-this.min)/(this.max-this.min);this.backgroundGradient="linear-gradient(to right, #0051a5 "+100*t+"%, #b3b3b3 "+100*t+"%)"},t.prototype.$_Slider_formatNumberLive=function(){return this.$_Slider_getFormat(this.value)},t.prototype.$_Slider_getFormat=function(t){var e=this;if(e.formatNumberLive){var n=2===(t+="").split(".").length?t.split(".")[1].length:0;return void 0===e.unit||e.displayInput?yt(parseFloat(t),e.lang,n):ft(parseFloat(t),e.lang,n,e.unit)}return t},t.prototype.setModel=function(t){t>this.max?(t=this.max,this.val=t):t<this.min&&(t=this.min,this.val=t),this.writeValue(t),this.$_Slider_output_FollowThumb(),this.$_Slider_backgroundGradient_update(),this.val=this.valueFormatted,this.sliderUpdate.emit({id:this.id,value:this.value})},t.prototype.writeValue=function(t){this.value=t,this.formattedValue=t,this.valueFormatted=this.getValueFormatted(),this.$_Slider_backgroundGradient_update()},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.$_Slider_updateValue2=function(t){var e=parseFloat(t);e<this.min||isNaN(e)?(this.value=this.min,this.val=this.min):e>this.max?(this.value=this.max,this.val=this.max):this.value=e,this.$_Slider_output_FollowThumb(),this.$_Slider_backgroundGradient_update(),this.valueFormatted=this.getValueFormatted()},t}();pe.decorators=[{type:e.Component,args:[{selector:"rbc-slider",template:'<div class="rbc-slider"  [ngClass]="{disabled: disabled}">\n\t\x3c!-- Label - Display ng-content if available, otherwise show default label --\x3e\n\t\x3c!-- Label text --\x3e\n\t<rbc-label *ngIf="label" [id]="id + \'Label\'"  [for]="id" [text]="label">\n\t\t<ng-content select="[label]"></ng-content>\n\t</rbc-label>\n\n\t\x3c!-- Help text --\x3e\n\t<rbc-help-text *ngIf="helpText" [id]="id + \'HelpText\'" [text]="helpText">\n\t\t<ng-content select="[helpText]"></ng-content>\n\t</rbc-help-text>\n\n\t<span [id]="id+\'minValue\'" class="sr-only"> {{minLabel}}{{ minFormatted }} </span>\n\t<span [id]="id+\'maxValue\'" class="sr-only"> {{maxLabel}}{{ maxFormatted }} </span>\n\t\x3c!-- Slider --\x3e\n\t<div [ngClass]="{ \'rbc-slider-pt\': follow || numberOfTicker }" class="rbc-slider-wrap">\n\t\t<div class="rbc-slider-nowrap">\n\t\t\t<span *ngIf="displayMinMax" [id]="id+\'LegendMin\'" class="rbc-slider-minmax"> {{ minFormatted }} </span>\n\n\t\t\t<div class="rbc-slider-control-wrap">\n\t\t\t\t\x3c!-- Slider Legend --\x3e\n\t\t\t\t<div *ngIf="legendTicker" [ngStyle]="{ width: widthInputRange }" class="rbc-slider-legend">\n\t\t\t\t\t<span\n\t\t\t\t\t\t[id]="id +\'LegendTicker\' + key"\n\t\t\t\t\t\t*ngFor="let ticker of legends.values; index as key"\n\t\t\t\t\t\t[attr.key]="ticker.id"\n\t\t\t\t\t\tclass="rbc-slider-legend-ticker"\n\t\t\t\t\t\t[class.active]="value == ticker"\n\t\t\t\t\t\t(click)="legendClickHandler(ticker)">\n\t\t\t\t\t\t{{ ticker }}\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t\t<input\n\t\t\t\t\t#inputSelector\n\t\t\t\t\t[ngClass]="{ \'follow-thumb\': follow, \'display-value\': displayInput}"\n\t\t\t\t\t[id]="id"\n\t\t\t\t\t(input)="setModel($event.target.value)"\n\t\t\t\t\t[min]="min"\n\t\t\t\t\t[max]="max"\n\t\t\t\t\t[step]="step"\n\t\t\t\t\t[disabled]="disabled"\n\t\t\t\t\t[value]="value"\n\t\t\t\t\t[name]="name"\n\t\t\t\t\t[style.background-image]="backgroundGradient"\n\t\t\t\t\tdata-output=""\n\t\t\t\t\ttype="range"\n\t\t\t\t\tclass="rbc-slider-control"\n\t\t\t\t\t[attr.aria-describedby]="id + \'minValue \' + id + \'maxValue\'">\n\t\t\t\t<output #outputSelector *ngIf="follow" [id]="id+\'Output\'" class="rbc-slider-output" [ngStyle]="{ right: outputStyleRight }" [innerHTML]="valueFormatted" ></output>\n\t\t\t</div>\n\t\t\t<span *ngIf="displayMinMax" [id]="id+\'LegendMax\'" class="rbc-slider-minmax"> {{ maxFormatted }} </span>\n\t\t</div>\n\n\t\t\x3c!-- Input Box --\x3e\n\t\t<rbc-input\n\t\t\t#inputOutput\n\t\t\t*ngIf="displayInput"\n\t\t\t[id]="id+\'InputVisual\'"\n\t\t\t[value]="formattedValue"\n\t\t\t(onInput)="$_Slider_updateValue2($event)"\n\t\t\t[disabled]="disabled"\n\t\t\t[formatNumberLive]="formatNumberLive"\n\t\t\t[unit]="unit"\n\t\t\t[unitPositionX]="unitPositionX"\n\t\t\tsize="small"\n\t\t\tsizeWidth="auto"\n\t\t\t(focusout)="onInputBlur($event.target.value)"\n\t\t\t[ariaLabelledBy]="label ? id + \'Label\' : null"\n\t\t\t[ariaDescribedBy]="id + \'minValue \' + id + \'maxValue\'"\n\t\t\t[ariaLabel]="\'slider\'"\n\t\t></rbc-input>\n\t\t<input\n\t\t\t[value]="value"\n\t\t\t[attr.aria-hidden]="true"\n\t\t\ttype="hidden">\n\t</div>\n\n\t<ng-container select="[status]">\n\t\t<rbc-status\n\t\t\t*ngIf="status"\n\t\t\t[id]="id + \'Status\'"\n\t\t\t[text]="status"\n\t\t\t[type]="statusType">\n\t\t\t<ng-content select="[status-content]"></ng-content>\n\t\t</rbc-status>\n\t</ng-container>\n</div>\n',encapsulation:e.ViewEncapsulation.None,providers:[{provide:a.NG_VALUE_ACCESSOR,multi:!0,useExisting:e.forwardRef((function(){return pe}))}]}]}],pe.ctorParameters=function(){return[{type:h}]},pe.propDecorators={disabled:[{type:e.Input}],displayInput:[{type:e.Input}],displayMinMax:[{type:e.Input}],errorLabel:[{type:e.Input}],follow:[{type:e.Input}],formatNumberLive:[{type:e.Input}],helpText:[{type:e.Input}],id:[{type:e.Input}],label:[{type:e.Input}],legendTicker:[{type:e.Input}],max:[{type:e.Input}],min:[{type:e.Input}],_value:[{type:e.Input,args:["value"]}],name:[{type:e.Input}],step:[{type:e.Input}],unit:[{type:e.Input}],unitPositionX:[{type:e.Input}],lang:[{type:e.Input}],minLabel:[{type:e.Input}],maxLabel:[{type:e.Input}],status:[{type:e.Input}],statusType:[{type:e.Input}],sliderUpdate:[{type:e.Output}],value:[{type:e.Input}],$input:[{type:e.ViewChild,args:["inputSelector",{static:!0}]}],$output:[{type:e.ViewChild,args:["outputSelector",{static:!0}]}],$inputOutput:[{type:e.ViewChild,args:["inputOutput",{static:!0}]}]};var de=function(){};de.decorators=[{type:e.NgModule,args:[{declarations:[pe],imports:[n.CommonModule,a.FormsModule,It,ct,st,ot],exports:[pe]}]}];var ue=function(){function t(t,e,n,i){this.router=t,this.hostRoute=e,this.hostEl=n,this.location=i,this.scrollDuration=250,this.buffer=75,this.slashRegex=/\//g}return t.prototype.onclick=function(t){t.preventDefault(),this.scrollTo(this.scrollToId)},t.prototype.scrollTo=function(t){var e=t.match(this.slashRegex)?document.getElementById(t.split(this.slashRegex).pop().slice(1)):document.getElementById(t.slice(1));if(e){var n=window.pageYOffset+e.getBoundingClientRect().top,i=window.pageYOffset<=n?"down":"up",a="down"===i?n-window.pageYOffset:window.pageYOffset-n,o=(new Date).getTime()+this.scrollDuration;this.scrollAnimation(n,o,i,a)}},t.prototype.scrollAnimation=function(t,e,n,i){var a,o=(new Date).getTime(),r=(e-o)/this.scrollDuration*i;if(r="down"===n?window.pageYOffset+(i-r):window.pageYOffset-(i-r),"down"===n&&r>=t-this.buffer||"up"===n&&r<=t-this.buffer){if(r=t-this.buffer,window.scrollTo(0,r),this.scrollToId&&"#app"!==this.scrollToId){var s=this.hostRoute.routeConfig?["./"]:[this.location.path()];this.router.navigate(s,{queryParamsHandling:"preserve",relativeTo:this.hostRoute,fragment:this.scrollToId.split("#").reverse()[0]})}}else{window.scrollTo(0,r);var l=(a=this.scrollAnimation).bind.apply(a,J([this],Array.from(arguments))),c="down"===n&&window.pageYOffset<t,p="up"===n&&window.pageYOffset>t&&0!==window.pageYOffset;(c||p)&&requestAnimationFrame(l)}},t}();ue.decorators=[{type:e.Directive,args:[{selector:"[smoothScroll]"}]}],ue.ctorParameters=function(){return[{type:l.Router},{type:l.ActivatedRoute},{type:e.ElementRef},{type:n.Location}]},ue.propDecorators={scrollToId:[{type:e.Input,args:["smoothScroll"]}],scrollDuration:[{type:e.Input}],buffer:[{type:e.Input}],onclick:[{type:e.HostListener,args:["click",["$event"]]}]};var he=function(){function t(){this.regexAtom="[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]",this.regexIp="\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\]",this.defaultRegexNumber=/^(\+|-)?[0-9]+((\.|,)?[0-9]+)?((e)?([0-9]+((\.|,)?[0-9]+))?)$/,this.defaultRegexPhone=/^(\(?\+?[0-9]*\)?)?[0-9_\- \(\)]?$/,this.defaultRegexPostalCode=/^[a-zA-Z][0-9][a-zA-Z](\ )?[0-9][a-zA-Z][0-9]$/,this.defaultRegexZipCode=/^[0-9]{5}$/}return t.prototype.regexDomain=function(){return"("+this.regexAtom+"+(\\."+this.regexAtom+"+)*"},t.prototype.regexEmail=function(){return"^"+this.regexAtom+"+(\\."+this.regexAtom+"+)*@"+this.regexDomain+"|"+this.regexIp+")$"},t.prototype.validate=function(t){switch(this.type){case"number":return ge(new RegExp(this.defaultRegexNumber),"number")(t);case"email":return ge(new RegExp(this.regexEmail()),"email")(t);case"tel":return ge(new RegExp(this.defaultRegexPhone),"tel")(t);case"postalcode":return ge(new RegExp(this.defaultRegexPostalCode),"postalcode")(t);case"zipcode":return ge(new RegExp(this.defaultRegexZipCode),"zipcode")(t);default:return null}},t}();function ge(t,e){return function(e){return!t.test(e.value)?{type:{value:e.value}}:null}}he.decorators=[{type:e.Directive,args:[{selector:"[inputValidator]",providers:[{provide:a.NG_VALIDATORS,useExisting:he,multi:!0}]}]}],he.propDecorators={type:[{type:e.Input,args:["type"]}]};var be=function(){function t(t,e,n){this.hostEl=t,this.templateRef=e,this.viewContainer=n,this.hasView=!1}return Object.defineProperty(t.prototype,"userContent",{get:function(){return this._userContent},set:function(t){this._userContent=t,this.hasView?this.hasView&&(this.viewContainer.clear(),this.hasView=!1):(this.viewContainer.createEmbeddedView(this.templateRef),this.hasView=!0)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){},t.prototype.ngAfterContentInit=function(){},t.prototype.ngAfterViewInit=function(){!this.checkEmbeddedView(this.viewContainer)&&this.userContent instanceof e.TemplateRef&&(this.viewContainer.clear(),this.viewContainer.createEmbeddedView(this.userContent))},t.prototype.ngOnDestroy=function(){this.viewContainer.clear(),this.hasView=!1},t.prototype.checkEmbeddedView=function(t){if(this.viewContainer.length)for(var e=0;e<this.viewContainer._embeddedViews.length;e++){var n=this.viewContainer._embeddedViews[e];if(n.nodes.length)for(var i=0;i<n.nodes.length;i++){var a=n.nodes[i];if(this.checkIfValidNode(a))return!0}}return!1},t.prototype.checkInstance=function(t){if(t.hasOwnProperty("_viewRef")&&t._viewRef&&"rootNodes"in t._viewRef)for(var e=0;e<t._viewRef.rootNodes.length;e++){if(this.checkIfValidRootNode(t._viewRef.rootNodes[e]))return!0}else if(t.hasOwnProperty("_viewContainer"))return this.checkEmbeddedView(t._viewContainer);return!1},t.prototype.checkIfValidRootNode=function(t){return!(!t||!("nodeType"in t))&&8!==t.nodeType},t.prototype.checkIfValidNode=function(t){return t&&t.hasOwnProperty("renderElement")?this.checkIfValidRootNode(t.renderElement):!(!t||!t.hasOwnProperty("instance"))&&this.checkInstance(t.instance)},t}();be.decorators=[{type:e.Directive,args:[{selector:"[rbcSlotDefault]"}]}],be.ctorParameters=function(){return[{type:e.ElementRef},{type:e.TemplateRef},{type:e.ViewContainerRef}]},be.propDecorators={userContent:[{type:e.Input,args:["rbcSlotDefault"]}]};var me=function(){};me.decorators=[{type:e.Directive,args:[{selector:"[rbcSlotMarker]"}]}];var ye=function(){};ye.decorators=[{type:e.NgModule,args:[{declarations:[ue,he,be,me],exports:[ue,he,be,me]}]}];var fe=function(){function t(t){this.idService=t,this.expanded=!1,this.arrow=!1,this.arrowPositionX="right",this.arrowPositionY="top",this.toggleShow=!1,this.expandclose=new e.EventEmitter,this.expandopen=new e.EventEmitter,this.id=t.generate()}return t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.toggle=function(){this.expanded=!this.expanded,this.expanded?this.expandopen.emit(this.id):this.expandclose.emit(this.id)},t}();fe.decorators=[{type:e.Component,args:[{selector:"rbc-expandable",template:'<div [id]="id || childId" [class.open]="expanded" [ngClass]="hostClass" class="rbc-expandable">\n\t<div\n\t\tclass="rbc-expandable-trigger"\n\t\t[class.rbc-expandable-arrow-wrap]="arrow"\n\t\t[id]="id + \'Header\'"\n\t>\n\t<ng-content select="[trigger-left]"></ng-content>\n\t\t<button\n\t\t\t[id]="id + \'ButtonTrigger\'"\n\t\t\t[attr.aria-expanded]="expanded ? \'true\' : \'false\'"\n\t\t\t[attr.aria-controls]="expanded? id + \'Content\': \'\'"\n\t\t\tclass="rbc-expandable-trigger-button"\n\t\t\t[class.rbc-expandable-trigger-button-between]="arrowPositionX === \'right\'"\n\t\t\t[class.rbc-expandable-trigger-button-center]="arrowPositionY === \'middle\'"\n\t\t\t[disabled]="disabled"\n\t\t\t(click)="toggle()"\n\t\t>\n\t\t\t<ng-content select="[trigger]"> </ng-content>\n\n\t\t\t<rbc-icon\n\t\t\t\t*ngIf="arrow"\n\t\t\t\tclass="rbc-expandable-arrow"\n\t\t\t\t[attr.aria-hidden]="true"\n\t\t\t\t[ngClass]="\'rbc-expandable-arrow-\'+arrowPositionX"\n\t\t\t\ticon="angle-down"\n\t\t\t></rbc-icon>\n\t\t</button>\n\t\t<ng-content select="[trigger-right]"></ng-content>\n\t</div>\n\t<div\n\t\t*ngIf="expanded"\n\t\t[@height]="{value:expanded}"\n\t\t[id]="id+\'Content\'"\n\t\t[attr.aria-labelledby]="id + \'Header\'"\n\t\tclass="rbc-expandable-content">\n\t\t<div class="rbc-expandable-content-body">\n\t\t\t<ng-content></ng-content>\n\t\t</div>\n\t</div>\n</div>\n',encapsulation:e.ViewEncapsulation.None,animations:[c.trigger("height",[c.transition(":enter",[c.style({height:0,overflow:"hidden"}),c.animate("0.4s ease-in-out",c.style({height:"*"}))]),c.transition(":leave",[c.style({overflow:"hidden"}),c.animate("0.4s ease-in-out",c.style({overflow:"hidden",height:0}))])])]}]}],fe.ctorParameters=function(){return[{type:h}]},fe.propDecorators={id:[{type:e.Input}],expanded:[{type:e.Input}],arrow:[{type:e.Input}],arrowPositionX:[{type:e.Input}],arrowPositionY:[{type:e.Input}],duration:[{type:e.Input}],toggleShow:[{type:e.Input}],hostClass:[{type:e.Input}],childId:[{type:e.Input}],disabled:[{type:e.Input}],expandclose:[{type:e.Output}],expandopen:[{type:e.Output}]};var ve=function(){};ve.decorators=[{type:e.NgModule,args:[{declarations:[fe],imports:[n.CommonModule,ut,f],exports:[fe]}]}];var Ie=function(){function t(){this.$activeItemId=new o.Subject,this.$eventBus=new o.Subject,this._itemsFlat={}}return Object.defineProperty(t.prototype,"itemsFlat",{get:function(){return this._itemsFlat},set:function(t){this._itemsFlat=t},enumerable:!0,configurable:!0}),t.prototype.setParent=function(t){this.itemsContainer=t},t.prototype.addItems=function(t){var e=this;t.forEach((function(t){e.addItem(t)}))},t.prototype.addItem=function(t){this.itemsFlat||(this.itemsFlat={}),this.itemsFlat[t.id]=t},t.prototype.removeItem=function(t){delete this.itemsFlat[t]},t.prototype.getCurrentRouteSnapshot=function(){return this.itemsContainer?this.itemsContainer.currentPage:null},t.prototype.closeAllItems=function(){var t=this;this.itemsFlat&&Object.keys(this.itemsFlat).forEach((function(e){t.itemsFlat[e].isExpanded=!1}))},t.prototype.findMatchingItemForRoute=function(t){var e=this;return t?Object.keys(this.itemsFlat).find((function(n){return e.itemsFlat[n].router&&t.url.length&&t.url[0].path===e.itemsFlat[n].routeName&&e.itemsFlat[n].expandable})):null},t.prototype.checkIfDirectChild=function(t){return!!this.itemsContainer.items&&this.itemsContainer.items.some((function(e){return e===t}))},t}();Ie.decorators=[{type:e.Injectable}],Ie.ctorParameters=function(){return[]};var we=function(){function t(t,n){this.idService=t,this.sidenavService=n,this.searchPlaceholder="Search",this.searchLabel="Search",this.arrows=!0,this.hamburgerPositionX="left",this.toggleType="full",this.fullWidth=!0,this.onSearch=new e.EventEmitter,this.navtoggleupdate=new e.EventEmitter,this.navexpandupdate=new e.EventEmitter,this._navIsToggled=!1,this.active={expand:null},this.isMd=!0,this.query="",this._hamburgerIsToggled=!1}return Object.defineProperty(t.prototype,"toggled",{get:function(){return this._navIsToggled},set:function(t){this._navIsToggled=t,this.hamburgerIsToggled=this.toggled,this.toggleLinks(this.hamburgerIsToggled)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDisabledNavigation",{get:function(){return!this.isMd&&this.toggleType&&"icon"!==this.toggleType&&this.hamburgerIsToggled||this.isMd&&!this.hamburgerIsToggled},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hamburgerIsToggled",{get:function(){return this._hamburgerIsToggled},set:function(t){var e=this;if(this._hamburgerIsToggled=t,window.matchMedia("(max-width: 991px)").matches){var n=["click","touchend"].map((function(t){var n=e.toggleLinksMobile.bind(e);return document.body.addEventListener(t,n),function(){return document.body.removeEventListener(t,n)}}));this.hamburgerIsToggled||n.forEach((function(t){return t()}))}},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.id=this.id?this.id:this.idService.generate(),this.isMd=window.matchMedia("(max-width: 991px)").matches,this.searchPlaceholder||(this.searchPlaceholder="Search"),this.mountEventBus(),this.sidenavService.setParent(this)},t.prototype.arrayOne=function(t){return Array(t)},t.prototype.mountEventBus=function(){var t=this;this.$eventBusSub=this.sidenavService.$eventBus.subscribe((function(e){e.isDirectChild&&e.activeItemId&&t.sidenavService.itemsFlat[e.activeItemId]&&t.sidenavService.$activeItemId.next(e.activeItemId),(!e.item.expandable&&e.item.router&&t.isMd||e.item.expandable&&t.hamburgerIsToggled&&!t.isMd)&&(t.toggleLinks(!1),t.navtoggleupdate.emit({isToggled:!1,self:t}))}))},t.prototype.asElement=function(t){return t},t.prototype.ngAfterViewInit=function(){if(this.asElement(this.mobileTopSlot.nativeElement).children.length||this.search||this.asElement(this.mobileTopSlot.nativeElement).remove(),this.asElement(this.otherSlot.nativeElement).children.length||this.asElement(this.otherSlot.nativeElement).remove(),this.asElement(this.mobileBottomSlot.nativeElement).children.length||this.asElement(this.mobileBottomSlot.nativeElement).remove(),this.getCurrentPageKey(),this.toggleType){var t="icon"===this.toggleType?"nav-collapsable-icon":"nav-collapsable";document.body.classList.add(t),document.body.classList.add("nav-is-default")}"right"===this.hamburgerPositionX&&document.body.classList.add("nav-right"),this.navtoggleupdate.emit({isToggled:this.hamburgerIsToggled,self:this})},t.prototype.ngOnChanges=function(t){t&&t.currentPage&&this.getCurrentPageKey()},t.prototype.ngOnDestroy=function(){this.idService&&this.idService.remove(this.id),this.$eventBusSub&&this.$eventBusSub.unsubscribe()},t.prototype.toggleLinks=function(t){this.hamburgerIsToggled=!0===t||!1===t?t:!this.hamburgerIsToggled;var e=document.body;this.hamburgerIsToggled?(e.classList.add("nav-is-toggled"),this.toggleType&&e.classList.remove("nav-is-default")):(e.classList.remove("nav-is-toggled"),this.toggleType&&e.classList.add("nav-is-default")),this.hamburgerIsToggled&&!this.isMd&&"icon"===this.toggleType&&(this.active.expand="");var n=window.matchMedia("(max-width: 991px)").matches;this.hamburgerIsToggled&&!n&&"icon"===this.toggleType&&this.sidenavService.closeAllItems(),this.navtoggleupdate.emit({isToggled:this.hamburgerIsToggled,self:this})},t.prototype.toggleLinksMobile=function(t){t.target.classList.contains("nav-is-toggled")&&this.toggleLinks(!1)},t.prototype.emitSearch=function(t){this.onSearch.emit(t)},t.prototype.$_SideNav_search=function(){"function"==typeof this.search&&this.search(this.query)},t.prototype.setActiveExpand=function(t){t&&this.sidenavService.itemsFlat[t].expandable&&this.sidenavService.$activeItemId.next(t)},t.prototype.getCurrentPageKey=function(){if(this.currentPage){var t=this.sidenavService.findMatchingItemForRoute(this.currentPage);this.setActiveExpand(t)}},t.prototype.isVisible=function(t){return void 0===t.visible},t}();we.decorators=[{type:e.Component,args:[{selector:"rbc-side-nav",template:'<nav\n\t#sideNav\n\t[id]="id"\n\tclass="rbc-side-nav"\n\trole="navigation">\n\n\t<div\n\t\t[ngClass]="{ \'container\': !fullWidth }"\n\t\tclass="rbc-nav-burger">\n\n\t\t<button\n\t\t\tid="hamburgerMenuButton"\n\t\t\t[attr.aria-expanded]="hamburgerIsToggled ? \'false\' : \'true\'"\n\t\t\t[attr.aria-haspopup]="true"\n\t\t\t[attr.aria-label]="\'Toggle menu\'"\n\t\t\tclass="rbc-nav-burger-button"\n\t\t\t(click)="toggleLinks(!hamburgerIsToggled)">\n\n\t\t\t<div class="rbc-nav-burger-bars-wrap">\n\t\t\t\t<span class="rbc-nav-burger-bars"></span>\n\t\t\t</div>\n\t\t</button>\n\t</div>\n\n\t<div #mobileTopSlot\n\t\t[attr.aria-disabled]="isDisabledNavigation ? \'true\' : \'false\'"\n\t\t[attr.aria-hidden]="isDisabledNavigation ? \'true\' : \'false\'"\n\t\tclass="rbc-side-nav-primary">\n\t\t<div\n\t\t\t*ngIf="search"\n\t\t\t[attr.aria-label]="\'Mobile top menu\'"\n\t\t\tclass="rbc-side-nav-top"\n\t\t\trole="menu">\n\n\t\t\t<ng-content select="[mobile-top]"></ng-content>\n\n\t\t\t<div\n\t\t\t\t*ngIf="search"\n\t\t\t\tclass="rbc-side-nav-search"\n\t\t\t\trole="menuitem">\n\n\t\t\t\t<rbc-input\n\t\t\t\t\t[id]="id +\'InputSearch\'"\n\t\t\t\t\t[ariaLabel]="searchLabel"\n\t\t\t\t\t[(ngModel)]="query"\n\t\t\t\t\t[placeholder]="searchPlaceholder"\n\t\t\t\t\t[search]="$_SideNav_search()"\n\t\t\t\t\tsize="small"\n\t\t\t\t\ttype="search">\n\t\t\t\t</rbc-input>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<ul\n\t\t\taria-label="Main navigation"\n\t\t\tclass="rbc-side-nav-items">\n\t\t\t<ng-container *ngIf="items">\n\t\t\t\t<ng-container *ngFor="let item of items; index as index">\n\t\t\t\t\t<rbc-side-nav-item\n\t\t\t\t\t\t*ngIf="item.visible || isVisible(item)"\n\t\t\t\t\t\t[id]="id +\'SideNavItem\'+index"\n\t\t\t\t\t\t[attr.key]="item.name"\n\t\t\t\t\t\t[active]="item.active"\n\t\t\t\t\t\t[avatarImage]="item.avatarImage"\n\t\t\t\t\t\t[avatarText]="item.avatarText"\n\t\t\t\t\t\t[expandable]="item.children && item.children.length > 0"\n\t\t\t\t\t\t[isExpanded]="item.expanded"\n\t\t\t\t\t\t[href]="item.link"\n\t\t\t\t\t\t[icon]="item.icon"\n\t\t\t\t\t\t[router]="item.router"\n\t\t\t\t\t\t[routeObject]="item"\n\t\t\t\t\t\t[routerTo]="{ name: item.name }"\n\t\t\t\t\t\t[title]="item.title"\n\t\t\t\t\t\t[arrow]="arrows">\n\n\t\t\t\t\t\t<ng-container *ngIf="item.children && item.children.length > 0; else defaultContainer" expand-link>\n\t\t\t\t\t\t\t{{item.displayName || item.name}}\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t<ng-template #defaultContainer default>\n\t\t\t\t\t\t\t{{item.displayName || item.name}}\n\t\t\t\t\t\t</ng-template>\n\n\t\t\t\t\t\t<ng-container *ngFor="let itemChild of item.children; index as j;" default>\n\t\t\t\t\t\t\t<rbc-side-nav-item\n\t\t\t\t\t\t\t\t*ngIf="(item.children && item.children.length > 0) && (itemChild.visible || isVisible(itemChild))"\n\t\t\t\t\t\t\t\t[attr.key]="itemChild.name"\n\t\t\t\t\t\t\t\t[href]="itemChild.link"\n\t\t\t\t\t\t\t\t[router]="itemChild.router"\n\t\t\t\t\t\t\t\t[routeObject]="itemChild"\n\t\t\t\t\t\t\t\t[routerTo]="{ name: itemChild.name }"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{{ itemChild.displayName || itemChild.name }}\n\t\t\t\t\t\t\t</rbc-side-nav-item>\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t</rbc-side-nav-item>\n\t\t\t\t</ng-container>\n\t\t\t</ng-container>\n\t\t\t<ng-content></ng-content>\n\t\t</ul>\n\n\t\t<div\n\t\t\t#otherSlot\n\t\t\t[attr.aria-label]="\'Extra menu items\'"\n\t\t\tclass="rbc-side-nav-items-other">\n\t\t\t<ng-content select="[other]"></ng-content>\n\t\t</div>\n\t\t<div\n\t\t\t#mobileBottomSlot\n\t\t\tclass="rbc-side-nav-bottom"\n\t\t\t[attr.aria-label]="\'Mobile bottom menu\'">\n\t\t\t<ng-content select="[mobile-bottom]"></ng-content>\n\t\t</div>\n\t</div>\n</nav>\n',encapsulation:e.ViewEncapsulation.None,providers:[Ie]}]}],we.ctorParameters=function(){return[{type:h},{type:Ie}]},we.propDecorators={toggled:[{type:e.Input}],id:[{type:e.Input}],currentPage:[{type:e.Input}],search:[{type:e.Input}],searchPlaceholder:[{type:e.Input}],searchLabel:[{type:e.Input}],arrows:[{type:e.Input}],hamburgerPositionX:[{type:e.Input}],toggleType:[{type:e.Input}],fullWidth:[{type:e.Input}],items:[{type:e.Input}],anchorLinks:[{type:e.Input}],onSearch:[{type:e.Output}],navtoggleupdate:[{type:e.Output}],navexpandupdate:[{type:e.Output}],sideNav:[{type:e.ViewChild,args:["sideNav",{static:!1}]}],mobileTopSlot:[{type:e.ViewChild,args:["mobileTopSlot",{static:!1}]}],otherSlot:[{type:e.ViewChild,args:["otherSlot",{static:!1}]}],mobileBottomSlot:[{type:e.ViewChild,args:["mobileBottomSlot",{static:!1}]}]};var Ce=function(){function t(t,n){this.idService=t,this.sidenavService=n,this.classList="",this.expandable=!1,this.isExpanded=!1,this.iconWeight="regular",this.target="",this.isExpandedChange=new e.EventEmitter,this.sidenavupdate=new e.EventEmitter,this.navexpandupdate=new e.EventEmitter,this.role="listitem",this.defaultMessage="Default"}return t.prototype.ngOnInit=function(){this.isExpanded=!1,this.id=this.id?this.id:this.idService.generate(),this.classList=[this.classList,"nav-item",this.icon?"nav-item-icon":null,this.anchorLinks?"nav-item-anchor-active":null].filter((function(t){return!!t})).join(" "),this.mountActiveItemListener()},t.prototype.ngOnChanges=function(t){t&&t.isExpanded&&!t.isExpanded.firstChange&&this.isExpandedChange.emit(this.isExpanded)},t.prototype.ngOnDestroy=function(){},t.prototype.ngAfterViewInit=function(){this.checkRouterLink()},t.prototype.ngAfterContentInit=function(){this.syncWithService()},t.prototype.mountActiveItemListener=function(){var t=this;this.$activeSub=this.sidenavService.$activeItemId.subscribe((function(e){t.isExpanded=t.id===e,t.active=t.isExpanded}))},t.prototype.syncWithService=function(){this.sidenavService.addItem(this)},t.prototype.checkRouterLink=function(){if(this.router){var t=this.sidenavService.getCurrentRouteSnapshot();t&&t.url.length>0&&t.url[0].path===this.routeName&&(this.isExpanded=!0)}},t.prototype.expandableOpened=function(){this.emitItemClicked(!0)},t.prototype.expandableClosed=function(){this.emitItemClicked(!1)},t.prototype.toggleExpanded=function(t){this.isExpanded=t;var e=this.isExpanded?this.id:null;this.navexpandupdate.emit({active:e})},t.prototype.emitItemClicked=function(t){this.sidenavupdate.emit({id:this.id,self:this}),this.sidenavService.$eventBus.next({activeItemId:t?this.id:null,isDirectChild:this.sidenavService.checkIfDirectChild(this),item:this})},t}();Ce.decorators=[{type:e.Component,args:[{selector:"rbc-side-nav-item",template:'<span\n\t[id]="id"\n\t[ngClass]="{ \'rbc-side-nav-item-icon\': icon, \'rbc-side-nav-item-anchor-active\': anchorLinks }"\n\tclass="rbc-side-nav-item">\n\t<h2\n\t\t*ngIf="title"\n\t\tclass="rbc-side-nav-item-title">\n\t\t{{ title }}\n\t</h2>\n\t<rbc-expandable\n\t\t*ngIf="expandable; else notExpandable"\n\t\t[id]="id+\'-nav-expandable\'"\n\t\t[attr.aria-expanded]="isExpanded ? \'true\' : \'false\'"\n\t\t[arrow]="arrow"\n\t\t[expanded]="isExpanded"\n\t\t[hostClass]="[\'rbc-side-nav-expandable\']"\n\t\t[attr.aria-haspopup]="true"\n\t\t(expandclose)="toggleExpanded(false)"\n\t\t(expandopen)="toggleExpanded(true)">\n\t\t<span\n\t\t\ttrigger\n\t\t\tclass="rbc-side-nav-link">\n\t\t\t<rbc-caption\n\t\t\t\t*ngIf="avatarImage || avatarText"\n\t\t\t\t[image]="avatarImage"\n\t\t\t\t[avatarText]="avatarText"\n\t\t\t\t[avatarColor]="\'primary\'"\n\t\t\t\t[avatarTextColor]="\'white\'"\n\t\t\t\tclass="rbc-side-nav-item-image"\n\t\t\t></rbc-caption>\n\t\t\t<rbc-icon\n\t\t\t\t*ngIf="icon"\n\t\t\t\t[icon]="icon"\n\t\t\t\t[type]="iconWeight"\n\t\t\t\tclass="rbc-side-nav-icon"\n\t\t\t\trole="none"></rbc-icon>\n\t\t\t<span class="rbc-side-nav-text">\n\t\t\t\t<ng-content select="[expand-link]"></ng-content>\n\t\t\t</span>\n\t\t</span>\n\t\t<ul\n\t\t\tclass="rbc-side-nav-items rbc-side-nav-expandable-content">\n\t\t\t<ng-content select="[default]"></ng-content>\n\t\t</ul>\n\t</rbc-expandable>\n\n\t<ng-template #notExpandable>\n\t\t<ng-container *ngIf="router; else notRouter">\n\t\t\t<a\n\t\t\t\t*ngIf="!expandable && routerTo"\n\t\t\t\t[routerLink]="[\'/\'+ routerTo[\'name\'] ] || [\'\']"\n\t\t\t\trouterLinkActive="active"\n\t\t\t\tclass="rbc-side-nav-link"\n\t\t\t\t[ngClass]="{ \'active\': active }"\n\t\t\t\ttabindex="0"\n\t\t\t\t(click)="$event.stopPropagation(); emitItemClicked(true)">\n\t\t\t\t<rbc-caption\n\t\t\t\t\t*ngIf="avatarImage || avatarText"\n\t\t\t\t\t[image]="avatarImage"\n\t\t\t\t\t[avatarText]="avatarText"\n\t\t\t\t\t[avatarColor]="\'primary\'"\n\t\t\t\t\t[avatarTextColor]="\'white\'"\n\t\t\t\t\tclass="rbc-side-nav-item-image"\n\t\t\t\t></rbc-caption>\n\t\t\t\t<rbc-icon\n\t\t\t\t\t*ngIf="icon"\n\t\t\t\t\t[icon]="icon"\n\t\t\t\t\t[type]="iconWeight"\n\t\t\t\t\tclass="rbc-side-nav-icon"\n\t\t\t\t\trole="none"></rbc-icon>\n\n\t\t\t\t<span class="rbc-side-nav-text">\n\t\t\t\t\t{{routeObject["displayName"]}}\n\t\t\t\t</span>\n\t\t\t</a>\n\t\t</ng-container>\n\n\t\t<ng-template #notRouter>\n\t\t\t<ng-container *ngIf="href; else buttonItem">\n\t\t\t\t<a\n\t\t\t\t\t[id]="id+\'-nav-link\'"\n\t\t\t\t\t*ngIf="!expandable && href"\n\t\t\t\t\tclass="rbc-side-nav-link"\n\t\t\t\t\t[ngClass]="{ \'active\': active }"\n\t\t\t\t\t[href]="href"\n\t\t\t\t\t[target]="target"\n\t\t\t\t\ttabindex="0"\n\t\t\t\t>\n\t\t\t\t\t<rbc-icon\n\t\t\t\t\t*ngIf="icon"\n\t\t\t\t\t[icon]="icon"\n\t\t\t\t\t[type]="iconWeight"\n\t\t\t\t\tclass="rbc-side-nav-icon"\n\t\t\t\t\trole="none"></rbc-icon>\n\t\t\t\t\t<span class="rbc-side-nav-text">\n\t\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t\t\t{{routeObject["displayName"]}}\n\t\t\t\t\t</span>\n\t\t\t\t</a>\n\t\t\t</ng-container>\n\n\t\t\t<ng-template #buttonItem>\n\t\t\t\t<button\n\t\t\t\t\t[id]="id+\'-nav-link\'"\n\t\t\t\t\tclass="rbc-side-nav-link"\n\t\t\t\t\t[ngClass]="{ \'active\': active }"\n\t\t\t\t\t*ngIf="!expandable && !href"\n\t\t\t\t\ttabindex="0">\n\t\t\t\t\t<rbc-icon\n\t\t\t\t\t\t*ngIf="icon"\n\t\t\t\t\t\t[icon]="icon"\n\t\t\t\t\t\t[type]="iconWeight"\n\t\t\t\t\t\tclass="rbc-side-nav-icon"\n\t\t\t\t\t\trole="none"></rbc-icon>\n\t\t\t\t\t<span class="rbc-side-nav-text">\n\t\t\t\t\t\t<ng-content></ng-content>\n\t\t\t\t\t</span>\n\t\t\t\t</button>\n\t\t\t</ng-template>\n\t\t</ng-template>\n\t</ng-template>\n\n\t<rbc-transition *ngIf="anchorLinks && anchorLinks.length > 0" [state]="true">\n\t\t<ul\n\t\t\tclass="rbc-side-nav-anchor-items"\n\t\t\t[attr.aria-label]="\'Anchor links\'">\n\t\t\t<li\n\t\t\t\t*ngFor="let link of anchorLinks; index as index"\n\t\t\t\tclass="rbc-side-nav-anchor-item"\n\t\t\t\t[attr.key]="id + index">\n\t\t\t\t<a\n\t\t\t\t\tclass="rbc-side-nav-anchor-link"\n\t\t\t\t\t[href]="link.link"\n\t\t\t\t\t[target]="target"\n\t\t\t\t\t[attr.data-anchor-related]="link.link.slice(1)"\n\t\t\t\t\t[smoothScroll]="link.link">\n\t\t\t\t\t<span class="rbc-side-nav-anchor-text">{{ link.text }}</span>\n\t\t\t\t</a>\n\t\t\t</li>\n\t\t</ul>\n\t</rbc-transition>\n</span>\n',encapsulation:e.ViewEncapsulation.None,host:{role:"none"},styles:[""]}]}],Ce.ctorParameters=function(){return[{type:h},{type:Ie}]},Ce.propDecorators={id:[{type:e.Input}],classList:[{type:e.HostBinding,args:["class"]},{type:e.Input,args:["class"]}],active:[{type:e.Input}],expandable:[{type:e.Input}],isExpanded:[{type:e.Input}],title:[{type:e.Input}],href:[{type:e.Input}],icon:[{type:e.Input}],iconWeight:[{type:e.Input}],routeName:[{type:e.Input}],router:[{type:e.Input}],routerOptions:[{type:e.Input}],routerTo:[{type:e.Input}],routeObject:[{type:e.Input}],target:[{type:e.Input}],anchorLinks:[{type:e.Input}],arrow:[{type:e.Input}],avatarImage:[{type:e.Input}],avatarText:[{type:e.Input}],isExpandedChange:[{type:e.Output}],sidenavupdate:[{type:e.Output}],navexpandupdate:[{type:e.Output}],role:[{type:e.HostBinding,args:["attr.role"]}]};var xe=function(){};xe.decorators=[{type:e.NgModule,args:[{declarations:[we,Ce],imports:[n.CommonModule,It,f,kt,l.RouterModule,ve,gt,Z,ye,a.FormsModule],exports:[we,Ce]}]}];var ke=function(){function t(){}return t.prototype.transform=function(t,e,n){switch(e){case"AND":return t&n;case"OR":return t|n;case"XOR":return t^n;case"left-shift":return t<<n;case"right-shift":return t>>n;case"right-shift-discard":return t>>>n;default:return t}},t}();ke.decorators=[{type:e.Pipe,args:[{name:"bitwise"}]}];var Se=function(){};Se.decorators=[{type:e.NgModule,args:[{declarations:[ke],imports:[n.CommonModule],exports:[ke]}]}];var Te=function(){function t(t){this.idService=t,this._value="",this.size="medium",this.valueChange=new e.EventEmitter,this.onChangeHandler=function(t){},this.onTouchedHandler=function(){},this.id=t.generate()}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"describedbyGen",{get:function(){var t;if(this.helpText||this.ariaDescribedby){var e=((t={})[this.id+"HelpText"]=this.helpText,t[this.ariaDescribedby]=this.ariaDescribedby,t);return Object.keys(e).filter((function(t){return e[t]})).join(" ")}return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classGen",{get:function(){var t;return(t={})["rbc-paginator-select-control"]=this.wrapperClass,t["rbc-select-"+this.size]=this.size,t["rbc-select-width-"+this.sizeWidth]=this.sizeWidth,t.disabled=this.disabled&&"false"!==this.disabled,t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"optionsGen",{get:function(){return this.options?this.options:[]},set:function(t){this.options=t},enumerable:!0,configurable:!0}),t.prototype.writeValue=function(t){this.value=t},t.prototype.onChange=function(t){this.value=t.target.value,this.onChangeHandler(t.target.value),this.valueChange.emit(t.target.value)},t.prototype.registerOnChange=function(t){this.onChangeHandler=t},t.prototype.registerOnTouched=function(t){this.onTouchedHandler=t},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.selectChangeHandler=function(t){this.onChange(t),this.value=t,this.processValue()},t.prototype.processValue=function(){var t=this;if(this.options){var e=this.options.find((function(e){return e.value===t.value}));this.value=e?e.value:null}},t.prototype.getOptionsUpdated=function(t){return this.options.map((function(e){return e.selected=!(e.value!==t),e}))},t}();Te.decorators=[{type:e.Component,args:[{selector:"rbc-select",template:'<div [ngClass]="classGen" class="rbc-select">\n\t\x3c!-- Label - Display ng-content if available, otherwise show default label --\x3e\n\t\x3c!-- Label --\x3e\n\t<div #labelText class="input-label">\n\t\t<ng-content select="[label]"></ng-content>\n\t</div>\n\t\x3c!-- Label text --\x3e\n\t<rbc-label\n\t\t*ngIf="label"\n\t\t[id]="id + \'Label\'"\n\t\t[for]="id"\n\t\t[text]="label"\n\t\t[srOnly]="labelSrOnly">\n\t</rbc-label>\n\n\t\x3c!-- Help text --\x3e\n\t<rbc-help-text *ngIf="helpText" [id]="id + \'HelpText\'" [text]="helpText">\n\t\t<ng-content select="[helpText]"></ng-content>\n\t</rbc-help-text>\n\n\t<div [ngClass]="{ disabled: disabled }" class="rbc-select-wrap">\n\t\t<select\n\t\t\t[id]="id"\n\t\t\t[attr.aria-describedby]="describedbyGen"\n\t\t\t[attr.aria-label]="ariaLabel"\n\t\t\t[disabled]="disabled"\n\t\t\t[attr.name]="name || id"\n\t\t\t[value]="value"\n\t\t\tclass="rbc-select-control"\n\t\t\t[ngClass]="{statusType: statusType && status}"\n\t\t\t(change)="onChange($event)"\n\t\t>\n\t\t\t<ng-content *ngIf="optionsGen.length == 0; else displayOptions"></ng-content>\n\t\t\t<ng-template #displayOptions>\n\t\t\t\t<option #options\n\t\t\t\t\t*ngFor="let option of optionsGen; index as k"\n\t\t\t\t\t[id]="id +\'Options\'+k"\n\t\t\t\t\t[attr.key]="id +\'Options\'+k"\n\t\t\t\t\t[disabled]="option.disabled"\n\t\t\t\t\t[selected]="option.selected"\n\t\t\t\t\t[title]="option.labelSr"\n\t\t\t\t\t[value]="option.value">\n\t\t\t\t\t{{ option.label }}\n\t\t\t\t</option>\n\t\t\t</ng-template>\n\t\t</select>\n\t\t<rbc-icon\n\t\t\ticon= "angle-down"\n\t\t\tclass="rbc-select-icon"\n\t\t\t[attr.aria-hidden]="true"\n\t\t></rbc-icon>\n\t</div>\n\n\t<ng-container select="[status]">\n\t\t<rbc-status\n\t\t\t*ngIf="status"\n\t\t\t[id]="id + \'Status\'"\n\t\t\t[text]="status"\n\t\t\t[type]="statusType">\n\t\t\t<ng-content select="[status-content]"></ng-content>\n\t\t</rbc-status>\n\t</ng-container>\n\n</div>\n',providers:[{provide:a.NG_VALUE_ACCESSOR,multi:!0,useExisting:e.forwardRef((function(){return Te}))}]}]}],Te.ctorParameters=function(){return[{type:h}]},Te.propDecorators={disabled:[{type:e.Input}],helpText:[{type:e.Input}],id:[{type:e.Input}],label:[{type:e.Input}],labelSrOnly:[{type:e.Input}],name:[{type:e.Input}],ariaLabel:[{type:e.Input}],status:[{type:e.Input}],statusType:[{type:e.Input}],wrapperClass:[{type:e.Input}],options:[{type:e.Input}],value:[{type:e.Input}],size:[{type:e.Input}],sizeWidth:[{type:e.Input}],ariaDescribedby:[{type:e.Input}],valueChange:[{type:e.Output}]};var De=function(){};De.decorators=[{type:e.NgModule,args:[{declarations:[Te],imports:[n.CommonModule,a.FormsModule,ot,st,ct,f],exports:[Te]}]}];var Oe=function(){function t(t,n){this.idService=t,this.ngControl=n,this.radioUpdate=new e.EventEmitter,this.onChange=new e.EventEmitter,this.change=function(t){},this.onTouched=function(){},this.id=t.generate(),n.valueAccessor=this}return t.prototype.ngOnInit=function(){var t=this;this.ngControl.control.valueChanges.subscribe((function(e){t.checked!==e&&t.writeValue(e)}))},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.writeValue=function(t){this.checked=t},t.prototype.registerOnChange=function(t){this.change=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.isChecked=function(){return this.checked===this.value},t.prototype.updateSelected=function(){this.checked=this.checked===this.value?null:this.value,this.change(this.checked),this.onChange.emit(this.value),this.radioUpdate.emit({name:this.name,checked:this.value})},t.prototype.removeFocus=function(){this.radioRef.nativeElement.blur(),this.mouseoutObservable=null},t}();Oe.decorators=[{type:e.Component,args:[{selector:"rbc-radio",template:'\n\t\t<div class="rbc-radio"\n\t\t(mouseout)="removeFocus()" #radioWrap>\n\t\t\t<input\n\t\t\t\t#radio\n\t\t\t\tclass="rbc-radio-control"\n\t\t\t\trole="radio"\n\t\t\t\t[attr.aria-label]="value"\n\t\t\t\t[attr.aria-checked]="isChecked()"\n\t\t\t\ttype="radio"\n\t\t\t\t[id]="id+\'Radio\'"\n\t\t\t\t[name]="name"\n\t\t\t\t[attr.name]="name"\n\t\t\t\t[disabled]="disabled"\n\t\t\t\t[attr.checked]="isChecked()"\n\t\t\t\t[value]="value"\n\t\t\t\t[checked]="isChecked()"\n\t\t\t\t[attr.value]="value"\n\t\t\t\t(change)="updateSelected()"\n\t\t\t/>\n\t\t\t<label\n\t\t\t\t[id]="id+\'Label\'"\n\t\t\t\t[for]="id+\'Radio\'"\n\t\t\t\t[ngClass]="{ disabled: disabled }"\n\t\t\t\tclass="rbc-radio-label"\n\t\t\t>\n\t\t\t<rbc-icon\n\t\t\t\t[icon]="isChecked() ? \'dot-circle\' : \'circle\'"\n\t\t\t\t[attr.aria-hidden]="true"\n\t\t\t\tclass="rbc-radio-icon">\n\t\t\t\t</rbc-icon>\n\t\t\t\t{{label}}\n\t\t\t\t<ng-content></ng-content>\n\t\t\t</label>\n\n\t\t</div>\n\t',encapsulation:e.ViewEncapsulation.None,providers:[]}]}],Oe.ctorParameters=function(){return[{type:h},{type:a.NgControl,decorators:[{type:e.Optional},{type:e.Self}]}]},Oe.propDecorators={id:[{type:e.Input}],disabled:[{type:e.Input}],name:[{type:e.Input}],value:[{type:e.Input}],checked:[{type:e.Input}],label:[{type:e.Input}],radioUpdate:[{type:e.Output}],onChange:[{type:e.Output}],radioRef:[{type:e.ViewChild,args:["radio",{static:!1}]}],radioWrap:[{type:e.ViewChild,args:["radioWrap",{static:!1}]}]};var Ee=function(){};Ee.decorators=[{type:e.NgModule,args:[{declarations:[Oe],imports:[n.CommonModule,a.FormsModule,f,a.ReactiveFormsModule],exports:[Oe]}]}];var Le=function(){function t(t,n,i){this.idService=t,this.eRef=n,this.cdr=i,this.checkedText="checked",this.placeholder="Choose",this.size="medium",this.statusType="info",this.selectUpdate=new e.EventEmitter,this.dropdownClosed=new e.EventEmitter,this.dropdownOpen=new e.EventEmitter,this.clickListener=this.clickOutside.bind(this),this.activeTransition="max-height",this.index=0,this.open=!1,this.highlightID=0,this.onChange=function(t){},this.onTouched=function(){},this.id=t.generate()}return t.prototype.ngOnDestroy=function(){this.idService.remove(this.id),document.removeEventListener("click",this.clickListener)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.writeValue=function(t){this.filteredOptions=t,this.selectUpdate.emit(t)},t.prototype.$_Multiselect_open=function(t){void 0===t&&(t=null),this.open=!(this.open||this.disabled&&!this.disabled),document.addEventListener("click",this.clickListener),this.open&&this.dropdownOpen.emit(t),this.open||this.$_SelectDropdown_close()},t.prototype.$_SelectDropdown_close=function(){this.open=!1,this.cdr.detectChanges(),this.dropdownClosed.emit(this.filteredOptions),document.removeEventListener("click",this.clickListener)},t.prototype.$_SelectDropdown_updateHighlight=function(t){var e=t.key.toLowerCase(),n=this.options.length;n>0&&this.open?e.indexOf("down")>-1?(t.preventDefault(),this.index=this.$_SelectDropdown_nextEligibleOption(this.index,this.options,n),this.highlightID=this.index):e.indexOf("up")>-1?(t.preventDefault(),this.index=this.$_SelectDropdown_previousEligibleOption(this.index,this.options),this.highlightID=this.index):"enter"===e&&!this.options[this.index].disabled||" "===e?(t.preventDefault(),this.updateSelected(this.options[this.index],this.index)):"escape"===e&&(t.preventDefault(),this.open=!1,this.$_SelectDropdown_close()):(e.indexOf("down")>-1||e.indexOf("up")>-1||"enter"===e||" "===e)&&(t.preventDefault(),this.$_Multiselect_open())},t.prototype.$_SelectDropdown_nextEligibleOption=function(t,e,n){for(var i=t+1;i<n&&e[i].disabled;)i+=1;return i!==n?i:t},t.prototype.$_SelectDropdown_previousEligibleOption=function(t,e){for(var n=t-1;n>-1&&e[n].disabled;)n-=1;return n>-1?n:t},t.prototype.updateSelected=function(t,e){void 0!==t.disabled&&t.disabled||(this.options[e].selected=!this.options[e].selected);var n=this.options.filter((function(t){return t.selected}));this.filteredOptions=n,this.onChange(n),this.selectUpdate.emit(n)},t.prototype.selectedOptionsLabel=function(){return this.options.filter((function(t){return t.selected})).map((function(t){return t.label})).join(", ")},t.prototype.selectedLabelFormatted=function(){if(this.options){var t=this.options.filter((function(t){return t.selected})).length,e=this.displayTotal?" / "+this.options.length:"";return t>0?t+e+" "+this.checkedText:this.placeholder}},t.prototype.selectedOptionsId=function(){var t=this;return t.open&&t.highlightID>=0?t.options[t.highlightID]?t.id+"Option"+t.options[t.highlightID].value.replace(/[^a-zA-Z0-9-]/g,""):void 0:null},t.prototype.clickOutside=function(t){"escape"===t&&(this.open=!1),!this.eRef.nativeElement.contains(t.target)&&this.open&&this.$_SelectDropdown_close()},t.prototype.idReplace=function(t){return t.value.replace(/[^a-zA-Z0-9-]/g,"")},t.prototype.classGen=function(){var t;return(t={})["rbc-multiselect-"+this.size]=this.size,t["rbc-multiselect-width-"+this.sizeWidth]=this.sizeWidth,t.disabled=this.disabled&&!this.disabled,t},t.prototype.heightGen=function(){return this.height&&"string"!=typeof this.height?this.height+"px":this.height},t.prototype.last=function(){var t=this.options.length-1;return this.options[t]},t}();Le.decorators=[{type:e.Component,args:[{selector:"rbc-multiselect",template:'<div [ngClass]="classGen()" class="rbc-multiselect">\n\t\x3c!-- Label - Display ng-content if available, otherwise show default label --\x3e\n\t\x3c!-- Label --\x3e\n\t<div #labelText class="input-label">\n\t\t<ng-content select="[label]"></ng-content>\n\t</div>\n\t\x3c!-- Label text --\x3e\n\t<rbc-label\n\t\t*ngIf="label"\n\t\t[id]="id + \'Label\'"\n\t\t[for]="id"\n\t\t[text]="label"\n\t\t[srOnly]="labelSrOnly">\n\t</rbc-label>\n\n\t\x3c!-- Help text --\x3e\n\t<rbc-help-text *ngIf="helpText" [id]="id + \'HelpText\'" [text]="helpText">\n\t\t<ng-content select="[helpText]"></ng-content>\n\t</rbc-help-text>\n\t<button\n\t\t#dropdown\n\t\ttype="button"\n\t\t[id]="id"\n\t\tclass="rbc-multiselect-control"\n\t\t[ngClass]="{ open: open, disabled: disabled, statusType: statusType && status }"\n\t\t[attr.aria-expanded]="open ? \'true\' : \'false\'"\n\t\t[attr.aria-controls]="id+\'List\'"\n\t\t[attr.aria-disabled]="disabled"\n\t\t[attr.aria-labelledby]="id + \'Label \' + id"\n\t\taria-haspopup="listbox"\n\t\t[tabindex]="disabled ? -1 : 0"\n\t\t[disabled]="disabled"\n\t\t(click)="$_Multiselect_open($event)"\n\t\t(keydown)="$_SelectDropdown_updateHighlight($event)">\n\t\t<span [innerHTML]="selectedLabelFormatted()"></span>\n\t\t<rbc-icon\n\t\t\t[attr.aria-hidden]="true"\n\t\t\tclass="rbc-multiselect-icon"\n\t\t\ticon="angle-down"\n\t\t></rbc-icon>\n\t</button>\n\t\t<rbc-card\n\t\t\t*ngIf="open"\n\t\t\t[@max-height]="{value: open}"\n\t\t\tcardClass="rbc-multiselect-card-results"\n\t\t\t[flush]="true"\n\t\t\t[cardStyle]="heightGen()">\n\t\t\t<ul\n\t\t\t\t[id]="id + \'List\'"\n\t\t\t\t[attr.aria-labelledby]="id + \'Label\'"\n\t\t\t\t[attr.aria-activedescendant]="selectedOptionsId()"\n\t\t\t\t[attr.aria-multiselectable]="true"\n\t\t\t\trole="listbox"\n\t\t\t\tclass="rbc-multiselect-search-results"\n\t\t>\n\t\t\t<li\n\t\t\t\t#selections\n\t\t\t\t*ngFor="let option of options; index as key"\n\t\t\t\t[id]="id +\'Option\' + idReplace(option)"\n\t\t\t\t[attr.key]="key"\n\t\t\t\t[attr.aria-selected]="option.selected ? \'true\' : \'false\'"\n\t\t\t\t[attr.aria-disabled]="option.disabled ?  \'true\' : \'false\'"\n\t\t\t\t[ngClass]="{\n\t\t\t\t\tactive: key === highlightID,\n\t\t\t\t\tdisabled: option.disabled\n\t\t\t\t}"\n\t\t\t\tclass="rbc-multiselect-search-result"\n\t\t\t\trole="option"\n\t\t\t\t(click)="$event.preventDefault();updateSelected(option, key)"\n\t\t\t\t(mouseover)="highlightID = key"\n\t\t\t\t(focusout)="last().value == option.value ? open = false : null">\n\t\t\t\t<rbc-checkbox\n\t\t\t\t\t[checked]="option.selected"\n\t\t\t\t\t[(ngModel)]="option.selected"\n\t\t\t\t\t[id]="id + \'-checkbox\'+key"\n\t\t\t\t\t[disabled]="option.disabled"\n\t\t\t\t\tclass="rbc-multiselect-checkbox"\n\t\t\t\t\t[wrapperClass]="\'rbc-multiselect-checkbox\'">\n\t\t\t\t\t<span>{{ option.label }}</span>\n\t\t\t\t</rbc-checkbox>\n\t\t\t</li>\n\t\t</ul>\n\t\t</rbc-card>\n\n\t<ng-container select="[status]">\n\t\t<rbc-status\n\t\t\t*ngIf="status"\n\t\t\t[id]="id + \'Status\'"\n\t\t\t[ariaControls]="id"\n\t\t\t[text]="status"\n\t\t\t[type]="statusType">\n\t\t\t<ng-content select="[status-content]"></ng-content>\n\t\t</rbc-status>\n\t</ng-container>\n\n</div>\n',encapsulation:e.ViewEncapsulation.None,providers:[{provide:a.NG_VALUE_ACCESSOR,multi:!0,useExisting:e.forwardRef((function(){return Le}))}],animations:[c.trigger("max-height",[c.transition(":leave",c.group([c.animate("0.4s ease-in-out",c.style({height:0})),c.animate("0.4s steps(1,start)",c.style({overflow:"hidden"}))])),c.transition(":enter",[c.style({height:0,overflow:"hidden"}),c.group([c.animate("0.4s ease-in-out",c.style({height:"*"})),c.animate("0.4s steps(1,end)",c.style({overflow:"hidden"}))])])])]}]}],Le.ctorParameters=function(){return[{type:h},{type:e.ElementRef},{type:e.ChangeDetectorRef}]},Le.propDecorators={id:[{type:e.Input}],checkedText:[{type:e.Input}],disabled:[{type:e.Input}],displayTotal:[{type:e.Input}],height:[{type:e.Input}],helpText:[{type:e.Input}],label:[{type:e.Input}],labelSrOnly:[{type:e.Input}],options:[{type:e.Input}],placeholder:[{type:e.Input}],size:[{type:e.Input}],sizeWidth:[{type:e.Input}],status:[{type:e.Input}],statusType:[{type:e.Input}],selectUpdate:[{type:e.Output}],dropdownClosed:[{type:e.Output}],dropdownOpen:[{type:e.Output}]};var _e=function(){};_e.decorators=[{type:e.NgModule,args:[{declarations:[Le],imports:[n.CommonModule,se,ne,a.FormsModule,st,ot,ct,a.FormsModule,f],exports:[Le]}]}];var Pe=function(){function t(t,n,i){this.idService=t,this.cdr=n,this.tabTrap=i,this.buttonCancel="Cancel",this.buttonSize="small",this.closable=!0,this.headingTag="h2",this.labelCloseButton="Close",this.size="medium",this.showButton=!0,this.activeChange=new e.EventEmitter,this.footerFlag=!0,this.insideCard=!1,this.keyListener=this.tabTrapFocusLock.bind(this),this.id=t.generate()}return Object.defineProperty(t.prototype,"active",{get:function(){return this._active},set:function(t){var e=this;this._active=t;var n=this;setTimeout((function(){n._active?(e.element=document.activeElement,n.modal&&setTimeout((function(){document.body.appendChild(n.modal.nativeElement)})),document.body.classList.add("modal-is-open"),void 0!==n.idFirstElementFocus&&null!==n.idFirstElementFocus&&t?setTimeout((function(){document.getElementById(n.idFirstElementFocus).focus()})):setTimeout((function(){document.getElementById(n.id).focus()})),window.addEventListener("keydown",e.keyListener)):(window.removeEventListener("keydown",e.keyListener),document.body.classList.remove("modal-is-open"),e.element&&e.element.focus())}))},enumerable:!0,configurable:!0}),t.prototype.onKeydownHandler=function(t){this.active&&!this.disableClose&&this.ModalToggle("")},t.prototype.clickout=function(t){this.insideCard=!t.target.classList.contains("rbc-modal"),this.disableClose||this.disableBackgroundClick||this.insideCard||!this.active||(this.active=!1,this.activeChange.emit(this.active),this.cdr.markForCheck())},t.prototype.ngAfterViewInit=function(){},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.classGen=function(){var t;return(t={"rbc-modal-scrollable":this.scrollable})["rbc-modal-"+this.size]=this.size,t},t.prototype.ModalToggle=function(t){this.active=!this.active,this.activeChange.emit(this.active)},t.prototype.tabTrapFocusLock=function(t){this.modal&&this.tabTrap.$_TabTrap_lockFocus(t,this.modal.nativeElement)},t.prototype.open=function(){this.active=!0},t.prototype.close=function(){this.active=!1},t}();Pe.decorators=[{type:e.Component,args:[{selector:"rbc-modal",template:'<div\n\t@opacity\n\t#modal\n\t*ngIf="active"\n\t[id]="id"\n\t[attr.aria-labelledby]="id + \'Header\'"\n\t[ngClass]="classGen()"\n\tclass="rbc-modal"\n\trole="dialog"\n\ttabindex="0"\n\taria-modal="true"\n>\n\t<rbc-card #card [scrollable]="scrollable" [height]="height" [isModal]="true" class="rbc-modal-card rbc-card">\n\t\t<div header class="rbc-modal-header">\n\t\t\t<ng-content select="[header]"></ng-content>\n\t\t\t<ng-container *ngTemplateOutlet="headings"></ng-container>\n\n\t\t\t<button *ngIf="closable" [id]="id+\'IconClose\'" [attr.aria-label]="labelCloseButton" class="rbc-modal-close-button" (click)="ModalToggle($event)">\n\t\t\t\t<rbc-icon  icon="times" [role]="\'presentation\'" ></rbc-icon>\n\t\t\t</button>\n\t\t</div>\n\t\t<ng-content></ng-content>\n\n\t\t<div *ngIf="showButton" class="rbc-modal-buttons">\n\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet="buttonTemplate">\n\t\t\t</ng-container>\n\t\t\t<rbc-button [id]="id+\'ButtonClose\'" [outline]="true" [size]="buttonSize" type="secondary" (click)="ModalToggle($event)">\n\t\t\t\t{{ buttonCancel }}\n\t\t\t</rbc-button>\n\t\t</div>\n\n\t\t\x3c!-- Footer Slot --\x3e\n\t\t<div footer>\n\t\t\t<ng-content select="[footer]"></ng-content>\n\t\t</div>\n\n\t\t<ng-template #buttonTemplate let-size="buttonSize">\n\t\t\t<ng-content select="[buttons]"></ng-content>\n\t\t</ng-template>\n\t</rbc-card>\n</div>\n\n<ng-template #headings>\n\t<ng-container *ngIf="title">\n\t\t<ng-container *ngIf="headingTag == \'h2\'">\n\t\t\t<h2\n\t\t\t\t[id]="id + \'Header\'" class="rbc-modal-title">\n\t\t\t\t{{title}}\n\t\t\t</h2>\n\t\t</ng-container>\n\t\t<ng-container *ngIf="headingTag == \'h3\'">\n\t\t\t<h3\n\t\t\t\t[id]="id + \'Header\'" class="rbc-modal-title">\n\t\t\t\t{{title}}\n\t\t\t</h3>\n\t\t</ng-container>\n\t\t<ng-container *ngIf="headingTag == \'h4\'">\n\t\t\t<h4\n\t\t\t\t[id]="id + \'Header\'" class="rbc-modal-title">\n\t\t\t\t{{title}}\n\t\t\t</h4>\n\t\t</ng-container>\n\t\t<ng-container *ngIf="headingTag == \'h5\'">\n\t\t\t<h5\n\t\t\t\t[id]="id + \'Header\'" class="rbc-modal-title">\n\t\t\t\t{{title}}\n\t\t\t</h5>\n\t\t</ng-container>\n\t\t<ng-container *ngIf="headingTag == \'h6\'">\n\t\t\t<h6\n\t\t\t\t[id]="id + \'Header\'" class="rbc-modal-title">\n\t\t\t\t{{title}}\n\t\t\t</h6>\n\t\t</ng-container>\n\t</ng-container>\n</ng-template>\n',encapsulation:e.ViewEncapsulation.None,animations:[c.trigger("opacity",[c.transition(":enter",[c.style({opacity:0}),c.animate("250ms ease-in",c.style({opacity:1}))]),c.transition(":leave",[c.animate("250ms ease-out",c.style({opacity:0}))]),c.state("void",c.style({opacity:0}))])]}]}],Pe.ctorParameters=function(){return[{type:h},{type:e.ChangeDetectorRef},{type:ae}]},Pe.propDecorators={buttonCancel:[{type:e.Input}],buttonSize:[{type:e.Input}],closable:[{type:e.Input}],disableBackgroundClick:[{type:e.Input}],disableClose:[{type:e.Input}],height:[{type:e.Input}],id:[{type:e.Input}],headingTag:[{type:e.Input}],labelCloseButton:[{type:e.Input}],scrollable:[{type:e.Input}],size:[{type:e.Input}],title:[{type:e.Input}],showButton:[{type:e.Input}],idFirstElementFocus:[{type:e.Input}],active:[{type:e.Input}],activeChange:[{type:e.Output}],modal:[{type:e.ViewChild,args:["modal",{static:!1}]}],card:[{type:e.ViewChild,args:["card",{static:!1}]}],footer:[{type:e.ViewChild,args:["modalFootDiv",{static:!1}]}],onKeydownHandler:[{type:e.HostListener,args:["document:keydown.escape",["$event"]]}],clickout:[{type:e.HostListener,args:["document:click",["$event"]]}]};var Me=function(){};Me.decorators=[{type:e.NgModule,args:[{declarations:[Pe],imports:[n.CommonModule,f,nt,se],exports:[Pe]}]}];var Re=function(){function t(t){this.idService=t,this.linksAlignStart=!1,this.card=!1,this.ctaLinkClicked=new e.EventEmitter,this.id=this.idService.generate()}return Object.defineProperty(t.prototype,"classGen",{get:function(){return{"rbc-media-card-footer-large":this.article.footerAuthors&&this.article.footerAuthors.length||this.article.footerByline||this.article.footerLinks&&this.article.footerLinks.length,"rbc-media-card-footer-start":this.article.linkButton||this.linksAlignStart}},enumerable:!0,configurable:!0}),t.prototype.generateInitials=function(t){return t.split(" ").map((function(t){return t.substring(0,1)})).join("")},t.prototype.linkClicked=function(t){this.ctaLinkClicked.emit(t)},t.prototype.idGen=function(t){return this.id+"MenuItem"+t},t}();Re.decorators=[{type:e.Component,args:[{selector:"rbc-media-card-footer",template:"<div\n\t[ngClass]=\"classGen\">\n\t<rbc-caption\n\t\t*ngIf=\"(article['footerAuthors'] && article['footerAuthors'].length) || article['footerByline'] || (article['footerLinks'] && article['footerLinks'].length)\"\n\t\t[image]=\"card && article['footerAuthors'] && article['footerAuthors'].length && article['footerAuthors'][0].image && article['footerAuthors'].length === 1 ? article['footerAuthors'][0].image : null\"\n\t\t[icon]=\"card && article['footerAuthors'] && article['footerAuthors'].length && article['footerAuthors'].length > 1 ? 'users' : null\"\n\t\t[avatarText]=\"card && article['footerAuthors'] && article['footerAuthors'][0].initials && !article['footerAuthors'][0].image && article['footerAuthors'].length === 1 ? article['footerAuthors'][0].initials : null\"\n\t\tclass=\"rbc-caption rbc-media-card-caption\">\n\n\t\t<span\n\t\t\t*ngIf=\"article['footerAuthors'] && article['footerAuthors'].length\"\n\t\t\tclass=\"rbc-media-card-footer-large-text\">\n\t\t\t<span\n\t\t\t\t*ngFor=\"let author of article['footerAuthors']; index as i\">\n\t\t\t\t{{ author.name }}\n\t\t\t\t<span *ngIf=\"i < article['footerAuthors'].length - 1\">,</span>\n\t\t\t</span>\n\t\t</span>\n\t\t<span\n\t\t\t*ngIf=\"article['footerByline']\"\n\t\t\tclass=\"rbc-media-card-footer-large-text\"\n\t\t\t[innerHTML]=\"article['footerByline']\"></span>\n\t\t<ul\n\t\t\t*ngIf=\"article['footerLinks'] && article['footerLinks'].length\"\n\t\t\tclass=\"rbc-media-card-footer-links rbc-media-card-footer-large-text list-separator\"\n\t\t>\n\t\t\t<li\n\t\t\t\t*ngIf=\"article['footerLinksLabel']\"\n\t\t\t\tclass=\"rbc-media-card-footer-links-label\"\n\t\t\t\t[innerHTML]=\"article['footerLinksLabel']\"\n\t\t\t></li>\n\t\t\t<li\n\t\t\t\t*ngFor=\"let item of article['footerLinks']\"\n\t\t\t\tclass=\"list-separator-item\"\n\t\t\t>\n\t\t\t\t<a [href]=\"item['link']\" [innerHTML]=\"item.text\"></a>\n\t\t\t</li>\n\t\t</ul>\n\t</rbc-caption>\n\n\t<ng-container\n\t\t*ngIf=\"article['linkButton']; else elseBlock\">\n\t\t<rbc-button\n\t\t\t[id]=\"id+'CTA'\"\n\t\t\t*ngIf=\"(article['linkText'] || article['actionMenu']) && article['link'] && !article['actionMenu']\"\n\t\t\t[ngClass]=\"{'rbc-media-card-cta-link link-chev': !article['actionMenu'] && !article['linkButton'], 'link-icon': article['actionMenu'] && !article['linkButton'] }\"\n\t\t\t[icon]=\"article['linkButton'] && article['actionMenu']? article['actionMenu']: ''\"\n\t\t\t[outline]=\"true\"\n\t\t\t[color]=\"article['colored']? 'white': 'primary'\"\n\t\t\t[link]=\"article['footerLink'] !== false && article['linkButton'] ? article['footerLink'] || article['link'] : null\"\n\t\t\tclass=\"rbc-media-card-footer-link\"\n\t\t\t[linkTarget]=\"article['target']\"\n\t\t\t(click)=\"linkClicked(article)\">\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet=\"\n\t\t\t\t\tlinkContentTemplate;\n\t\t\t\t\tcontext: { article: article }\">\n\t\t\t</ng-container>\n\t\t</rbc-button>\n\t</ng-container>\n\n\t<ng-template #elseBlock>\n\t\t<ng-container *ngIf=\"article['footerLink'] === false; else anchorTag\">\n\t\t\t<button\n\t\t\t\t[id]=\"id+'CTA'\"\n\t\t\t\t*ngIf=\"(article['linkText'] || article['actionMenu']) && article['link'] && !article['actionMenu']\"\n\t\t\t\t[ngClass]=\"{'rbc-media-card-cta-link link-chev': !article['actionMenu'] && !article['linkButton'], 'link-icon': article['actionMenu'] && !article['linkButton'] }\"\n\t\t\t\tclass=\"rbc-media-card-footer-link\"\n\t\t\t\t[attr.target]=\"article['colored']\"\n\t\t\t\t(click)=\"linkClicked(article)\">\n\t\t\t\t<ng-container\n\t\t\t\t\t*ngTemplateOutlet=\"\n\t\t\t\t\t\tlinkContentTemplate;\n\t\t\t\t\t\tcontext: { article: article }\">\n\t\t\t\t</ng-container>\n\t\t\t</button>\n\t\t</ng-container>\n\n\t\t<ng-template #anchorTag>\n\t\t\t<a\n\t\t\t\t[id]=\"id+'CTA'\"\n\t\t\t\t*ngIf=\"(article['linkText'] || article['actionMenu']) && article['link'] && !article['actionMenu']\"\n\t\t\t\t[ngClass]=\"{'rbc-media-card-cta-link link-chev': !article['actionMenu'] && !article['linkButton'], 'link-icon': article['actionMenu'] && !article['linkButton'] }\"\n\t\t\t\t[href]=\"article['footerLink'] !== false ? article['footerLink'] || article['link'] : null\"\n\t\t\t\tclass=\"rbc-media-card-footer-link\"\n\t\t\t\t[attr.target]=\"article['colored']\"\n\t\t\t\t(click)=\"linkClicked(article)\">\n\t\t\t\t<ng-container\n\t\t\t\t\t*ngTemplateOutlet=\"\n\t\t\t\t\t\tlinkContentTemplate;\n\t\t\t\t\t\tcontext: { article: article }\">\n\t\t\t\t</ng-container>\n\t\t\t</a>\n\t\t</ng-template>\n\t</ng-template>\n\n\t<rbc-menu\n\t\t*ngIf=\"article['actionMenu']\"\n\t\ticon=\"ellipsis-h\"\n\t\tposition=\"top\"\n\t\t[dropdownPositionX]=\"'right'\"\n\t\tclass=\"rbc-menu rbc-media-card-menu rbc-media-card-footer-icon\">\n\t\t<rbc-menu-item\n\t\t\t*ngFor= \"let item of article['actionMenu']; index as i\"\n\t\t\t[id]= \"idGen(i)\"\n\t\t\t[href]=\"item['link']\"\n\t\t\t[icon]=\"item.icon\"\n\t\t\ticonWeight=\"regular\"\n\t\t\t(clickEvent)=\"item.action($event)\">\n\t\t\t<span [innerHTML]=\"item.text\"></span>\n\t\t</rbc-menu-item>\n\t</rbc-menu>\n\n</div>\n\n<ng-template #linkContentTemplate let-article=\"article\">\n\t<rbc-icon\n\t\t*ngIf=\"article.linkIcon && !article.linkButton; else linkIconElse\"\n\t\t[label]=\"article['linkText']\"\n\t\t[icon]=\"article.linkIcon\"\n\t\t[type]=\"article.linkIconType\"\n\t\tclass=\"rbc-media-card-footer-icon\"\n\t></rbc-icon>\n\t<ng-template #linkIconElse>\n\t\t<span [innerHTML]=\"article['linkText']\"></span>\n\t</ng-template>\n\n\t<rbc-icon\n\t\t*ngIf=\"!article.linkIcon && !article.linkButton\"\n\t\t[icon]=\"'angle-right'\">\n\n\t</rbc-icon>\n</ng-template>\n",encapsulation:e.ViewEncapsulation.None}]}],Re.ctorParameters=function(){return[{type:h}]},Re.propDecorators={id:[{type:e.Input}],linksAlignStart:[{type:e.Input}],card:[{type:e.Input}],index:[{type:e.Input}],article:[{type:e.Input}],ctaLinkClicked:[{type:e.Output}]};var Ae=function(){function t(t){this.idService=t,this.scrollMobile=!1,this.linksAlignStart=!1,this.divider=!1,this.card=!1,this.headingTag="h5",this.hoverable=!1,this.ctaLinkClicked=new e.EventEmitter}return t.prototype.ngOnInit=function(){this.id||(this.id=this.idService.generate())},t.prototype.ngOnDestroy=function(){this.idService&&this.idService.remove(this.id)},t.prototype.containerClasses=function(){var t=this,e=t.layout,n=t.scrollMobile,i=t.articles;return{row:this.columnsGen(),"rbc-media-card-tiles":"featured-tile"===e,"rbc-media-card-featured-stacked":"featured-stacked"===e,"rbc-media-card-featured-stacked-horizontal":"featured-stacked-horizontal"===e,"rbc-media-card-scroll":i&&i.length>1&&n}},t.prototype.columnsClasses=function(t){var e,n=this,i=n.layout,a=n.divider,o=n.card,r=this.columnsGen(),s=this.columnsGen(t);return(e={})["col-lg-"+12/s]=r,e["col-md-6"]=s>=2&&"featured-stacked"!==i,e["rbc-card-col-my"]=o,e["rbc-media-card-divider"]=!o&&a,e},t.prototype.columnsGen=function(t){var e=this.layout,n=this.columns;return"featured-tile"===e?0===t?1.5:3:"featured-stacked"===e?2:"featured-stacked-horizontal"===e?void 0:n||void 0},t.prototype.articleColoredClasses=function(t){var e;return(e={"rbc-media-card-colored-overlay-translucent":t.image})["b-"+t.backgroundColor]=t.backgroundColor,e},t.prototype.articleImageClasses=function(t){var e;return(e={"rbc-media-card-image-content":!t.colored&&(t.imageText||t.imageIcon)})["b-"+t.imageBackgroundColor]=t.imageBackgroundColor,e["c-"+t.imageTextColor]=t.imageTextColor,e},t.prototype.articleCategoryClasses=function(t){var e;return(e={})["c-"+t.categoryColor]=t.categoryColor,e},t.prototype.cardTypeGen=function(t){var e=this.articles,n=this.layout;return"horizontal"===e[t].stacked||"stacked-horizontal"===n||"featured-stacked"===n&&0!==t||"featured-stacked-horizontal"===n&&0!==t||"featured-tile"===n&&0===t?"horizontal":"vertical"},t.prototype.showFooter=function(t){return(t.linkText||t.linkIcon)&&t.link||t.footerAuthors&&t.footerAuthors.length||t.footerByline||t.footerLinks&&t.footerLinks.length||t.actionMenu},t.prototype.cardFooterGen=function(t){var e={};return e["rbc-media-card-footer"]=!t.linkIcon&&t.linkText&&!t.footerAuthors||!this.card&&t.footerLinksLabel&&!t.linkText||!t.footerAuthors&&t.linkIcon||t.footerAuthors,e["rbc-media-card-footer-large"]=!this.card&&t.footerLinksLabel&&!t.linkText||t.footerAuthors,e["rbc-media-card-footer-start"]=t.linkButton||this.linksAlignStart,e},t.prototype.linkClicked=function(t){this.ctaLinkClicked.emit(t)},t}();Ae.decorators=[{type:e.Component,args:[{selector:"rbc-media-card",template:'<div [id]="id" class="rbc-media-card-container" [ngClass]="containerClasses()">\n\t<div\n\t\t*ngFor="let article of articles; index as index"\n\t\t[attr.key]="id + index"\n\t\t[ngClass]="columnsClasses(index)"\n\t\tclass="rbc-media-card-col"\n\t>\n\t\t<rbc-card\n\t\t\t*ngIf="\n\t\t\t\tcard && layout !== \'featured-stacked-horizontal\';\n\t\t\t\telse divTemplate\n\t\t\t"\n\t\t\t[id]="id + index"\n\t\t\t[flush]="true"\n\t\t\t[hoverable]= "card && (hoverable || article.categoryLink || article.titleLink) ? true : null"\n\t\t\t[link]="article.link ? article.link : null"\n\t\t\t[routerLink]="article.routerLink ? article.routerLink : null"\n\t\t\t[class]="\'rbc-card-hover rbc-card rbc-card-footer-transparent rbc-media-card rbc-media-card-stacked-\' + cardTypeGen(index)"\n\t\t\t[ngClass]="{ \'rbc-media-card-colored\': article.colored, \'rbc-media-card-has-image\': article.image,  \'rbc-card-link\': article.link}"\n\t\t\t[cardClass]="\'rbc-card\'"\n\t\t>\n\t\t\t<ng-container\n\t\t\t\t*ngTemplateOutlet="\n\t\t\t\t\tmediaCardContent;\n\t\t\t\t\tcontext: { article: article }\n\t\t\t\t"\n\t\t\t></ng-container>\n\n\t\t\t<rbc-media-card-footer footer\n\t\t\t\t*ngIf="card && showFooter(article)"\n\t\t\t\t[id]="id + index"\n\t\t\t\t[article]="article"\n\t\t\t\t[card]="card"\n\t\t\t\t[index]="index"\n\t\t\t\t[linksAlignStart]="linksAlignStart"\n\t\t\t\t(ctaLinkClicked)="linkClicked($event)"\n\t\t\t\t[ngClass]="cardFooterGen(article)"\n\t\t\t></rbc-media-card-footer>\n\t\t</rbc-card>\n\t\t<ng-template #divTemplate>\n\t\t\t<div\n\t\t\t\t[id]="id + index"\n\t\t\t\t[class]="\n\t\t\t\t\t\'rbc-card-footer-transparent rbc-media-card rbc-media-card-stacked-\' + cardTypeGen(index)"\n\t\t\t\t[ngClass]="{ \'rbc-media-card-colored\': article.colored, \'rbc-media-card-has-image\': article.image }"\n\t\t\t>\n\t\t\t\t<ng-container\n\t\t\t\t\t*ngTemplateOutlet="\n\t\t\t\t\t\tmediaCardContent;\n\t\t\t\t\t\tcontext: { article: article }\n\t\t\t\t\t"\n\t\t\t\t></ng-container>\n\n\t\t\t\t<rbc-media-card-footer footer\n\t\t\t\t\t*ngIf="card && showFooter(article)"\n\t\t\t\t\t[id]="id + index"\n\t\t\t\t\t[article]="article"\n\t\t\t\t\t[card]="card"\n\t\t\t\t\t[index]="index"\n\t\t\t\t\t[linksAlignStart]="linksAlignStart"\n\t\t\t\t\t(ctaLinkClicked)="linkClicked($event)"\n\t\t\t\t\t[ngClass]="cardFooterGen(article)"\n\t\t\t\t></rbc-media-card-footer>\n\t\t\t</div>\n\t\t</ng-template>\n\n\t\t<ng-template #mediaCardContent let-article="article">\n\t\t\t<div\n\t\t\t\t*ngIf="article.colored"\n\t\t\t\t[ngClass]="articleColoredClasses(article)"\n\t\t\t\tclass="rbc-media-card-colored-overlay"\n\t\t\t></div>\n\n\t\t\t<ng-container *ngIf="(card && (article.categoryLink || article.titleLink)) || (!card && article.link); else routerContainer">\n\t\t\t\t<a\n\t\t\t\t\t[id]="id + index+ \'Image\'"\n\t\t\t\t\t*ngIf="article.image || (!article.colored && (article.imageText || article.imageIcon))"\n\t\t\t\t\t[ngClass]="articleImageClasses(article)"\n\t\t\t\t\t[ngStyle]="{\n\t\t\t\t\t\t\'background-image\':\n\t\t\t\t\t\t\t!article.imageText || article.colored\n\t\t\t\t\t\t\t\t? \'url(\' + article.image + \')\'\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t}"\n\t\t\t\t\tclass="rbc-media-card-image"\n\t\t\t\t\t[href]="article.link">\n\t\t\t\t\t<rbc-icon\n\t\t\t\t\t\t*ngIf="article.imageIcon && !article.colored"\n\t\t\t\t\t\t[icon]="article.imageIcon"\n\t\t\t\t\t\tclass="rbc-media-card-image-icon"\n\t\t\t\t\t></rbc-icon>\n\t\t\t\t\t<span\n\t\t\t\t\t\t*ngIf="article.imageText && !article.colored"\n\t\t\t\t\t\t[innerHTML]="article.imageText"\n\t\t\t\t\t\tclass="rbc-media-card-image-text"\n\t\t\t\t\t></span>\n\t\t\t\t\t<span\n\t\t\t\t\t\t*ngIf="((article.image || article.imageSquare) && card && (article.categoryLink || article.titleLink)) || (!card && article.link)"\n\t\t\t\t\t\t[innerHTML]="article.title"\n\t\t\t\t\t\tclass="sr-only">\n\t\t\t\t\t</span>\n\t\t\t\t</a>\n\t\t\t</ng-container>\n\n\t\t\t<ng-template #routerContainer >\n\t\t\t\t<ng-container *ngIf="(card && (article.categoryLink || article.titleLink)) || (!card && article.routerLink); else divContainer">\n\t\t\t\t\t<a\n\t\t\t\t\t[id]="id + index+ \'Image\'"\n\t\t\t\t\t*ngIf="article.image || (!article.colored && (article.imageText || article.imageIcon))"\n\t\t\t\t\t[ngClass]="articleImageClasses(article)"\n\t\t\t\t\t[ngStyle]="{\n\t\t\t\t\t\t\'background-image\':\n\t\t\t\t\t\t\t!article.imageText || article.colored\n\t\t\t\t\t\t\t\t? \'url(\' + article.image + \')\'\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t}"\n\t\t\t\t\tclass="rbc-media-card-image"\n\t\t\t\t\t[routerLink]="article.routerLink"\n\t\t\t\t\t[queryParams]="article.queryParams"\n\t\t\t\t\trouterLinkActive="active"\n\t\t\t\t\t[routerLinkActiveOptions]="{exact:true}"\n\t\t\t\t\t[href]="article.routerLink">\n\t\t\t\t\t\t<rbc-icon\n\t\t\t\t\t\t\t*ngIf="article.imageIcon && !article.colored"\n\t\t\t\t\t\t\t[icon]="article.imageIcon"\n\t\t\t\t\t\t\tclass="rbc-media-card-image-icon"\n\t\t\t\t\t\t></rbc-icon>\n\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t*ngIf="article.imageText && !article.colored"\n\t\t\t\t\t\t\t[innerHTML]="article.imageText"\n\t\t\t\t\t\t\tclass="rbc-media-card-image-text"\n\t\t\t\t\t\t></span>\n\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t*ngIf="((article.image || article.imageSquare) && card && (article.categoryLink || article.titleLink)) || (!card && article.routerLink)"\n\t\t\t\t\t\t\t[innerHTML]="article.title"\n\t\t\t\t\t\t\tclass="sr-only">\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</a>\n\t\t\t\t</ng-container>\n\t\t\t</ng-template>\n\n\t\t\t<ng-template #divContainer>\n\t\t\t\t<div\n\t\t\t\t\t[id]="id + index+ \'Image\'"\n\t\t\t\t\t*ngIf="\n\t\t\t\t\t\tarticle.image ||\n\t\t\t\t\t\t(!article.colored && (article.imageText || article.imageIcon))\n\t\t\t\t\t"\n\t\t\t\t\t[ngClass]="articleImageClasses(article)"\n\t\t\t\t\t[ngStyle]="{\n\t\t\t\t\t\t\'background-image\':\n\t\t\t\t\t\t\t!article.imageText || article.colored\n\t\t\t\t\t\t\t\t? \'url(\' + article.image + \')\'\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t}"\n\t\t\t\t\tclass="rbc-media-card-image">\n\n\t\t\t\t\t<rbc-icon\n\t\t\t\t\t\t*ngIf="article.imageIcon && !article.colored"\n\t\t\t\t\t\t[icon]="article.imageIcon"\n\t\t\t\t\t\tclass="rbc-media-card-image-icon"\n\t\t\t\t\t></rbc-icon>\n\t\t\t\t\t<span\n\t\t\t\t\t\t*ngIf="article.imageText && !article.colored"\n\t\t\t\t\t\t[innerHTML]="article.imageText"\n\t\t\t\t\t\tclass="rbc-media-card-image-text"\n\t\t\t\t\t></span>\n\t\t\t\t\t<span\n\t\t\t\t\t\t*ngIf="\n\t\t\t\t\t\t\t((article.image || article.imageSquare) &&\n\t\t\t\t\t\t\t\tcard && (article.categoryLink || article.titleLink)) ||\n\t\t\t\t\t\t\t(!card && article.link)\n\t\t\t\t\t\t"\n\t\t\t\t\t\t[innerHTML]="article.title"\n\t\t\t\t\t\tclass="sr-only">\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t</ng-template>\n\n\t\t\t<div\n\t\t\t\t[ngClass]="{ \'rbc-media-card-content-pt\': card && article.marker }"\n\t\t\t\tclass="rbc-media-card-content">\n\t\t\t\t<div\n\t\t\t\t\t*ngIf="article.icon || article.imageSecondary"\n\t\t\t\t\tclass="rbc-media-card-graphic"\n\t\t\t\t>\n\t\t\t\t\t<img\n\t\t\t\t\t\t*ngIf="article.imageSecondary"\n\t\t\t\t\t\t[src]="article.imageSecondary"\n\t\t\t\t\t\t[alt]="article.imageSecondaryLabel"\n\t\t\t\t\t\tclass="rbc-media-card-graphic-image"\n\t\t\t\t\t/>\n\t\t\t\t\t<rbc-icon\n\t\t\t\t\t\t*ngIf="article.icon"\n\t\t\t\t\t\t[icon]="article.icon"\n\t\t\t\t\t\tclass="rbc-media-card-graphic-icon"\n\t\t\t\t\t></rbc-icon>\n\t\t\t\t</div>\n\t\t\t\t<span\n\t\t\t\t\t*ngIf="article.marker"\n\t\t\t\t\tclass="marker rbc-media-card-marker"\n\t\t\t\t\t[innerHTML]="article.marker"\n\t\t\t\t></span>\n\t\t\t\t<ng-container *ngIf="article.category">\n\t\t\t\t\t<a *ngIf="article.categoryLink; else spanCategory"\n\t\t\t\t\t\t[id]="id + index + \'Category\'"\n\t\t\t\t\t\t[ngClass]="articleCategoryClasses(article)"\n\t\t\t\t\t\tclass="category rbc-media-card-category"\n\t\t\t\t\t\t[innerHTML]="article.category">\n\t\t\t\t\t</a>\n\n\t\t\t\t\t<ng-template #spanCategory>\n\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t[id]="id + index + \'Category\'"\n\t\t\t\t\t\t\t[ngClass]="articleCategoryClasses(article)"\n\t\t\t\t\t\t\tclass="category rbc-media-card-category"\n\t\t\t\t\t\t\t[innerHTML]="article.category"\n\t\t\t\t\t\t></span>\n\t\t\t\t\t</ng-template>\n\t\t\t\t</ng-container>\n\n\t\t\t\t<a\n\t\t\t\t\t*ngIf="!card && article.link; else routerTemplate"\n\t\t\t\t\t[href]="article.link ? article.link : null"\n\t\t\t\t\tclass="rbc-media-card-title-wrap"\n\t\t\t\t>\n\t\t\t\t\t<ng-container *ngTemplateOutlet="headings"></ng-container>\n\t\t\t\t</a>\n\n\t\t\t\t<ng-template #routerTemplate>\n\t\t\t\t\t<ng-container *ngIf="!card && article.routerLink; else spanTemplate">\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t[routerLink]="article.routerLink"\n\t\t\t\t\t\t[queryParams]="article.queryParams"\n\t\t\t\t\t\trouterLinkActive="active"\n\t\t\t\t\t\t[routerLinkActiveOptions]="{exact:true}"\n\t\t\t\t\t\t[href]="article.routerLink"\n\t\t\t\t\t\tclass="rbc-media-card-title-wrap"\n\t\t\t\t\t>\n\t\t\t\t\t\t<ng-container *ngTemplateOutlet="headings"></ng-container>\n\t\t\t\t\t</a>\n\t\t\t\t\t</ng-container>\n\t\t\t\t</ng-template>\n\n\t\t\t\t<ng-template #spanTemplate>\n\t\t\t\t\t<span class="rbc-media-card-title-wrap">\n\t\t\t\t\t\t<ng-container *ngTemplateOutlet="headings"></ng-container>\n\t\t\t\t\t</span>\n\t\t\t\t</ng-template>\n\n\t\t\t\t<ng-template #headings>\n\t\t\t\t\t<ng-container *ngIf="article.title">\n\t\t\t\t\t\t<ng-container *ngIf="headingTag == \'h2\'">\n\t\t\t\t\t\t\t<h2\n\t\t\t\t\t\t\t\t[id]="id + index + \'Title\'"\n\t\t\t\t\t\t\t\tclass="rbc-media-card-title"\n\t\t\t\t\t\t\t\t[innerHTML]="article.title">\n\t\t\t\t\t\t\t</h2>\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t<ng-container *ngIf="headingTag == \'h3\'">\n\t\t\t\t\t\t\t<h3\n\t\t\t\t\t\t\t\t[id]="id + index + \'Title\'"\n\t\t\t\t\t\t\t\tclass="rbc-media-card-title"\n\t\t\t\t\t\t\t\t[innerHTML]="article.title">\n\t\t\t\t\t\t\t</h3>\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t<ng-container *ngIf="headingTag == \'h4\'">\n\t\t\t\t\t\t\t<h4\n\t\t\t\t\t\t\t\t[id]="id + index + \'Title\'"\n\t\t\t\t\t\t\t\tclass="rbc-media-card-title"\n\t\t\t\t\t\t\t\t[innerHTML]="article.title">\n\t\t\t\t\t\t\t</h4>\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t<ng-container *ngIf="headingTag == \'h5\'">\n\t\t\t\t\t\t\t<h5\n\t\t\t\t\t\t\t\t[id]="id + index + \'Title\'"\n\t\t\t\t\t\t\t\tclass="rbc-media-card-title"\n\t\t\t\t\t\t\t\t[innerHTML]="article.title">\n\t\t\t\t\t\t\t</h5>\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t<ng-container *ngIf="headingTag == \'h6\'">\n\t\t\t\t\t\t\t<h6\n\t\t\t\t\t\t\t\t[id]="id + index + \'Title\'"\n\t\t\t\t\t\t\t\tclass="rbc-media-card-title"\n\t\t\t\t\t\t\t\t[innerHTML]="article.title">\n\t\t\t\t\t\t\t</h6>\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t</ng-container>\n\t\t\t\t</ng-template>\n\n\t\t\t\t<p\n\t\t\t\t\t[id]="id + index + \'Subtitle\'"\n\t\t\t\t\t*ngIf="article.subtitle"\n\t\t\t\t\tclass="rbc-media-card-subtitle"\n\t\t\t\t\t[innerHTML]="article.subtitle"\n\t\t\t\t></p>\n\t\t\t\t<span\n\t\t\t\t\t[id]="id +\'\'+ index + \'ByLine\'"\n\t\t\t\t\t*ngIf="article.byLine"\n\t\t\t\t\tclass="rbc-media-card-byline"\n\t\t\t\t\t[innerHTML]="article.byLine"\n\t\t\t\t></span>\n\t\t\t\t<p\n\t\t\t\t\t[id]="id +\'\'+ index + \'Text\'"\n\t\t\t\t\t*ngIf="article.text"\n\t\t\t\t\tclass="rbc-media-card-text"\n\t\t\t\t\t[innerHTML]="article.text"\n\t\t\t\t></p>\n\t\t\t\t<ng-container>\n\t\t\t\t\t<div *ngIf="article.html" [innerHTML]="article.html"></div>\n\t\t\t\t</ng-container>\n\t\t\t\t<ng-content></ng-content>\n\n\t\t\t\t<div\n\t\t\t\t\t*ngIf="article.tags && article.tags.length"\n\t\t\t\t\tclass="rbc-media-card-tag-container">\n\t\t\t\t\t<rbc-tag\n\t\t\t\t\t*ngFor="let tag of article.tags; index as i"\n\t\t\t\t\tsize="small"\n\t\t\t\t\t[id]="id +\'\'+ index + \'Tag\'+i"\n\t\t\t\t\t[attr.key]="tag.text">\n\t\t\t\t\t\t{{ tag }}\n\t\t\t\t\t</rbc-tag>\n\t\t\t\t</div>\n\t\t\t\t<rbc-media-card-footer\n\t\t\t\t\t*ngIf="!card && showFooter(article)"\n\t\t\t\t\t[id]="id + index"\n\t\t\t\t\t[article]="article"\n\t\t\t\t\t[card]="card"\n\t\t\t\t\t[index]="index"\n\t\t\t\t\t[linksAlignStart]="linksAlignStart"\n\t\t\t\t\t(ctaLinkClicked)="linkClicked($event)"\n\t\t\t\t\t[ngClass]="cardFooterGen(article)"\n\t\t\t\t></rbc-media-card-footer>\n\t\t\t</div>\n\t\t</ng-template>\n\t</div>\n</div>\n\n\n',encapsulation:e.ViewEncapsulation.None}]}],Ae.ctorParameters=function(){return[{type:h}]},Ae.propDecorators={id:[{type:e.Input}],scrollMobile:[{type:e.Input}],linksAlignStart:[{type:e.Input}],divider:[{type:e.Input}],card:[{type:e.Input}],columns:[{type:e.Input}],headingTag:[{type:e.Input}],layout:[{type:e.Input}],articles:[{type:e.Input}],linkIconType:[{type:e.Input}],hoverable:[{type:e.Input}],ctaLinkClicked:[{type:e.Output}]};var $e=function(){};$e.decorators=[{type:e.NgModule,args:[{declarations:[Ae,Re],imports:[n.CommonModule,Z,f,nt,se,kt,gt,Mt,f,l.RouterModule],exports:[Ae,Re]}]}];var Fe=function(){function t(t){this.idService=t,this.layout="card"}return Object.defineProperty(t.prototype,"getLayout",{get:function(){return this.layout},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"getColumns",{get:function(){return this.columns},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.id||(this.id=this.idService.generate())},t.prototype.cardClassGen=function(){var t=this.layout,e=this.columns;if("card"===t)return{"card-col-my":!0,"col-xl-3":"4"===e,"col-md-4":"4"===e||"3"===e,"col-sm-6":"4"===e||"3"===e||"2"===e}},t}();Fe.decorators=[{type:e.Component,args:[{selector:"rbc-link-card-container",template:'<div [id]="id" class="rbc-link-card-container">\n\t<h3>{{ title }}</h3>\n\t<ul\n\t\t[ngClass]="{ \'row card-group flex-column flex-md-row\': layout === \'card\' }"\n\t\tclass="rbc-link-card-items"\n\t>\n\t\t<ng-container *ngIf="items; else template">\n\t\t\t<rbc-link-card\n\t\t\t\t*ngFor="let item of items; index as index"\n\t\t\t\t[attr.key]="id + index"\n\t\t\t\t[layout]="layout"\n\t\t\t\t[columns]="columns"\n\t\t\t\t[link]="item.link"\n\t\t\t\t[text]="item.text"\n\t\t\t\t[marker]="item.marker"\n\t\t\t\t[icon]="item.icon"\n\t\t\t\t[iconLabel]="item.iconLabel"\n\t\t\t\t[title]="item.title"\n\t\t\t\t[target]="item.target"\n\t\t\t\t[iconWeight]="item.iconWeight"\n\t\t\t></rbc-link-card>\n\t\t</ng-container>\n\n\t\t<ng-template #template>\n\t\t\t<ng-content></ng-content>\n\t\t</ng-template>\n\t</ul>\n\n\n</div>\n',encapsulation:e.ViewEncapsulation.None}]}],Fe.ctorParameters=function(){return[{type:h}]},Fe.propDecorators={id:[{type:e.Input}],title:[{type:e.Input}],items:[{type:e.Input}],columns:[{type:e.Input}],layout:[{type:e.Input}]};var Be=function(){function t(t){this.idService=t,this.layout="card",this.iconWeight="solid",this.getLayout=!1,this.getColumns=!1,this.cardLink=!0,this.id=t.generate(),this.cardCol=this.localColumns||"card"===this.localLayout&&!this.localColumns,this.cardSm=2===this.localColumns||3===this.localColumns||4===this.localColumns,this.cardMd=3===this.localColumns||4===this.localColumns,this.cardXl=4===this.localColumns,this.cardLinkCard="card"===this.localLayout&&!this.localColumns}return Object.defineProperty(t.prototype,"localLayout",{get:function(){return this.getLayout?this.getLayout:this.layout},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"localColumns",{get:function(){return this.getColumns?this.getColumns:this.columns},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classGen",{get:function(){var t={};return t["rbc-link-card-"+this.localLayout]=this.localLayout,t["list-divider-item"]="list"===this.localLayout,t},enumerable:!0,configurable:!0}),t}();Be.decorators=[{type:e.Component,args:[{selector:"rbc-link-card",template:'<li\n\t[id]="id"\n\tclass="rbc-link-card">\n\t<rbc-card\n\t\t*ngIf="localLayout === \'card\'; else notCard"\n\t\t[id]="localLayout === \'card\' ? id+\'Card\' : null"\n\t\t[ngClass]="classGen"\n\t\t[link]="link"\n\t\t[target]="target ? target : null"\n\t>\n\t\t<ng-container *ngTemplateOutlet="bodyContent"></ng-container>\n\t</rbc-card>\n\n\n\t<ng-template #notCard>\n\t\t<div [ngClass]="classGen">\n\t\t\t<ng-container *ngTemplateOutlet="bodyContent"></ng-container>\n\t\t</div>\n\t</ng-template>\n\n\n\t<ng-template #bodyContent>\n\t\t<div [ngClass]="{ \'row rbc-link-card-row\': localLayout === \'list\' }">\n\t\t\t<div\n\t\t\t\t*ngIf="marker || text"\n\t\t\t\t[ngClass]="{ \'order-2 col-sm d-sm-flex\': localLayout === \'list\' }"\n\t\t\t\tclass="rbc-link-card-content"\n\t\t\t>\n\t\t\t\t<span\n\t\t\t\t\t*ngIf="marker"\n\t\t\t\t\t[id]="id+\'CardMarker\'"\n\t\t\t\t\tclass="marker"\n\t\t\t\t>\n\t\t\t\t\t{{ marker }}\n\t\t\t\t</span>\n\t\t\t\t<span\n\t\t\t\t\t*ngIf="text"\n\t\t\t\t\t[id]="id+\'CardText\'"\n\t\t\t\t\tclass="disclaimer rbc-link-card-text"\n\t\t\t\t\t[innerHtml]="text"\n\t\t\t\t></span>\n\t\t\t</div>\n\t\t\t<div\n\t\t\t\t[ngClass]="{ \'order-1 col-sm\': localLayout === \'list\', \'rbc-link-card-header-pt\': localLayout === \'card\' && marker && !text }"\n\t\t\t\tclass="rbc-link-card-header"\n\t\t\t>\n\t\t\t\t<rbc-icon\n\t\t\t\t\t*ngIf="icon"\n\t\t\t\t\t[id]="id+\'Icon\'"\n\t\t\t\t\t[label]="iconLabel"\n\t\t\t\t\t[type]="iconWeight"\n\t\t\t\t\tclass="rbc-link-card-icon"\n\t\t\t\t></rbc-icon>\n\n\t\t\t\t<a\n\t\t\t\t\t*ngIf="localLayout === \'list\'; else span"\n\t\t\t\t\t[id]="id+\'Title\'"\n\t\t\t\t\t[href]="link"\n\t\t\t\t\t[target]="target ? target : null"\n\t\t\t\t\tclass="rbc-link-card-title"\n\t\t\t\t>\n\t\t\t\t\t{{ title }}\n\t\t\t\t</a>\n\n\t\t\t\t<ng-template #span>\n\t\t\t\t\t<span\n\t\t\t\t\t\t[id]="id+\'Title\'"\n\t\t\t\t\t\tclass="rbc-link-card-title"\n\t\t\t\t\t>\n\t\t\t\t\t\t{{ title }}\n\t\t\t\t\t</span>\n\t\t\t\t</ng-template>\n\t\t\t</div>\n\t\t</div>\n\n\t</ng-template>\n</li>\n'}]}],Be.ctorParameters=function(){return[{type:h}]},Be.propDecorators={id:[{type:e.Input}],layout:[{type:e.Input}],title:[{type:e.Input}],text:[{type:e.Input}],icon:[{type:e.Input}],iconWeight:[{type:e.Input}],iconLabel:[{type:e.Input}],link:[{type:e.Input}],target:[{type:e.Input}],marker:[{type:e.Input}],columns:[{type:e.Input}],cardLink:[{type:e.HostBinding,args:["class.rbc-link-card"]}],cardGroupCol:[{type:e.HostBinding,args:["class.rbc-card-group-col"]}],cardCol:[{type:e.HostBinding,args:["class.rbc-card-col-my"]}],cardSm:[{type:e.HostBinding,args:["class.col-sm-6"]}],cardMd:[{type:e.HostBinding,args:["class.col-md-4"]}],cardXl:[{type:e.HostBinding,args:["class.col-xl-3"]}],cardLinkCard:[{type:e.HostBinding,args:["class.rbc-link-card-col"]}]};var Ve=function(){};Ve.decorators=[{type:e.NgModule,args:[{declarations:[Be,Fe],imports:[n.CommonModule,se,f],exports:[Be,Fe]}]}];var Ne=function(){function t(t){this.idService=t,this.navToggleUpdate=new e.EventEmitter,this.sideNavOpenedContentDisabled=!1,this.id=t.generate()}return t.prototype.$_Layout_sorted=function(t){if(t){var e=t.filter((function(t){return void 0!==t.meta&&void 0!==t.meta.order})),n=t.filter((function(t){return void 0===t.meta||void 0===t.meta.order}));return e=e.sort((function(t,e){return t.meta.order<e.meta.order?-1:t.meta.order>e.meta.order?1:0})),n=n.sort((function(t,e){return t.name<e.name?-1:t.name>e.name?1:0})),e.concat(n)}},t.prototype.$_Layout_updateContentDisabled=function(t){this.navToggleUpdate.emit(t),this.isMd&&(this.sideNavOpenedContentDisabled=t)},Object.defineProperty(t.prototype,"isMd",{get:function(){return"undefined"!=typeof window&&void 0!==window.matchMedia&&window.matchMedia("(max-width: 991px)").matches},enumerable:!0,configurable:!0}),t}();Ne.decorators=[{type:e.Component,args:[{selector:"rbc-layout",template:'<div\n\tid="id"\n\t[ngClass]="{ \'side-nav-content\': sideNav }"\n\tclass="content"\n>\n\t<rbc-top-nav\n\t\t\t[id]="id+\'TopNav\'"\n\t\t\t[fullWidth]="fullWidth"\n\t\t\t[items]="topNav"\n\t\t\t[logo]="logo"\n\t\t\t[logoLink]="logoLink"\n\t\t\t[logoRouter]="logoRouter"\n\t\t\t[logoLabel]="logoLabel"\n\t\t\t[search]="search"\n\t\t\t[showSecondary]="showSecondary"\n\t\t\t[searchPlaceholder]="searchPlaceholder">\n\n\t\t\t<ng-content secondary-left select="[secondary-left]"></ng-content>\n\t\t\t<ng-content secondary select="[secondary]"></ng-content>\n\n\t\t\t<ng-content select="[search]" search></ng-content>\n\t\t\t<ng-content select="[top-nav]" top-nav></ng-content>\n\n\t</rbc-top-nav>\n\n\t<rbc-side-nav\n\t\t*ngIf="sideNav || (isMd && topNav && topNav.length)"\n\t\t[id]="id+\'SideNav\'"\n\t\t[items]="$_Layout_sorted(sideNav || topNav)"\n\t\t[anchorLinks]="anchorLinks"\n\t\t[arrows]="sideNavArrows"\n\t\t[currentPage]="currentPage"\n\t\t[fullWidth]="fullWidth"\n\t\t[search]="search"\n\t\t[searchPlaceholder]="searchPlaceholder"\n\t\t[toggled]="toggled"\n\t\t[toggleType]="sideNav ? toggleType : null"\n\t\t[hamburgerPositionX]="\'left\'"\n\t\t(navtoggleupdate)="$_Layout_updateContentDisabled($event)">\n\n\t\t<ul mobile-top\n\t\t\t*ngIf="sideNav"\n\t\t\tclass="rbc-side-nav-items">\n\t\t\t<rbc-side-nav-item\n\t\t\t\t*ngFor="let route of topNav; index as k"\n\t\t\t\t[id]="id+\'SideNavTopNavItem\'+k"\n\t\t\t\t[expandable]="route.children && route.children.length > 0"\n\t\t\t\t[href]="route.link"\n\t\t\t\t[router]="route.router"\n\t\t\t\t[routeObject]="route"\n\t\t\t\t[arrow]="true"\n\t\t\t\t[avatarImage]="route.avatarImage"\n\t\t\t\t[avatarText]="route.avatarText"\n\t\t\t\t[routerTo]="route.to || { name: route.name }">\n\n\t\t\t\t<span expand-link\n\t\t\t\t\t*ngIf="route.children && route.children.length > 0; else default"\n\t\t\t\t\t[innerHtml]="route.displayName || route.name">\n\t\t\t\t</span>\n\t\t\t\t<ng-template #default default>\n\t\t\t\t\t<span [innerHtml]="route.displayName || route.name"></span>\n\t\t\t\t</ng-template>\n\n\t\t\t\t<ng-container *ngIf="route.children && route.children.length > 0" default>\n\t\t\t\t\t<rbc-side-nav-item\n\t\t\t\t\t\t*ngFor="let item of route.children; index as i"\n\t\t\t\t\t\t[href]="item.link"\n\t\t\t\t\t\t[router]="item.router"\n\t\t\t\t\t\t[routeObject]="item"\n\t\t\t\t\t\t[routerTo]="item.to || { name: item.name }">\n\t\t\t\t\t\t<span [innerHtml]="item.displayName || item.name"></span>\n\t\t\t\t\t</rbc-side-nav-item>\n\t\t\t\t</ng-container>\n\t\t\t</rbc-side-nav-item>\n\t\t</ul>\n\t\t<ng-content select="[side-nav]" side-nav></ng-content>\n\t</rbc-side-nav>\n\n\n\t<ng-content select="[content]">\n\t</ng-content>\n\n\t<footer class="footer">\n\t\t<ng-content select="[footer]"></ng-content>\n\t</footer>\n</div>\n',encapsulation:e.ViewEncapsulation.None}]}],Ne.ctorParameters=function(){return[{type:h}]},Ne.propDecorators={id:[{type:e.Input}],sideNav:[{type:e.Input}],topNav:[{type:e.Input}],logo:[{type:e.Input}],logoLink:[{type:e.Input}],logoLabel:[{type:e.Input}],fullWidth:[{type:e.Input}],currentPage:[{type:e.Input}],search:[{type:e.Input}],searchPlaceholder:[{type:e.Input}],sideNavArrows:[{type:e.Input}],toggleType:[{type:e.Input}],anchorLinks:[{type:e.Input}],logoRouter:[{type:e.Input}],showSecondary:[{type:e.Input}],toggled:[{type:e.Input}],navToggleUpdate:[{type:e.Output}]};var He=function(){};He.decorators=[{type:e.NgModule,args:[{declarations:[Ne],imports:[n.CommonModule,St,xe,ut],exports:[Ne]}]}];var je=function(){function t(t){this.idService=t,this.person=!1,this.imagePosition="0% 0%",this.imageBottom=!1,this.border=!1,this.flush=!1,this.fullWidth=!1,this.card=!1,this.cardPositionX="left",this.avatarSize="large",this.ctaIcon=""}return Object.defineProperty(t.prototype,"chevron",{get:function(){return"chevron-right"===this.ctaIcon?"right":"chevron-up"===this.ctaIcon?"up":"chevron-down"===this.ctaIcon?"down":null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){return this.ctaIcon&&"chevron-right"!==this.ctaIcon&&"chevron-up"!==this.ctaIcon&&"chevron-down"!==this.ctaIcon?this.ctaIcon:""},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.avatarSize="large",this.id||(this.id=this.idService.generate())},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.bannerStyles=function(){var t,e=this,n=e.image,i=e.person,a=e.imagePosition;if(n)return(t={})["background-image"]="url("+n+")",t["background-position"]=i?"bottom right":a,t["background-size"]=i?null:"cover",t},t.prototype.bannerClasses=function(){var t=this,e=t.border,n=t.image,i=t.centered,a=t.imageBottom,o=t.borderText,r=t.flush;return{"rbc-hero-keyline":e&&n,"rbc-hero-center":i,"rbc-hero-flush":n&&a||e&&!n&&!o||r,"rbc-hero-person":t.person}},t}();je.decorators=[{type:e.Component,args:[{selector:"rbc-hero",template:'<div\n\t[id]="id"\n\tclass="rbc-hero"\n\t[ngStyle]="!imageBottom && !person ? bannerStyles() : \'\'"\n\t[ngClass]="bannerClasses()"\n>\n\t<div\n\t\t[ngClass]="{\n\t\t\t\'container-fluid\': fullWidth,\n\t\t\tcontainer: !fullWidth,\n\t\t\t\'rbc-hero-person-wrap\': person\n\t\t}"\n\t>\n\t\t<div\n\t\t\t*ngIf="person && image"\n\t\t\t[ngStyle]="bannerStyles()"\n\t\t\tclass="rbc-hero-person-image"\n\t\t></div>\n\t\t<div [ngClass]="{\'justify-content-center\': card && cardPositionX === \'center\', row: card }" >\n\t\t\t<rbc-card\n\t\t\t\t[ngClass]="{ \'offset-md-6\': cardPositionX === \'right\' }"\n\t\t\t\tclass="col-md-6 rbc-hero-body"\n\t\t\t\t*ngIf="card"\n\t\t\t>\n\t\t\t\t<ng-container *ngTemplateOutlet="heroContent"></ng-container>\n\t\t\t</rbc-card>\n\n\t\t\t<div *ngIf="!card" class="rbc-hero-body">\n\t\t\t\t<ng-container *ngTemplateOutlet="heroContent"></ng-container>\n\t\t\t</div>\n\n\t\t\t<ng-container select="[content-aside]">\n\t\t\t\t<div class="col-lg-5 col-xl-4 d-flex align-items-end">\n\t\t\t\t\t<ng-content ></ng-content>\n\t\t\t\t</div>\n\t\t\t</ng-container>\n\n\t\t\t<div\n\t\t\t\t*ngIf="energyLinesImage && image && !person"\n\t\t\t\t[ngStyle]="{ backgroundImage: \'url(\' + energyLinesImage + \')\' }"\n\t\t\t\tclass="rbc-hero-energy-lines"\n\t\t\t></div>\n\t\t\t<div *ngIf="border && !image" class="rbc-hero-borders">\n\t\t\t\t<hr class="rbc-hero-border rbc-hero-border-left" />\n\t\t\t\t<a\n\t\t\t\t\t*ngIf="borderText && borderLink"\n\t\t\t\t\t[href]="borderLink"\n\t\t\t\t\tclass="rbc-hero-border-text"\n\t\t\t\t\t>{{ borderText }}</a\n\t\t\t\t>\n\t\t\t\t<span *ngIf="borderText && !borderLink" class="border-text">\n\t\t\t\t\t{{ borderText }}\n\t\t\t\t</span>\n\t\t\t\t<hr class="rbc-hero-border rbc-hero-border-right" />\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\t<div\n\t\t*ngIf="image && imageBottom && !person"\n\t\t[ngStyle]="bannerStyles()"\n\t\tclass="rbc-hero-image-bottom"\n\t></div>\n</div>\n\n<ng-template #heroContent>\n\t<div *ngIf="(breadcrumb && breadcrumb.length) || marker" class="row">\n\t\t<div *ngIf="breadcrumb && breadcrumb.length" class="col-lg-9">\n\t\t\t<rbc-breadcrumb\n\t\t\t\t[id]="id + \'Breadcrumb\'"\n\t\t\t\t[items]="breadcrumb"\n\t\t\t\tclass="rbc-hero-breadcrumb"\n\t\t\t></rbc-breadcrumb>\n\t\t</div>\n\t\t<div\n\t\t\t*ngIf="marker"\n\t\t\tclass="col-lg-3 text-lg-right"\n\t\t\t[ngClass]="{ \'offset-lg-9\': breadcrumb && breadcrumb.length <= 0 }"\n\t\t>\n\t\t\t<span class="rbc-hero-marker marker">{{ marker }}</span>\n\t\t</div>\n\t</div>\n\t<div [ngClass]="{ \'d-flex\': (avatarImage || avatarText) && !centered }">\n\t\t<rbc-caption\n\t\t\t*ngIf="avatarImage || avatarText"\n\t\t\t[id]="id + \'Caption\'"\n\t\t\t[image]="avatarImage"\n\t\t\t[imageText]="title"\n\t\t\t[avatarSize]="avatarSize"\n\t\t\t[avatarColor]="avatarColor"\n\t\t\t[avatarText]="avatarText"\n\t\t\t[avatarTextColor]="avatarTextColor"\n\t\t\t[avatarClass]="\'rbc-hero-avatar\'"\n\t\t></rbc-caption>\n\t\t<div class="rbc-hero-body-content">\n\t\t\t<h1 *ngIf="title" [id]="id + \'Title\'" class="rbc-hero-title">\n\t\t\t\t{{ title }}\n\t\t\t</h1>\n\n\t\t\t<span\n\t\t\t\t*ngIf="category"\n\t\t\t\t[id]="id + \'Category\'"\n\t\t\t\t[ngClass]="[\'c-\' + categoryColor]"\n\t\t\t\tclass="rbc-hero-category category"\n\t\t\t>\n\t\t\t\t{{ category }}\n\t\t\t</span>\n\t\t\t<p\n\t\t\t\t*ngIf="!card && subtitle"\n\t\t\t\t[id]="id + \'Subtitle\'"\n\t\t\t\tclass="rbc-hero-subtitle"\n\t\t\t>\n\t\t\t\t{{ subtitle }}\n\t\t\t</p>\n\t\t\t<p *ngIf="byLine" [id]="id + \'ByLine\'" class="rbc-hero-by-line">\n\t\t\t\t{{ byLine }}\n\t\t\t</p>\n\t\t\t<p *ngIf="text" [id]="id + \'Text\'" class="rbc-hero-text">\n\t\t\t\t{{ text }}\n\t\t\t</p>\n\t\t\t<div *ngIf="ctaLabel && ctaLink" class="rbc-hero-cta">\n\t\t\t\t<rbc-button\n\t\t\t\t\t[id]="id + \'CTA\'"\n\t\t\t\t\ttype="primary"\n\t\t\t\t\t[link]="ctaLink"\n\t\t\t\t\t[icon]="icon"\n\t\t\t\t\t[chevron]="chevron"\n\t\t\t\t\t>{{ ctaLabel }}\n\t\t\t\t</rbc-button>\n\t\t\t</div>\n\n\t\t\t<ng-container>\n\t\t\t\t<ng-content select="[cta]"></ng-content>\n\t\t\t</ng-container>\n\t\t</div>\n\t</div>\n\t<ng-content select="[footer]"></ng-content>\n\n</ng-template>\n',encapsulation:e.ViewEncapsulation.None}]}],je.ctorParameters=function(){return[{type:h}]},je.propDecorators={image:[{type:e.Input}],person:[{type:e.Input}],imagePosition:[{type:e.Input}],id:[{type:e.Input}],imageBottom:[{type:e.Input}],border:[{type:e.Input}],centered:[{type:e.Input}],flush:[{type:e.Input}],fullWidth:[{type:e.Input}],card:[{type:e.Input}],borderText:[{type:e.Input}],borderLink:[{type:e.Input}],cardPositionX:[{type:e.Input}],avatarImage:[{type:e.Input}],avatarSize:[{type:e.Input}],avatarColor:[{type:e.Input}],avatarText:[{type:e.Input}],avatarTextColor:[{type:e.Input}],title:[{type:e.Input}],subtitle:[{type:e.Input}],ctaIcon:[{type:e.Input}],ctaLink:[{type:e.Input}],byLine:[{type:e.Input}],category:[{type:e.Input}],categoryColor:[{type:e.Input}],marker:[{type:e.Input}],text:[{type:e.Input}],breadcrumb:[{type:e.Input}],ctaLabel:[{type:e.Input}],shield:[{type:e.Input}],energyLinesImage:[{type:e.Input}]};var Ue=function(){function t(t,n,i){this.idService=t,this.domSanitizer=n,this.router=i,this.navigation=new e.EventEmitter,this.id=this.idService.generate()}return Object.defineProperty(t.prototype,"href",{get:function(){return this.domSanitizer.bypassSecurityTrustUrl(this._href)},set:function(t){this._href=t},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.idService&&this.idService.remove(this.id)},t.prototype.ngOnChanges=function(t){Array.isArray(this.items)&&(this.items=this.items.filter((function(t){return!!t.text&&""!==t.text})))},t.prototype.getLinkClass=function(t){return t&&"#"!==t?"rbc-breadcrumb-link":""},t}();Ue.decorators=[{type:e.Component,args:[{selector:"rbc-breadcrumb",template:'\n\t\t<nav [id]="id" [attr.aria-label]="ariaLabel">\n\t\t\t<ol class="rbc-breadcrumb">\n\t\t\t\t<li *ngFor="let item of items; index as index" class="rbc-breadcrumb-item">\n\t\t\t\t\t<a\n\t\t\t\t\t\t[id]="id+\'Item\'+index"\n\t\t\t\t\t\t*ngIf="item.link && item.link != \'#\' && !item.href"\n\t\t\t\t\t\t[class]="getLinkClass(item.link)"\n\t\t\t\t\t\t[routerLink]="item.link"\n\t\t\t\t\t\t[queryParams]="item.queryParams"\n\t\t\t\t\t\trouterLinkActive="active"\n\t\t\t\t\t\t[routerLinkActiveOptions]="{exact:true}"\n\t\t\t\t\t\t[href]= "item.link ? item.link : null">\n\t\t\t\t\t\t{{ item.text }}\n\t\t\t\t\t</a>\n\t\t\t\t\t<a\n\t\t\t\t\t\t[id]="id+\'Item\'+index"\n\t\t\t\t\t\t*ngIf= "(!item.link || item.link == \'#\') && item.href"\n\t\t\t\t\t\t[class]="getLinkClass(item.link)"\n\t\t\t\t\t\t[href]="item.href"\n\t\t\t\t\t>\n\t\t\t\t\t\t{{ item.text }}\n\t\t\t\t\t</a>\n\t\t\t\t\t<span\n\t\t\t\t\t\t[id]="id+\'Item\'+index"\n\t\t\t\t\t\t*ngIf="(!item.link || item.link == \'#\') && !item.href"\n\t\t\t\t\t\t[class]="getLinkClass(item.link)"\n\t\t\t\t\t>\n\t\t\t\t\t\t{{ item.text }}\n\t\t\t\t\t</span>\n\t\t\t\t</li>\n\t\t\t</ol>\n\t\t</nav>\n\t'}]}],Ue.ctorParameters=function(){return[{type:h},{type:p.DomSanitizer},{type:l.Router}]},Ue.propDecorators={id:[{type:e.Input}],items:[{type:e.Input}],ariaLabel:[{type:e.Input}],href:[{type:e.Input}],navigation:[{type:e.Output}]};var ze=function(){};ze.decorators=[{type:e.NgModule,args:[{declarations:[Ue],imports:[l.RouterModule,n.CommonModule],exports:[Ue]}]}];var Ge=function(){};Ge.decorators=[{type:e.NgModule,args:[{declarations:[je],imports:[n.CommonModule,se,gt,ze,nt,f],exports:[je]}]}];var Ye=function(){function t(t){this.idService=t,this.activeItem={id:null,all:!1},this.accordion=!1,this.card=!0,this.showButton=!0,this.buttonOpenAll="Expand all",this.buttonCloseAll="Collapse all",this.id=t.generate()}return t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},Object.defineProperty(t.prototype,"buttonText",{get:function(){return this.isAllExpanded()?this.buttonCloseAll:this.buttonOpenAll},enumerable:!0,configurable:!0}),t.prototype.toggleExpanded=function(){var t,e,n=!this.isAllExpanded();try{for(var i=q(this.expandables._results),a=i.next();!a.done;a=i.next()){a.value.expanded=n}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}},t.prototype.isAllExpanded=function(){var t,e;try{for(var n=q(this.expandables._results),i=n.next();!i.done;i=n.next()){if(!i.value.expanded)return!1}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return!0},t.prototype.childExpanded=function(t,e){var n,i;if(this.accordion)try{for(var a=q(this.expandables._results),o=a.next();!o.done;o=a.next()){var r=o.value;r.id===t?r.expanded=e:r.expanded=!1}}catch(t){n={error:t}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}},t}();Ye.decorators=[{type:e.Component,args:[{selector:"rbc-expandable-container",template:'<div [id]="id" class="rbc-expandable-container">\n\t<ng-container *ngIf="card; else notCard">\n\t\t<rbc-card [flush]="true" >\n\t\t\t<ng-container *ngTemplateOutlet="headerContent" header></ng-container>\n\t\t\t<ng-container *ngTemplateOutlet="bodyContent"></ng-container>\n\t\t</rbc-card>\n\t</ng-container>\n\t<ng-template #notCard>\n\t\t<div [attr.flush]="true">\n\t\t\t<ng-container *ngTemplateOutlet="headerContent" header></ng-container>\n\t\t\t<ng-container *ngTemplateOutlet="bodyContent"></ng-container>\n\t\t</div>\n\t</ng-template>\n</div>\n\n<ng-template #headerContent>\n\t<div class="rbc-expandable-container-header" *ngIf="card && title">\n\t\t<h3 [id]="id + \'Title\'">{{ title }}</h3>\n\t\t<button\n\t\t\t*ngIf="showButton"\n\t\t\t[id]="id + \'ButtonExpandAll\'"\n\t\t\t[attr.aria-controls]="ariaControls ? ariaControls : null"\n\t\t\t[attr.aria-expanded]="isAllExpanded ? \'true\' : \'false\'"\n\t\t\tclass="rbc-expandable-container-button link-button"\n\t\t\t(click)="toggleExpanded()"\n\t\t>\n\t\t\t{{ buttonText }}\n\t\t</button>\n\t</div>\n</ng-template>\n\n<ng-template #bodyContent> <ng-content></ng-content> </ng-template>\n',encapsulation:e.ViewEncapsulation.None}]}],Ye.ctorParameters=function(){return[{type:h}]},Ye.propDecorators={id:[{type:e.Input}],accordion:[{type:e.Input}],card:[{type:e.Input}],title:[{type:e.Input}],showButton:[{type:e.Input}],buttonOpenAll:[{type:e.Input}],buttonCloseAll:[{type:e.Input}],ariaControls:[{type:e.Input}],expandables:[{type:e.ContentChildren,args:[e.forwardRef((function(){return fe}))]}]};var We=function(){};We.decorators=[{type:e.NgModule,args:[{declarations:[Ye],imports:[n.CommonModule,se],exports:[Ye]}]}];var qe=function(){function t(t,n,i){this.idService=t,this.cdr=n,this.controlDirective=i,this.disabled=!1,this.height="200px",this.selectUpdate=new e.EventEmitter,this.clickListener=this.$_Dropdown_close.bind(this),this.activeTransition="max-height",this.open=!1,this.typed="",this.index=0,this.activeIndex=0,this.defaultText="Select Item",this.onChange=function(t){},this.onTouched=function(){},this.id=this.id?this.id:this.idService.generate(),this.controlDirective&&(i.valueAccessor=this)}return t.prototype.ngOnInit=function(){this.processValue()},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id),document.removeEventListener("click",this.clickListener)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.isMobileHandler=function(){return Ut()},t.prototype.setDisabledState=function(t){this.isDisabled=t},t.prototype.writeValue=function(t){this.value=t,this.processValue()},t.prototype.onBlur=function(t){this.open&&(this.open=!1,this.onTouched())},t.prototype.clickOutside=function(t){t.target.id!==this.id?(this.open=!1,document.removeEventListener("click",this.clickListener)):this.open=!0},t.prototype.selectItem=function(t){this.onChange(t),this.value=t,this.processValue(),this.selectUpdate.emit(t),this.open=!1},t.prototype.$_SelectDropdown_open=function(t){var e=this,n=t.key&&t.key.toLowerCase();if(!n||n&&(n.indexOf("down")>-1||n.indexOf("up")>-1||"enter"===n||" "===n)){var i=!this.open;this.open=i&&!this.disabled,this.open&&setTimeout((function(){e.cardList.nativeElement.focus()})),["click","touchend","keydown"].forEach((function(t){return document.addEventListener(t,e.clickListener)}))}},t.prototype.$_Dropdown_close=function(t){var e=this;(t.target.id!=this.dropdown.nativeElement.id&&t.target.id!=this.cardList.nativeElement.id||void 0!==t.key&&("escape"===t.key.toLowerCase()||"enter"===t.key.toLowerCase()))&&(this.open=!1,this.cdr.detectChanges(),["click","touchend","keydown"].forEach((function(t){return document.removeEventListener(t,e.clickListener)})),document.getElementById(this.id).focus())},t.prototype.$_Dropdown_updateHighlight=function(t){var e=this,n=t.key.toLowerCase();if("tab"!==n.toLowerCase()&&t.preventDefault(),!this.isMobileHandler()&&this.options.length>0&&this.open&&t.which&&/[a-zA-Z]/g.test(String.fromCharCode(t.which))){this.typed+=n;var i=this.options.findIndex((function(t){return t.label.toLowerCase().startsWith(e.typed)}));if(i>-1){this.activeIndex=i;var a=this.cardResultsList.cardResults.nativeElement,o=this.optionsRef[this.activeIndex];a.scrollTop=o.offsetTop}}setTimeout((function(){e.typed=""}),2e3),this.$_SelectDropdown_updateHighlight(t)},t.prototype.$_SelectDropdown_nextEligibleOption=function(t,e,n){for(var i=t+1;i<n&&e[i].disabled;)i+=1;return i!==n?i:t},t.prototype.$_SelectDropdown_previousEligibleOption=function(t,e){for(var n=t-1;n>-1&&e[n].disabled;)n-=1;return n>-1?n:t},t.prototype.$_SelectDropdown_updateHighlight=function(t){var e,n,i=t.key.toLowerCase(),a=this.options.length;a>0&&this.open?((i.indexOf("down")>-1||i.indexOf("up")>-1)&&(e=this.cardResults.nativeElement,n=this.cardResultsList.cardResults.nativeElement.querySelector(".active")),i.indexOf("down")>-1?(t.preventDefault(),this.index=this.$_SelectDropdown_nextEligibleOption(this.index,this.options,a),this.highlightID=this.options[this.index].id,this.activeIndex=this.index,n&&(e.scrollTop=n.offsetTop)):i.indexOf("up")>-1?(t.preventDefault(),this.index=this.$_SelectDropdown_previousEligibleOption(this.index,this.options),this.highlightID=this.options[this.index].id,this.activeIndex=this.index,e.scrollTop=n.offsetTop-2*n.offsetHeight):"enter"!==i||this.options[this.index].disabled?"escape"!==i&&" "!==i||(t.preventDefault(),this.open=!1):(t.preventDefault(),this.selectItem(this.options[this.index].value),this.$_Dropdown_close(t))):(i.indexOf("down")>-1||i.indexOf("up")>-1||"enter"===i||" "===i)&&(t.preventDefault(),this.$_SelectDropdown_open(t))},t.prototype.processValue=function(){var t=this;if(this.options){var e=this.options.find((function(e){return e.value===t.value}));e?(this.value=e.value,this.selectedLabel=e.label):(this.value=null,this.selectedLabel=null)}},t.prototype.classGen=function(){var t;return(t={})["rbc-dropdown-"+this.size]=this.size&&("large"===this.size||"small"===this.size),t["rbc-dropdown-width-"+this.sizeWidth]=this.sizeWidth,t.disabled=this.disabled&&!this.disabled,t},t.prototype.heightGen=function(){return this.height&&"string"!=typeof this.height?this.height+"px":this.height},t.prototype.activeDescendant=function(){var t=this;if(t.open){if(t.options[t.activeIndex])return t.id+"Option"+this.$_Dropdown_updateName(t.options[t.activeIndex].value)}else if(this.value)return t.id+"Option"+this.$_Dropdown_updateName(this.value)},t.prototype.$_Dropdown_updateName=function(t){return t.toString().replace(/[^\w-]+/g,"-")},t}();qe.decorators=[{type:e.Component,args:[{selector:"rbc-dropdown",template:'<div [ngClass]="classGen()" class="rbc-dropdown">\n\t\x3c!-- Label - Display ng-content if available, otherwise show default label --\x3e\n\t\x3c!-- Label --\x3e\n\t<div #labelText class="input-label">\n\t\t<ng-content select="[label]"></ng-content>\n\t</div>\n\t\x3c!-- Label text --\x3e\n\t<rbc-label\n\t\t*ngIf="label"\n\t\t[id]="id + \'Label\'"\n\t\t[for]="id"\n\t\t[text]="label"\n\t\t[srOnly]="labelSrOnly">\n\t</rbc-label>\n\n\t\x3c!-- Help text --\x3e\n\t<rbc-help-text *ngIf="helpText" [id]="id + \'HelpText\'" [text]="helpText">\n\t\t<ng-content select="[helpText]"></ng-content>\n\t</rbc-help-text>\n\n\t\x3c!-- If not mobile do this --\x3e\n\t<ng-container *ngIf="!isMobileHandler(); else mobile">\n\t\t<button\n\t\t\t#dropdown\n\t\t\t[id]="id"\n\t\t\t[disabled]="disabled"\n\t\t\t[attr.aria-controls]="id + \'List\'"\n\t\t\t[attr.aria-describedby]="ariaDescribedby"\n\t\t\t[attr.aria-disabled]="disabled"\n\t\t\t[attr.aria-expanded]="open ? \'true\' : \'false\'"\n\t\t\t[attr.aria-labelledby]="ariaLabelledby"\n\t\t\t[ngClass]="{ open: open, disabled: disabled, statusType: statusType && status }"\n\t\t\t[attr.data-selected]="value"\n\t\t\t[tabindex]="disabled ? -1 : 0"\n\t\t\taria-haspopup="listbox"\n\t\t\tclass="rbc-dropdown-control"\n\t\t\ttype="button"\n\t\t\t(click)="$_SelectDropdown_open($event)"\n\t\t\t(keydown)="$_SelectDropdown_open($event)">\n\t\t\t<ng-container *ngIf="value; else noItem">\n\t\t\t{{ selectedLabel }}\n\t\t\t<rbc-icon\n\t\t\t\t\t[attr.aria-hidden]="true"\n\t\t\t\t\ticon="angle-down"\n\t\t\t\t\tclass="rbc-dropdown-icon"\n\t\t\t></rbc-icon>\n\t\t\t</ng-container>\n\n\t\t\t<ng-template #noItem>{{ defaultText }}\n\t\t\t\t<rbc-icon\n\t\t\t\t\t[attr.aria-hidden]="true"\n\t\t\t\t\ticon="angle-down"\n\t\t\t\t\tclass="rbc-dropdown-icon"\n\t\t\t\t></rbc-icon>\n\t\t\t</ng-template>\n\t\t</button>\n\n\t\t\x3c!-- Removed for animation - [hidden]="!open" --\x3e\n\t\t<rbc-card\n\t\t\t#cardResults\n\t\t\t[@toggleCard]="{value: open}"\n\t\t\t[id]="id+\'Card\'"\n\t\t\t[flush]="true"\n\t\t\tcardClass="rbc-dropdown-card"\n\t\t\t[cardStyle]="heightGen()">\n\t\t\t<ul\n\t\t\t\t#cardList\n\t\t\t\t[id]="id + \'List\'"\n\t\t\t\t[attr.aria-labelledby]="id + \'Label\'"\n\t\t\t\t[attr.aria-activedescendant]="activeDescendant()"\n\t\t\t\trole="listbox"\n\t\t\t\ttabindex="-1"\n\t\t\t\tclass="rbc-dropdown-search-results"\n\t\t\t\t(keydown)="$_Dropdown_updateHighlight($event)">\n\t\t\t\t<li\n\t\t\t\t\t#optionsRef\n\t\t\t\t\t*ngFor="let option of options; let i = index"\n\t\t\t\t\t[id]="id + \'Option\' + $_Dropdown_updateName(option.value)"\n\t\t\t\t\t[attr.key]="id+\'Option\'+index"\n\t\t\t\t\t[attr.aria-selected]="activeDescendant() == id+\'Option\'+$_Dropdown_updateName(option.value)"\n\t\t\t\t\t[attr.aria-disabled]="option.disabled ? \'true\' : \'false\'"\n\t\t\t\t\t[attr.aria-hidden]="option.disabled ? \'true\' : \'false\'"\n\t\t\t\t\t[attr.aria-label]="option.labelSr && option.label + \' \' + option.labelSr"\n\t\t\t\t\t[ngClass]="{\n\t\t\t\t\t\tactive: activeIndex === i,\n\t\t\t\t\t\tselected: value === option.value,\n\t\t\t\t\t\tdisabled: option.disabled\n\t\t\t\t\t}"\n\t\t\t\t\tclass="rbc-dropdown-search-result"\n\t\t\t\t\trole="option"\n\t\t\t\t\t(click)="!option.disabled && selectItem(option.value)">\n\t\t\t\t\t{{ option.label }}\n\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</rbc-card>\n\t</ng-container>\n\n\t<ng-template #mobile>\n\t\t<rbc-select\n\t\t\t[(ngModel)]="value"\n\t\t\t[id]="id"\n\t\t\t[name]="id"\n\t\t\t[disabled]="disabled"\n\t\t\t[options]="options"\n\t\t\t[size]="size"\n\t\t\t[sizeWidth]="sizeWidth"\n\t\t\t(valueChange)="selectItem($event)"\n\t\t></rbc-select>\n\t</ng-template>\n\n\t<ng-container select="[status]">\n\t\t<rbc-status\n\t\t\t*ngIf="status"\n\t\t\t[id]="id + \'Status\'"\n\t\t\t[text]="status"\n\t\t\t[type]="statusType">\n\t\t\t<ng-content select="[status-content]"></ng-content>\n\t\t</rbc-status>\n\t</ng-container>\n\n\t\x3c!-- If open --\x3e\n\t<span\n\t\t*ngIf="open"\n\t\t[id]="id+\'LiveRegion\'"\n\t\taria-live="polite"\n\t\tclass="sr-only"\n\t>\n\t\tThe current selected value for this dropdown is {{ selectedLabel }}.\n\t\tThere are {{ options.length }} available options. You can press the\n\t\tarrow down to move to the list. You can then use arrows up and down to\n\t\tnavigate through the options. Press escape or space to close it and\n\t\tenter to select the option.\n\t</span>\n</div>\n',encapsulation:e.ViewEncapsulation.None,animations:[c.trigger("toggleCard",[c.state("true",c.style({height:"*"})),c.state("false",c.style({height:0,visibility:"hidden",overflow:"hidden"})),c.state("void",c.style({height:0,visibility:"hidden",overflow:"hidden"})),c.transition("true <=> *",c.animate("0.4s ease-in-out"))])]}]}],qe.ctorParameters=function(){return[{type:h},{type:e.ChangeDetectorRef},{type:a.NgControl,decorators:[{type:e.Optional},{type:e.Self}]}]},qe.propDecorators={options:[{type:e.Input}],disabled:[{type:e.Input}],height:[{type:e.Input}],helpText:[{type:e.Input}],id:[{type:e.Input}],label:[{type:e.Input}],status:[{type:e.Input}],statusType:[{type:e.Input}],size:[{type:e.Input}],sizeWidth:[{type:e.Input}],ariaLabel:[{type:e.Input}],ariaLabelledby:[{type:e.Input}],ariaDescribedby:[{type:e.Input}],ariaActiveDescendant:[{type:e.Input}],labelSrOnly:[{type:e.Input}],selectUpdate:[{type:e.Output}],defaultText:[{type:e.Input}],cardResults:[{type:e.ViewChild,args:["cardResults",{static:!1,read:e.ElementRef}]}],cardResultsList:[{type:e.ViewChild,args:["cardResults",{static:!1}]}],cardList:[{type:e.ViewChild,args:["cardList",{static:!1}]}],optionsRef:[{type:e.ViewChild,args:["optionsRef",{static:!1}]}],dropdown:[{type:e.ViewChild,args:["dropdown",{static:!1}]}]};var Xe=function(){};Xe.decorators=[{type:e.NgModule,args:[{declarations:[qe],imports:[n.CommonModule,se,De,ot,st,ct,a.FormsModule,f],exports:[qe]}]}];var Je=function(t){return String.fromCharCode(97+t).toUpperCase()},Ke=function(t,e){return Math.floor(Math.random()*(e-t)+t)},Ze=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()},Qe=function(){function t(t,e,n,i){this.language=t,this.months=e,this.monthsAbbr=n,this.days=i,this.rtl=!1,this.ymd=!1,this.yearSuffix="","French"===t?(this.clearText="Vider date",this.calendarIconText="Ouvrir le calendrier",this.prevDecade="Décennie précédente",this.nextDecade="Décennie suivante",this.prevYear="Année précédente",this.nextYear="Année suivante",this.prevMonth="Mois précédent",this.nextMonth="Mois suivant"):(this.clearText="Clear date",this.calendarIconText="Open calendar",this.prevDecade="Previous decade",this.nextDecade="Next decade",this.prevYear="Previous year",this.nextYear="Next year",this.prevMonth="Previous month",this.nextMonth="Next month")}return Object.defineProperty(t.prototype,"language",{get:function(){return this._language},set:function(t){if("string"!=typeof t)throw new TypeError("Language must be a string");this._language=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"clearText",{get:function(){return this._clearText},set:function(t){if("string"!=typeof t)throw new TypeError("Clear text must be a string");this._clearText=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"calendarIconText",{get:function(){return this._calendarIconText},set:function(t){if("string"!=typeof t)throw new TypeError("Calendar icon text must be a string");this._calendarIconText=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"prevDecade",{get:function(){return this._prevDecade},set:function(t){if("string"!=typeof t)throw new TypeError("Previous decade text must be a string");this._prevDecade=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextDecade",{get:function(){return this._nextDecade},set:function(t){if("string"!=typeof t)throw new TypeError("Next decade text must be a string");this._nextDecade=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"prevYear",{get:function(){return this._prevYear},set:function(t){if("string"!=typeof t)throw new TypeError("Previous Year text must be a string");this._prevYear=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextYear",{get:function(){return this._nextYear},set:function(t){if("string"!=typeof t)throw new TypeError("Next Year text must be a string");this._nextYear=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"prevMonth",{get:function(){return this._prevMonth},set:function(t){if("string"!=typeof t)throw new TypeError("Previous Month text must be a string");this._prevMonth=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextMonth",{get:function(){return this._nextMonth},set:function(t){if("string"!=typeof t)throw new TypeError("Next Month text must be a string");this._nextMonth=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"months",{get:function(){return this._months},set:function(t){if(12!==t.length)throw new RangeError("There must be 12 months for "+this.language+" language");this._months=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"monthsAbbr",{get:function(){return this._monthsAbbr},set:function(t){if(12!==t.length)throw new RangeError("There must be 12 abbreviated months for "+this.language+" language");this._monthsAbbr=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"days",{get:function(){return this._days},set:function(t){if(7!==t.length)throw new RangeError("There must be 7 days for "+this.language+" language");this._days=t},enumerable:!0,configurable:!0}),t}(),tn=new Qe("English",["January","February","March","April","May","June","July","August","September","October","November","December"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),en=new Qe("French",["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],["Janv.","Févr.","Mars","Avr.","Mai","Juin","Juill.","Août","Sept.","Oct.","Nov.","Déc."],["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"]),nn={en:tn,fr:en},an={useUtc:!1,getFullYear:function(t){return this.useUtc?t.getUTCFullYear():t.getFullYear()},getMonth:function(t){return this.useUtc?t.getUTCMonth():t.getMonth()},getDate:function(t){return this.useUtc?t.getUTCDate():t.getDate()},getDay:function(t){return this.useUtc?t.getUTCDay():t.getDay()},getHours:function(t){return this.useUtc?t.getUTCHours():t.getHours()},getMinutes:function(t){return this.useUtc?t.getUTCMinutes():t.getMinutes()},setFullYear:function(t,e){return this.useUtc?t.setUTCFullYear(e):t.setFullYear(e)},setMonth:function(t,e){return this.useUtc?t.setUTCMonth(e):t.setMonth(e)},setDate:function(t,e){return this.useUtc?t.setUTCDate(e):t.setDate(e)},compareDates:function(t,e){var n=new Date(t.getTime()),i=new Date(e.getTime());return this.useUtc?(n.setUTCHours(0,0,0,0),i.setUTCHours(0,0,0,0)):(n.setHours(0,0,0,0),i.setHours(0,0,0,0)),n.getTime()===i.getTime()},isValidDate:function(t){return"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(t.getTime())},getDayNameAbbr:function(t,e){if("object"!=typeof t)throw TypeError("Invalid Type");return e[this.getDay(t)]},getMonthName:function(t,e){if(!e)throw Error("missing 2nd parameter Months array");if("object"==typeof t)return e[this.getMonth(t)];if("number"==typeof t)return e[t];throw TypeError("Invalid type")},getMonthNameAbbr:function(t,e){if(!e)throw Error("missing 2nd paramter Months array");if("object"==typeof t)return e[this.getMonth(t)];if("number"==typeof t)return e[t];throw TypeError("Invalid type")},daysInMonth:function(t,e){return/8|3|5|10/.test(e)?30:1===e?(t%4||!(t%100))&&t%400?28:29:31},getNthSuffix:function(t){switch(t){case 1:case 21:case 31:return"st";case 2:case 22:return"nd";case 3:case 23:return"rd";default:return"th"}},formatDate:function(t,e,n){n=n||tn;var i=this.getFullYear(t),a=this.getMonth(t)+1,o=this.getDate(t);return e.replace(/dd/,("0"+o).slice(-2)).replace(/d/,o).replace(/yyyy/,i).replace(/yy/,String(i).slice(2)).replace(/MMMM/,this.getMonthName(this.getMonth(t),n.months)).replace(/MMM/,this.getMonthNameAbbr(this.getMonth(t),n.monthsAbbr)).replace(/MM/,("0"+a).slice(-2)).replace(/M(?!a|ä|e)/,a).replace(/su/,this.getNthSuffix(this.getDate(t))).replace(/D(?!e|é|i)/,this.getDayNameAbbr(t,n.days))},createDateArray:function(t,e){for(var n=[];t<=e;)n.push(new Date(t)),t=this.setDate(new Date(t),this.getDate(new Date(t))+1);return n},validateDateInput:function(t){return null===t||t instanceof Date||"string"==typeof t||"number"==typeof t}},on=function(t){return Object.assign({},an,{useUtc:t})},rn=Object.assign({},an),sn=function(){function t(t,n,i,a,o){this.idService=t,this.tabTrap=n,this._eref=i,this.cdr=a,this.controlDirective=o,this.format="dd MMM yyyy",this.typeable=!0,this.required=!1,this.placeholder="",this.helpText="",this.minimumView="day",this.maximumView="year",this.language="en",this.fullMonthName=!0,this.size="medium",this.selected=new e.EventEmitter,this.onInput=new e.EventEmitter,this.cleared=new e.EventEmitter,this.selectedDisabled=new e.EventEmitter,this.changedMonth=new e.EventEmitter,this.changedYear=new e.EventEmitter,this.closed=new e.EventEmitter,this.opened=new e.EventEmitter,this.inputTextUpdate=new e.EventEmitter,this.onFocusOut=new e.EventEmitter,this.startDate=this.openDate?new Date(this.openDate):new Date,this.showDayView=!1,this.showMonthView=!1,this.showYearView=!1,this.pageTimestamp=rn.setDate(this.startDate,1),this.clickListener=this.clickOutside.bind(this),this.onChange=function(t){},this.onTouched=function(){},this.id=this.id?this.id:this.idService.generate(),this.controlDirective&&(o.valueAccessor=this)}return t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.calendarStyle=function(){return{position:this.isInline()?"static":void 0}},t.prototype.isInline=function(){return!!this.inline},t.prototype.isOpen=function(){return this.showDayView||this.showMonthView||this.showYearView},t.prototype.computedInitialView=function(){return this.initialView?this.initialView:this.minimumView},t.prototype.setInvalid=function(){return this.controlDirective?this.controlDirective.invalid:this.ariaInvalid},t.prototype.isRtl=function(){return!0===this.translation().rtl},t.prototype.dayCalendar=function(){return this.pickerDay.dayContainer.nativeElement},t.prototype.monthCalendar=function(){return this.pickerMonth.monthContainer.nativeElement},t.prototype.yearCalendar=function(){return this.pickerYear.yearContainer.nativeElement},t.prototype.pageDate=function(){return new Date(this.pageTimestamp)},t.prototype.translation=function(){return"fr"===this.language?nn.fr:nn.en},t.prototype.ngOnInit=function(){this.openDate=rn.validateDateInput(this.openDate),this.init()},t.prototype.setDisabledState=function(t){this.disabled=t,this.cdr.detectChanges()},t.prototype.writeValue=function(t){this.selectedDate=t,this.value=this.selectedDate,this.cdr.detectChanges()},t.prototype.resetDefaultPageDate=function(){null!==this.selectedDate?this.setPageDate(this.selectedDate):this.setPageDate()},t.prototype.showCalendar=function(t){var e=this;return!e.disabled&&!e.isInline()&&(e.isOpen()?e.close(!0):(e.setInitialView(t),void(e.isInline()||(document.addEventListener("click",this.clickListener),document.addEventListener("keydown",this.clickListener),this.opened.emit()))))},t.prototype.setInitialView=function(t){var e=this;switch(this.computedInitialView()){case"year":e.showYearCalendar(t);break;case"month":e.showMonthCalendar(t);break;default:e.showDayCalendar(t)}},t.prototype.allowedToShowView=function(t){var e=["day","month","year"],n=e.indexOf(this.minimumView),i=e.indexOf(this.maximumView),a=e.indexOf(t);return a>=n&&a<=i},t.prototype.showDayCalendar=function(t){var e=this;return!!this.allowedToShowView("day")&&(this.close(),this.showDayView=!0,window.removeEventListener("keydown",(function(t){e.tabTrap.$_TabTrap_trap(t,e.monthCalendar())})),window.removeEventListener("keydown",(function(t){e.tabTrap.$_TabTrap_trap(t,e.yearCalendar())})),window.addEventListener("keydown",(function(t){e.tabTrap.$_TabTrap_trap(t,e.dayCalendar())})),void 0!==t&&void 0!==t.click&&!0===t.click||setTimeout((function(){e.dayCalendar().querySelectorAll(".rbc-datepicker-calendar-cell.rbc-datepicker-calendar-cell-day [role=button]")[0].focus()})),!0)},t.prototype.showMonthCalendar=function(t){var e=this;return!!this.allowedToShowView("month")&&(this.close(),this.showMonthView=!0,window.removeEventListener("keydown",(function(t){e.tabTrap.$_TabTrap_trap(t,e.dayCalendar())})),window.removeEventListener("keydown",(function(t){e.tabTrap.$_TabTrap_trap(t,e.yearCalendar())})),window.addEventListener("keydown",(function(t){e.tabTrap.$_TabTrap_trap(t,e.monthCalendar())})),void 0!==t&&void 0!==t.click&&!0===t.click||setTimeout((function(){return e.monthCalendar().querySelectorAll(".rbc-datepicker-calendar-cell.rbc-datepicker-calendar-cell-month[role=button]")[0].focus()})),!0)},t.prototype.showYearCalendar=function(t){var e=this;return!!this.allowedToShowView("year")&&(this.close(),this.showYearView=!0,window.removeEventListener("keydown",(function(t){e.tabTrap.$_TabTrap_trap(t,e.dayCalendar())})),window.removeEventListener("keydown",(function(t){e.tabTrap.$_TabTrap_trap(t,e.monthCalendar())})),window.addEventListener("keydown",(function(t){e.tabTrap.$_TabTrap_trap(t,e.yearCalendar())})),void 0!==t&&void 0!==t.click&&!0===t.click||setTimeout((function(){return e.yearCalendar().querySelectorAll(".rbc-datepicker-calendar-cell.rbc-datepicker-calendar-cell-year[role=button]")[0].focus()})),!0)},t.prototype.setDate=function(t){var e=new Date(t);this.selectedDate=e,this.setPageDate(e),this.selected.emit(e),this.onInput.emit(e),this.value=this.selectedDate,this.onChange(e)},t.prototype.clearDate=function(){this.selectedDate=null,this.setPageDate(null),this.selected.emit(null),this.onInput.emit(null),this.value=this.selectedDate,this.onChange(null),this.cleared.emit()},t.prototype.selectDate=function(t){this.setDate(t.timestamp),this.isInline()||this.close(!0),this.resetTypedDate=new Date},t.prototype.selectDisabledDate=function(t){this.selectedDisabled.emit(t)},t.prototype.selectMonth=function(t){var e=new Date(t.timestamp);this.allowedToShowView("day")?(this.setPageDate(e),this.changedMonth.emit(t),this.showDayCalendar()):(this.setDate(e),this.isInline()||this.close(!0))},t.prototype.selectYear=function(t){var e=new Date(t.timestamp);this.allowedToShowView("month")?(this.setPageDate(e),this.changedYear.emit(t),this.showMonthCalendar()):(this.setDate(e),this.isInline()||this.close(!0))},t.prototype.setValue=function(t){if("string"==typeof t||"number"==typeof t){var e=new Date(t);t=isNaN(e.valueOf())?null:e}if(!t)return this.setPageDate(),void(this.selectedDate=null);this.selectedDate=t,this.setPageDate(t)},t.prototype.setPageDate=function(t){t||(t=this.openDate?new Date(this.openDate):new Date),this.pageTimestamp=rn.setDate(new Date(t),1)},t.prototype.handleChangedMonthFromDayPicker=function(t){this.setPageDate(t),this.changedMonth.emit(t)},t.prototype.setTypedDate=function(t){this.setDate(t.getTime())},t.prototype.close=function(t){this.isInline()||(this.showDayView=this.showMonthView=this.showYearView=!1,t&&(this.closed.emit(),this.cdr.detectChanges(),document.removeEventListener("click",this.clickListener),document.removeEventListener("keydown",this.clickListener)))},t.prototype.clickOutside=function(t){t.key&&-1!==t.key.toLowerCase().indexOf("esc")&&this.close(!0),this._eref.nativeElement.contains(t.target)||this.close(!0)},t.prototype.init=function(){this.value&&this.setValue(this.value),this.isInline()&&this.setInitialView()},t.prototype.onFocusout=function(t){if(this.selectedDate&&this.pickerDay.dayContainer)rn.getDate(this.selectedDate);this.onFocusOut.emit(t)},t}();sn.decorators=[{type:e.Component,args:[{selector:"rbc-datepicker",template:'<div\n\t[id]="id +\'datepicker-wrapper\'"\n\tclass="vdp-datepicker rbc-datepicker"\n\t[ngClass]="[\'rbc-datepicker-\'+size, isRtl() ? \'rtl\' : \'\']"\n\t#container\n>\n\t<rbc-datepicker-input\n\t\t[id]="id"\n\t\t[attr.aria-describedby]="ariaDescribedby"\n\t\t[attr.aria-expanded]="showDayView || showMonthView || showYearView"\n\t\t[attr.aria-label]="label ? label : ariaLabel"\n\t\t[attr.aria-labelledby]="ariaLabelledby"\n\t\t[clearButton]="clearButton"\n\t\t[clearButtonIcon]="clearButtonIcon"\n\t\t[bootstrapStyling]="bootstrapStyling"\n\t\t[disabled]="disabled"\n\t\t[errorLabel]="errorLabel"\n\t\t[format]="format"\n\t\t[helpText]="helpText"\n\t\t[inline]="inline"\n\t\t[inputClass]="inputClass"\n\t\t[label]="label"\n\t\t[name]="name"\n\t\t[placeholder]="placeholder"\n\t\t[(ngModel)]="value"\n\t\t[required]="required"\n\t\t[attr.aria-invalid]="setInvalid()"\n\t\t[showRequired]="showRequired"\n\t\t[resetTypedDate]="resetTypedDate"\n\t\t[selectedDate]="selectedDate"\n\t\t[translation]="translation()"\n\t\t[typeable]="typeable"\n\t\t[useUtc]="useUtc"\n\t\t(showCalendarEmit)="showCalendar($event)"\n\t\t(closeCalendarEmit)="close()"\n\t\t(typedDateEmit)="setTypedDate($event)"\n\t\t(clear)="clearDate()"\n\t\t(inputTextUpdate)="inputTextUpdate.emit($event)"\n\t\t(onFocusOut)="onFocusout($event)"\n\t\t>\n\t</rbc-datepicker-input>\n\n\t\x3c!-- Day View --\x3e\n\t<rbc-datepicker-day\n\t\t#pickerDay\n\t\t[id]="id + \'PickerDay\'"\n\t\t[pageDate]="pageDate()"\n\t\t[selectedDate]="selectedDate"\n\t\t[showDayView]="showDayView"\n\t\t[fullMonthName]="fullMonthName"\n\t\t[allowedToShowView]="allowedToShowView(\'month\')"\n\t\t[disabledDates]="disabledDates"\n\t\t[highlighted]="highlighted"\n\t\t[calendarClass]="calendarClass"\n\t\t[calendarStyle]="calendarStyle()"\n\t\t[translation]="translation()"\n\t\t[pageTimestamp]="pageTimestamp"\n\t\t[isRtl]="isRtl()"\n\t\t[mondayFirst]="mondayFirst"\n\t\t[dayCellContent]="dayCellContent"\n\t\t[useUtc]="useUtc"\n\t\t(changeMonthEmit)="handleChangedMonthFromDayPicker($event)"\n\t\t(selectDateEmit)="selectDate($event)"\n\t\t(showMonthCalendarEmit)="showMonthCalendar($event)"\n\t\t(selectedDisabled)="selectDisabledDate($event)">\n\t</rbc-datepicker-day>\n\n\t\x3c!-- Month View --\x3e\n\t<rbc-datepicker-month\n\t\t#pickerMonth\n\t\t[id]="id + \'PickerMonth\'"\n\t\t[pageDate]="pageDate()"\n\t\t[selectedDate]="selectedDate"\n\t\t[showMonthView]="showMonthView"\n\t\t[allowedToShowView]="allowedToShowView(\'year\')"\n\t\t[disabledDates]="disabledDates"\n\t\t[calendarClass]="calendarClass"\n\t\t[calendarStyle]="calendarStyle()"\n\t\t[translation]="translation()"\n\t\t[isRtl]="isRtl()"\n\t\t[useUtc]="useUtc"\n\t\t(selectMonthEmit)="selectMonth($event)"\n\t\t(calendarShowYear)="showYearCalendar($event)"\n\t\t(yearChanged)="setPageDate($event)"\n\t>\n\t</rbc-datepicker-month>\n\n\t<rbc-datepicker-year\n\t\t#pickerYear\n\t\t[id]="id + \'PickerYear\'"\n\t\t[pageDate]="pageDate()"\n\t\t[selectedDate]="selectedDate"\n\t\t[showYearView]="showYearView"\n\t\t[disabledDates]="disabledDates"\n\t\t[calendarClass]="calendarClass"\n\t\t[calendarStyle]="calendarStyle()"\n\t\t[translation]="translation()"\n\t\t[isRtl]="isRtl()"\n\t\t[useUtc]="useUtc"\n\t\t(selectYearEmit)="selectYear($event)"\n\t\t(changedDecadeEmit)="setPageDate($event)"\n\t>\n\t</rbc-datepicker-year>\n</div>\n',encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.OnPush}]}],sn.ctorParameters=function(){return[{type:h},{type:ae},{type:e.ElementRef},{type:e.ChangeDetectorRef},{type:a.NgControl,decorators:[{type:e.Optional},{type:e.Self}]}]},sn.propDecorators={id:[{type:e.Input}],selectedDate:[{type:e.Input}],format:[{type:e.Input}],useUtc:[{type:e.Input}],typeable:[{type:e.Input}],bootstrapStyling:[{type:e.Input}],inputClass:[{type:e.Input}],required:[{type:e.Input}],showRequired:[{type:e.Input}],placeholder:[{type:e.Input}],resetTypedDate:[{type:e.Input}],disabled:[{type:e.Input}],errorLabel:[{type:e.Input}],helpText:[{type:e.Input}],inline:[{type:e.Input}],initialView:[{type:e.Input}],minimumView:[{type:e.Input}],maximumView:[{type:e.Input}],openDate:[{type:e.Input}],value:[{type:e.Input}],label:[{type:e.Input}],language:[{type:e.Input}],fullMonthName:[{type:e.Input}],clearButton:[{type:e.Input}],clearButtonIcon:[{type:e.Input}],mondayFirst:[{type:e.Input}],disabledDates:[{type:e.Input}],highlighted:[{type:e.Input}],calendarClass:[{type:e.Input}],dayCellContent:[{type:e.Input}],name:[{type:e.Input}],size:[{type:e.Input}],ariaDescribedby:[{type:e.Input}],ariaLabel:[{type:e.Input}],ariaLabelledby:[{type:e.Input}],ariaInvalid:[{type:e.Input}],selected:[{type:e.Output}],onInput:[{type:e.Output}],cleared:[{type:e.Output}],selectedDisabled:[{type:e.Output}],changedMonth:[{type:e.Output}],changedYear:[{type:e.Output}],closed:[{type:e.Output}],opened:[{type:e.Output}],inputTextUpdate:[{type:e.Output}],onFocusOut:[{type:e.Output}],container:[{type:e.ViewChild,args:["container",{static:!1}]}],pickerDay:[{type:e.ViewChild,args:["pickerDay",{static:!0}]}],pickerMonth:[{type:e.ViewChild,args:["pickerMonth",{static:!1}]}],pickerYear:[{type:e.ViewChild,args:["pickerYear",{static:!1}]}]};var ln=function(){function t(t,n,i){this.idService=t,this.controlDirective=n,this.cdr=i,this.typeable=!0,this.required=!1,this.placeholder="",this.helpText="",this.label="",this.name="",this.ariaExpanded=!1,this.clear=new e.EventEmitter,this.typedDateEmit=new e.EventEmitter,this.closeCalendarEmit=new e.EventEmitter,this.onFocus=new e.EventEmitter,this.onFocusOut=new e.EventEmitter,this.showCalendarEmit=new e.EventEmitter,this.inputTextUpdate=new e.EventEmitter,this.errorEnabled=!1,this.isMobile=!1,this.constructedDateUtils=on(this.useUtc),this.utils=this.constructedDateUtils,this.input=null,this.accessedByClick=!1,this.ariaExplanationEnabled=!1,this.defaultError="Please pick a valid date",this.onChange=function(t){},this.onTouched=function(){},this.id=this.id?this.id:this.idService.generate(),this.controlDirective&&(n.valueAccessor=this)}return t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.ngOnInit=function(){void 0===this.inputValue&&(this.value="")},t.prototype.ngAfterViewInit=function(){this.input=this.control.nativeElement,this.typedDate=!1},Object.defineProperty(t.prototype,"inputValue",{get:function(){return this.formattedValue()},set:function(t){this.value=t},enumerable:!0,configurable:!0}),t.prototype.showCalendar=function(t){void 0===t&&(t=!1),t&&(this.accessedByClick=!0),this.isMobile||this.showCalendarEmit.emit({click:t})},t.prototype.isEmpty=function(){return null==this.selectedDate},t.prototype.error=function(){return!!(this.required&&this.isEmpty()&&this.errorEnabled)},t.prototype.computedInputClass=function(){return this.bootstrapStyling?"string"==typeof this.inputClass?[this.inputClass,"form-control"].join(" "):Object.assign({"form-control":!0},this.inputClass):this.inputClass},t.prototype.formattedValue=function(){return this.selectedDate?this.typedDate?this.typedDate:"function"==typeof this.format?this.format(this.selectedDate):this.isMobile?this.utils.formatDate(new Date(this.selectedDate),"yyyy-MM-dd",this.translation):this.utils.formatDate(new Date(this.selectedDate),this.format,this.translation):null},t.prototype.parseTypedDate=function(t){if([27,13].includes(t.keyCode))return this.typedDate=null,this.input.blur(),void this.cdr.detectChanges();if(this.typeable){var e=Date.parse(this.input.value);isNaN(e)||(this.typedDate=this.input.value,this.typedDateEmit.emit(new Date(this.typedDate))),this.inputTextUpdate.emit(this.input.value)}},t.prototype.inputBlurred=function(){this.errorEnabled=!0,this.accessedByClick||(this.ariaExplanationEnabled=!this.ariaExplanationEnabled,this.typeable||this.closeCalendarEmit.emit(),this.accessedByClick=!1),this.typeable&&(isNaN(Date.parse(this.input.value))&&this.clear.emit(),this.typedDate=null,this.closeCalendarEmit.emit())},t.prototype.clearDate=function(t){void 0===t||-1===t.type.indexOf("click")&&-1===t.key.toLowerCase().indexOf("space")&&-1===t.key.toLowerCase().indexOf("enter")||this.clear.emit()},t.prototype.writeValue=function(t){this.inputValue=t,this.cdr.detectChanges()},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.prototype.clearInput=function(){this.writeValue(""),this.clear.emit("")},t.prototype.inputFocused=function(t){this.isMobile||(this.ariaExplanationEnabled=!0),this.onFocus.emit(t.target.value)},t.prototype.inputFocusOut=function(t){this.onFocusOut.emit(t)},t}();ln.decorators=[{type:e.Component,args:[{selector:"rbc-datepicker-input",template:'<div\n\t[ngClass]="{\n\t\terror: error(),\n\t\tdisabled: disabled,\n\t\t\'rbc-datepicker-input-mobile\': isMobile\n\t}"\n\tclass="rbc-datepicker-input"\n>\n\t<div class="rbc-datepicker-input-wrap">\n\t\t\x3c!-- Calendar Button --\x3e\n\t\t\x3c!-- Input --\x3e\n\t\t<rbc-label\n\t\t\t*ngIf="label"\n\t\t\t[id]="id + \'Label\'"\n\t\t\t[attr.for]="id"\n\t\t\t[required]="required && showRequired"\n\t\t\t[text]="label">\n\t\t</rbc-label>\n\t\t\x3c!-- Help text --\x3e\n\t\t<rbc-help-text\n\t\t\t*ngIf="helpText"\n\t\t\t[text]="helpText"\n\t\t\t[id]="id + \'HelpText\'"\n\t\t></rbc-help-text>\n\n\t\t<input\n\t\t\t*ngIf="isMobile; else nonMobile"\n\t\t\t[id]="id"\n\t\t\t[attr.aria-describedby]="ariaDescribedby"\n\t\t\t[attr.aria-label]="label ? label : ariaLabel"\n\t\t\t[attr.aria-labelledby]="ariaLabelledby ? ariaLabelledby : id + \'Label\'"\n\t\t\t[attr.aria-invalid]="invalid"\n\t\t\t[ngClass]="computedInputClass()"\n\t\t\t[disabled]="disabled"\n\t\t\t[name]="name"\n\t\t\t[placeholder]="placeholder"\n\t\t\t[required]="required"\n\t\t\t[(ngModel)]="value"\n\t\t\ttype="date"\n\t\t\tclass="rbc-datepicker-control"\n\t\t\t[readonly]="!typeable"\n\t\t\t(blur)="inputBlurred()"\n\t\t\t(input)="parseTypedDate($event)"\n\t\t\t(focus)="inputFocused($event)"\n\t\t\t(focusout)="inputFocusOut($event)"\n\t\t/>\n\t\t<ng-template #nonMobile>\n\t\t\t<input\n\t\t\t\t#control\n\t\t\t\t[id]="id"\n\t\t\t\tautocomplete="off"\n\t\t\t\t[attr.aria-describedby]="ariaDescribedby"\n\t\t\t\t[attr.aria-label]="label ? label : ariaLabel"\n\t\t\t\t[attr.aria-labelledby]="ariaLabelledby ? ariaLabelledby : id + \'Label\'"\n\t\t\t\t[attr.aria-invalid]="invalid"\n\t\t\t\t[ngClass]="computedInputClass()"\n\t\t\t\t[disabled]="disabled"\n\t\t\t\t[name]="name"\n\t\t\t\t[placeholder]="placeholder"\n\t\t\t\t[required]="required"\n\t\t\t\t[readonly]="!typeable"\n\t\t\t\t[type]="inline ? \'hidden\' : \'text\'"\n\t\t\t\t[value]="formattedValue()"\n\t\t\t\tclass="rbc-datepicker-control"\n\t\t\t\t(blur)="inputBlurred()"\n\t\t\t\t(click)="showCalendar(true)"\n\t\t\t\t(focus)="inputFocused($event)"\n\t\t\t\t(keydown.enter)="showCalendar()"\n\t\t\t\t(keyup)="parseTypedDate($event)"\n\t\t\t\t(focusout)="inputFocusOut($event)"\n\t\t\t/>\n\t\t</ng-template>\n\t\t<span\n\t\t\t[id]="id+\'ClearButton\'"\n\t\t\t*ngIf="clearButton && inputValue && !isMobile"\n\t\t\t[ngClass]="{ \'input-group-addon\': bootstrapStyling }"\n\t\t\tclass="rbc-datepicker-clear-button"\n\t\t\trole="button"\n\t\t\ttabindex="0"\n\t\t\t[attr.aria-label]="\'Clear date\'"\n\t\t\t(click)="clearDate($event)"\n\t\t\t(keydown)="clearDate($event)">\n\t\t\t<rbc-icon\n\t\t\t\t[id]="id+\'ClearIcon\'"\n\t\t\t\t[attr.aria-hidden]="true"\n\t\t\t\tclass="rbc-datepicker-clear-icon"\n\t\t\t\ticon="times"\n\t\t\t></rbc-icon>\n\t\t</span>\n\t\t<span\n\t\t\t[id]="id+\'OpenButton\'"\n\t\t\t[attr.aria-expanded]="ariaExpanded"\n\t\t\t[ngStyle]="{ \'cursor:not-allowed;\': disabled }"\n\t\t\tclass="rbc-datepicker-calendar-button"\n\t\t\t(click)="showCalendar()">\n\t\t\t<rbc-icon\n\t\t\t\t[id]="id+\'OpenIcon\'"\n\t\t\t\t[attr.aria-hidden]="true"\n\t\t\t\tclass="rbc-datepicker-calendar-icon"\n\t\t\t\ticon="calendar"\n\t\t\t\ttype="light"\n\t\t\t></rbc-icon>\n\t\t\t<button [disabled]="disabled" type="button" class="sr-only">Open calendar</button>\n\t\t</span>\n\t</div>\n\n\t<rbc-status\n\t\t*ngIf="error()"\n\t\t[id]="id + \'Status\'"\n\t\t[text]="errorLabel || defaultError"\n\t\t[type]="\'danger\'">\n\t</rbc-status>\n\n\t<span\n\t\t*ngIf="ariaExplanationEnabled"\n\t\t[attr.aria-live]="\'assertive\'"\n\t\tclass="sr-only"\n\t>\n\t\tYou can type the date in literal form or using numbers following your\n\t\tregion format.\n\t</span>\n</div>\n',encapsulation:e.ViewEncapsulation.None}]}],ln.ctorParameters=function(){return[{type:h},{type:a.NgControl,decorators:[{type:e.Optional},{type:e.Self}]},{type:e.ChangeDetectorRef}]},ln.propDecorators={id:[{type:e.Input}],selectedDate:[{type:e.Input}],format:[{type:e.Input}],useUtc:[{type:e.Input}],translation:[{type:e.Input}],value:[{type:e.Input}],typeable:[{type:e.Input}],bootstrapStyling:[{type:e.Input}],inputClass:[{type:e.Input}],required:[{type:e.Input}],invalid:[{type:e.Input}],showRequired:[{type:e.Input}],placeholder:[{type:e.Input}],resetTypedDate:[{type:e.Input}],disabled:[{type:e.Input}],errorLabel:[{type:e.Input}],helpText:[{type:e.Input}],inline:[{type:e.Input}],label:[{type:e.Input}],name:[{type:e.Input}],clearButton:[{type:e.Input}],clearButtonIcon:[{type:e.Input}],ariaExpanded:[{type:e.Input}],ariaLabel:[{type:e.Input}],ariaLabelledby:[{type:e.Input}],ariaDescribedby:[{type:e.Input}],clear:[{type:e.Output}],typedDateEmit:[{type:e.Output}],closeCalendarEmit:[{type:e.Output}],onFocus:[{type:e.Output}],onFocusOut:[{type:e.Output}],showCalendarEmit:[{type:e.Output}],inputTextUpdate:[{type:e.Output}],control:[{type:e.ViewChild,args:["control",{static:!1}]}]};var cn=function(){function t(t){this.idService=t,this.selectedDisabled=new e.EventEmitter,this.selectDateEmit=new e.EventEmitter,this.showMonthCalendarEmit=new e.EventEmitter,this.changeMonthEmit=new e.EventEmitter,this.constructedDateUtils=on(this.useUtc),this.utils=this.constructedDateUtils,this.math=Math,this.dayCellContent=function(t){return t.date},this.id=t.generate()}return t.prototype.daysOfWeek=function(){if(this.mondayFirst){var t=this.translation.days.slice();return t.push(t.shift()),t}return this.translation.days},t.prototype.blankDays=function(){var t=this.pageDate,e=this.useUtc?new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),1)):new Date(t.getFullYear(),t.getMonth(),1,t.getHours(),t.getMinutes());return this.mondayFirst?this.utils.getDay(e)>0?this.utils.getDay(e)-1:6:this.utils.getDay(e)},t.prototype.days=function(){for(var t=this.pageDate,e=[],n=this.useUtc?new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),1)):new Date(t.getFullYear(),t.getMonth(),1,t.getHours(),t.getMinutes()),i=this.utils.daysInMonth(this.utils.getFullYear(n),this.utils.getMonth(n)),a=0;a<i;a++)e.push({date:this.utils.getDate(n),timestamp:n.getTime(),isSelected:this.isSelectedDate(n),isDisabled:this.isDisabledDate(n),isHighlighted:this.isHighlightedDate(n),isHighlightStart:this.isHighlightStart(n),isHighlightEnd:this.isHighlightEnd(n),isToday:this.utils.compareDates(n,new Date),isWeekend:0===this.utils.getDay(n)||6===this.utils.getDay(n),isSaturday:6===this.utils.getDay(n),isSunday:0===this.utils.getDay(n)}),this.utils.setDate(n,this.utils.getDate(n)+1);return e},t.prototype.currMonthName=function(){var t=this.fullMonthName?this.translation.months:this.translation.monthsAbbr;this.translation;return this.utils.getMonthNameAbbr(this.utils.getMonth(this.pageDate),t)},t.prototype.currYearName=function(){var t=this.translation.yearSuffix;return""+this.utils.getFullYear(this.pageDate)+t},t.prototype.isYmd=function(){return this.translation.ymd&&!0===this.translation.ymd},t.prototype.isLeftNavDisabled=function(){return this.isRtl?this.isNextMonthDisabled(this.pageTimestamp):this.isPreviousMonthDisabled(this.pageTimestamp)},t.prototype.isRightNavDisabled=function(){return this.isRtl?this.isPreviousMonthDisabled(this.pageTimestamp):this.isNextMonthDisabled(this.pageTimestamp)},t.prototype.selectDate=function(t){if(t.isDisabled)return this.selectedDisabled.emit(t),!1;this.selectDateEmit.emit(t)},t.prototype.getPageMonth=function(){return this.utils.getMonth(this.pageDate)},t.prototype.showMonthCalendar=function(){this.showMonthCalendarEmit.emit()},t.prototype.changeMonth=function(t){var e=this.pageDate;this.utils.setMonth(e,this.utils.getMonth(e)+t),this.changeMonthEmit.emit(e)},t.prototype.previousMonth=function(){this.isPreviousMonthDisabled()||this.changeMonth(-1)},t.prototype.isPreviousMonthDisabled=function(t){if(!this.disabledDates||!this.disabledDates.to)return!1;var e=this.pageDate;return this.utils.getMonth(this.disabledDates.to)>=this.utils.getMonth(e)&&this.utils.getFullYear(this.disabledDates.to)>=this.utils.getFullYear(e)},t.prototype.nextMonth=function(){this.isNextMonthDisabled()||this.changeMonth(1)},t.prototype.isNextMonthDisabled=function(t){if(!this.disabledDates||!this.disabledDates.from)return!1;var e=this.pageDate;return this.utils.getMonth(this.disabledDates.from)<=this.utils.getMonth(e)&&this.utils.getFullYear(this.disabledDates.from)<=this.utils.getFullYear(e)},t.prototype.isSelectedDate=function(t){return this.selectedDate&&this.utils.compareDates(this.selectedDate,t)},t.prototype.isDisabledDate=function(t){var e=this,n=!1;return void 0!==this.disabledDates&&(void 0!==this.disabledDates.dates&&this.disabledDates.dates.forEach((function(i){if(e.utils.compareDates(t,i))return n=!0,!0})),void 0!==this.disabledDates.to&&this.disabledDates.to&&t<this.disabledDates.to&&(n=!0),void 0!==this.disabledDates.from&&this.disabledDates.from&&t>this.disabledDates.from.setHours(0,0,0,0)&&(n=!0),void 0!==this.disabledDates.ranges&&this.disabledDates.ranges.forEach((function(e){if(void 0!==e.from&&e.from&&void 0!==e.to&&e.to&&t<e.to&&t>e.from)return n=!0,!0})),void 0!==this.disabledDates.days&&-1!==this.disabledDates.days.indexOf(this.utils.getDay(t))&&(n=!0),void 0!==this.disabledDates.daysOfMonth&&-1!==this.disabledDates.daysOfMonth.indexOf(this.utils.getDate(t))&&(n=!0),"function"==typeof this.disabledDates.customPredictor&&this.disabledDates.customPredictor(t)&&(n=!0),n)},t.prototype.isHighlightedDate=function(t){var e=this;if((!this.highlighted||!this.highlighted.includeDisabled)&&this.isDisabledDate(t))return!1;var n=!1;return void 0!==this.highlighted&&(void 0!==this.highlighted.dates&&this.highlighted.dates.forEach((function(i){if(e.utils.compareDates(t,i))return n=!0,!0})),this.isDefined(this.highlighted.from)&&this.isDefined(this.highlighted.to)&&(n=t>=this.highlighted.from&&t<=this.highlighted.to),void 0!==this.highlighted.days&&-1!==this.highlighted.days.indexOf(this.utils.getDay(t))&&(n=!0),void 0!==this.highlighted.daysOfMonth&&-1!==this.highlighted.daysOfMonth.indexOf(this.utils.getDate(t))&&(n=!0),"function"==typeof this.highlighted.customPredictor&&this.highlighted["customPredictor(date)"]&&(n=!0),n)},t.prototype.dayClasses=function(t){return{selected:t.isSelected,disabled:t.isDisabled,highlighted:t.isHighlighted,today:t.isToday,weekend:t.isWeekend,sat:t.isSaturday,sun:t.isSunday,"highlight-start":t.isHighlightStart,"highlight-end":t.isHighlightEnd}},t.prototype.isHighlightStart=function(t){return this.isHighlightedDate(t)&&this.highlighted.from instanceof Date&&this.utils.getFullYear(this.highlighted.from)===this.utils.getFullYear(t)&&this.utils.getMonth(this.highlighted.from)===this.utils.getMonth(t)&&this.utils.getDate(this.highlighted.from)===this.utils.getDate(t)},t.prototype.isHighlightEnd=function(t){return this.isHighlightedDate(t)&&this.highlighted.to instanceof Date&&this.utils.getFullYear(this.highlighted.to)===this.utils.getFullYear(t)&&this.utils.getMonth(this.highlighted.to)===this.utils.getMonth(t)&&this.utils.getDate(this.highlighted.to)===this.utils.getDate(t)},t.prototype.isDefined=function(t){return void 0!==t&&t},t.prototype.rows=function(t){return Array.from({length:t},(function(t,e){return e+1}))},t}();cn.decorators=[{type:e.Component,args:[{selector:"rbc-datepicker-day",template:'<div\n\t#dayContainer\n\t[hidden]="!showDayView"\n\t[id]="id"\n\tclass="rbc-datepicker-calendar"\n\t[ngStyle]="calendarStyle"\n\t(mousedown)="$event.preventDefault()">\n\t<header class="rbc-datepicker-calendar-header">\n\t\t<span\n\t\t\t[id]="id+\'PreviousMonth\'"\n\t\t\t[attr.aria-label]="translation[\'_prevMonth\']"\n\t\t\t[ngClass]="{\n\t\t\t\tdisabled: isRtl\n\t\t\t\t\t? isNextMonthDisabled(pageTimestamp)\n\t\t\t\t\t: isPreviousMonthDisabled(pageTimestamp)\n\t\t\t}"\n\t\t\tclass="rbc-datepicker-calendar-prev"\n\t\t\trole="button"\n\t\t\ttabindex="0"\n\t\t\t(click)="isRtl ? nextMonth() : previousMonth()"\n\t\t\t(keydown.enter)="isRtl ? nextMonth() : previousMonth()">\n\t\t\t<rbc-icon\n\t\t\t\ticon="angle-left"\n\t\t\t\ttype="solid"\n\t\t\t></rbc-icon>\n\t\t</span>\n\t\t<span\n\t\t\t[id]="id+\'AllMonths\'"\n\t\t\t[ngClass]="allowedToShowView ? \'up\' : \'\'"\n\t\t\tclass="rbc-datepicker-calendar-title"\n\t\t\trole="button"\n\t\t\ttabindex="0"\n\t\t\t(click)="showMonthCalendar()"\n\t\t\t(keydown.enter)="showMonthCalendar()">\n\t\t\t{{ isYmd() ? currYearName() : currMonthName() }}\n\t\t\t{{ isYmd() ? currMonthName() : currYearName() }}\n\t\t</span>\n\t\t<span\n\t\t\t[id]="id+\'NextMonth\'"\n\t\t\t[attr.aria-label]="translation[\'_nextMonth\']"\n\t\t\t[ngClass]="{\n\t\t\t\tdisabled: isRtl\n\t\t\t\t\t? isPreviousMonthDisabled(pageTimestamp)\n\t\t\t\t\t: isNextMonthDisabled(pageTimestamp)\n\t\t\t}"\n\t\t\tclass="rbc-datepicker-calendar-next"\n\t\t\trole="button"\n\t\t\ttabindex="0"\n\t\t\t(click)="isRtl ? previousMonth() : nextMonth()"\n\t\t\t(keydown.enter)="isRtl ? previousMonth() : nextMonth()"\n\t\t>\n\t\t\t<rbc-icon\n\t\t\t\ticon="angle-right"\n\t\t\t\ttype="solid"\n\t\t\t></rbc-icon>\n\t\t</span>\n\t</header>\n\n\t<table\n\t\t[ngClass]="isRtl ? \'flex-rtl\' : \'\'"\n\t\tclass="rbc-datepicker-calendar-table"\n\t>\n\t\t<caption class="sr-only">\n\t\t\t{{isYmd() ? currYearName() : currMonthName()}}\n\t\t\t{{isYmd() ? currMonthName() : currYearName()}}\n\t\t</caption>\n\t\t<thead>\n\t\t\t<tr>\n\t\t\t\t<th\n\t\t\t\t\t*ngFor="let d of daysOfWeek()"\n\t\t\t\t\t[attr.key]="d.timestamp"\n\t\t\t\t\tclass="rbc-datepicker-calendar-cell rbc-datepicker-calendar-cell-header"\n\t\t\t\t>\n\t\t\t\t\t{{ d }}\n\t\t\t\t</th>\n\t\t\t</tr>\n\t\t</thead>\n\t\t<tbody>\n\t\t\t<tr\n\t\t\t\t*ngFor="let rowNumber of rows(math.ceil((blankDays() + days().length) / 7))"\n\t\t\t\t[attr.key]="id + \'rowNumber\' + rowNumber"\n\t\t\t>\n\t\t\t\t<ng-container *ngIf="blankDays() > 0 && rowNumber === 1">\n\t\t\t\t\t<td\n\t\t\t\t\t\t*ngFor="let d of rows(blankDays())"\n\t\t\t\t\t\t[attr.key]="d.timestamp"\n\t\t\t\t\t\tclass="rbc-datepicker-calendar-cell rbc-datepicker-calendar-cell-day blank"\n\t\t\t\t\t></td>\n\t\t\t\t</ng-container>\n\t\t\t\t<td\n\t\t\t\t\t*ngFor="\n\t\t\t\t\t\tlet day of days().slice((rowNumber - 1) * 7 - (rowNumber > 1 ? blankDays() : 0),rowNumber * 7 - blankDays())"\n\t\t\t\t\t[attr.key]="day.timestamp"\n\t\t\t\t\tclass="rbc-datepicker-calendar-cell rbc-datepicker-calendar-cell-day"\n\t\t\t\t\t[ngClass]="dayClasses(day)"\n\t\t\t\t>\n\t\t\t\t\t<span\n\t\t\t\t\t\t#daySpan\n\t\t\t\t\t\t[attr.aria-pressed]="day.isSelected"\n\t\t\t\t\t\tclass="rbc-datepicker-calendar-cell-button"\n\t\t\t\t\t\trole="button"\n\t\t\t\t\t\ttabindex="0"\n\t\t\t\t\t\t(mouseup)="selectDate(day)"\n\t\t\t\t\t\t(keydown.enter)="selectDate(day)"\n\t\t\t\t\t>\n\t\t\t\t\t\t{{ day.date }}\n\t\t\t\t\t</span>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</tbody>\n\t</table>\n</div>\n',encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.OnPush}]}],cn.ctorParameters=function(){return[{type:h}]},cn.propDecorators={showDayView:[{type:e.Input}],selectedDate:[{type:e.Input}],pageDate:[{type:e.Input}],pageTimestamp:[{type:e.Input}],fullMonthName:[{type:e.Input}],allowedToShowView:[{type:e.Input}],disabledDates:[{type:e.Input}],highlighted:[{type:e.Input}],calendarClass:[{type:e.Input}],calendarStyle:[{type:e.Input}],translation:[{type:e.Input}],isRtl:[{type:e.Input}],mondayFirst:[{type:e.Input}],id:[{type:e.Input}],useUtc:[{type:e.Input}],selectedDisabled:[{type:e.Output}],selectDateEmit:[{type:e.Output}],showMonthCalendarEmit:[{type:e.Output}],changeMonthEmit:[{type:e.Output}],dayContainer:[{type:e.ViewChild,args:["dayContainer",{static:!1}]}],daySpan:[{type:e.ViewChild,args:["daySpan",{static:!1}]}],dayCellContent:[{type:e.Input}]};var pn=function(){function t(){this.selectMonthEmit=new e.EventEmitter,this.yearChanged=new e.EventEmitter,this.calendarShowYear=new e.EventEmitter,this.constructedDateUtils=on(this.useUtc),this.utils=this.constructedDateUtils}return t.prototype.months=function(){for(var t=this.pageDate,e=[],n=this.useUtc?new Date(Date.UTC(t.getUTCFullYear(),0,t.getUTCDate())):new Date(t.getFullYear(),0,t.getDate(),t.getHours(),t.getMinutes()),i=0;i<12;i++)e.push({month:this.utils.getMonthName(i,this.translation.months),timestamp:n.getTime(),isSelected:this.isSelectedMonth(n),isDisabled:this.isDisabledMonth(n)}),this.utils.setMonth(n,this.utils.getMonth(n)+1);return e},t.prototype.pageYearName=function(){var t=this.translation.yearSuffix;return""+this.utils.getFullYear(this.pageDate)+t},t.prototype.isLeftNavDisabled=function(){return this.isRtl?this.isNextYearDisabled(this.pageTimestamp):this.isPreviousYearDisabled(this.pageTimestamp)},t.prototype.isRightNavDisabled=function(){return this.isRtl?this.isPreviousYearDisabled(this.pageTimestamp):this.isNextYearDisabled(this.pageTimestamp)},t.prototype.selectMonth=function(t){if(t.isDisabled)return!1;this.selectMonthEmit.emit(t)},t.prototype.changeYear=function(t){var e=this.pageDate;this.utils.setFullYear(e,this.utils.getFullYear(e)+t),this.yearChanged.emit(e)},t.prototype.previousYear=function(){this.isPreviousYearDisabled()||this.changeYear(-1)},t.prototype.isPreviousYearDisabled=function(t){return!(!this.disabledDates||!this.disabledDates.to)&&this.utils.getFullYear(this.disabledDates.to)>=this.utils.getFullYear(this.pageDate)},t.prototype.nextYear=function(){this.isNextYearDisabled()||this.changeYear(1)},t.prototype.isNextYearDisabled=function(t){return!(!this.disabledDates||!this.disabledDates.from)&&this.utils.getFullYear(this.disabledDates.from)<=this.utils.getFullYear(this.pageDate)},t.prototype.showYearCalendar=function(){this.calendarShowYear.emit()},t.prototype.isSelectedMonth=function(t){return this.selectedDate&&this.utils.getFullYear(this.selectedDate)===this.utils.getFullYear(t)&&this.utils.getMonth(this.selectedDate)===this.utils.getMonth(t)},t.prototype.isDisabledMonth=function(t){var e=!1;return void 0!==this.disabledDates&&(void 0!==this.disabledDates.to&&this.disabledDates.to&&(this.utils.getMonth(t)<this.utils.getMonth(this.disabledDates.to)&&this.utils.getFullYear(t)<=this.utils.getFullYear(this.disabledDates.to)||this.utils.getFullYear(t)<this.utils.getFullYear(this.disabledDates.to))&&(e=!0),void 0!==this.disabledDates.from&&this.disabledDates.from&&(this.utils.getMonth(t)>this.utils.getMonth(this.disabledDates.from)&&this.utils.getFullYear(t)>=this.utils.getFullYear(this.disabledDates.from)||this.utils.getFullYear(t)>this.utils.getFullYear(this.disabledDates.from))&&(e=!0),"function"==typeof this.disabledDates.customPredictor&&this.disabledDates["customPredictor(date)"]&&(e=!0),e)},t.prototype.prevent=function(t){t.stopPropagation()},t}();pn.decorators=[{type:e.Component,args:[{selector:"rbc-datepicker-month",template:'<div\n\t#monthContainer\n\t[id]="id"\n\t[hidden]="!showMonthView"\n\tclass="rbc-datepicker-calendar"\n\t[ngStyle]="calendarStyle"\n>\n\t<header class="rbc-datepicker-calendar-header">\n\t\t<span\n\t\t\t[id]="id+\'PreviousYear\'"\n\t\t\t[attr.aria-label]="translation[\'_prevYear\']"\n\t\t\t[ngClass]="{ disabled: isPreviousYearDisabled(pageTimestamp) }"\n\t\t\tclass="rbc-datepicker-calendar-prev"\n\t\t\trole="button"\n\t\t\ttabindex="0"\n\t\t\t(keydown.enter)="previousYear()"\n\t\t\t(click)="previousYear()"\n\t\t>\n\t\t\t<rbc-icon\n\t\t\t\ticon="angle-left"\n\t\t\t\ttype="solid"\n\t\t\t></rbc-icon>\n\t\t</span>\n\n\t\t<span\n\t\t\t[id]="id+\'AllYears\'"\n\t\t\t[ngClass]="allowedToShowView ? \'up\' : \'\'"\n\t\t\tclass="rbc-datepicker-calendar-title"\n\t\t\trole="button"\n\t\t\ttabindex="0"\n\t\t\t(keydown.enter)="showYearCalendar()"\n\t\t\t(click)="showYearCalendar()"\n\t\t>\n\t\t\t{{ pageYearName() }}\n\t\t</span>\n\n\t\t<span\n\t\t\t[id]="id+\'NextYear\'"\n\t\t\t[attr.aria-label]="translation[\'_nextYear\']"\n\t\t\t[ngClass]="{ disabled: isNextYearDisabled(pageTimestamp) }"\n\t\t\tclass="rbc-datepicker-calendar-next"\n\t\t\trole="button"\n\t\t\ttabindex="0"\n\t\t\t(keydown.enter)="nextYear()"\n\t\t\t(click)="nextYear()"\n\t\t>\n\t\t\t<rbc-icon\n\t\t\t\ticon="angle-right"\n\t\t\t\ttype="solid"\n\t\t\t></rbc-icon>\n\t\t</span>\n\t</header>\n\t<span\n\t\t*ngFor="let month of months()"\n\t\t[attr.key]="month.timestamp"\n\t\t[ngClass]="{ selected: month.isSelected, disabled: month.isDisabled }"\n\t\tclass="rbc-datepicker-calendar-cell rbc-datepicker-calendar-cell-month"\n\t\trole="button"\n\t\ttabindex="0"\n\t\t(keydown.enter)="selectMonth(month)"\n\t\t(mouseup)="selectMonth(month)"\n\t>\n\t\t{{ month.month }}\n\t</span>\n</div>\n',encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.OnPush}]}],pn.propDecorators={id:[{type:e.Input}],showMonthView:[{type:e.Input}],selectedDate:[{type:e.Input}],pageDate:[{type:e.Input}],pageTimestamp:[{type:e.Input}],allowedToShowView:[{type:e.Input}],disabledDates:[{type:e.Input}],calendarClass:[{type:e.Input}],calendarStyle:[{type:e.Input}],translation:[{type:e.Input}],isRtl:[{type:e.Input}],useUtc:[{type:e.Input}],selectMonthEmit:[{type:e.Output}],yearChanged:[{type:e.Output}],calendarShowYear:[{type:e.Output}],monthContainer:[{type:e.ViewChild,args:["monthContainer",{static:!1}]}]};var dn=function(){function t(){this.selectYearEmit=new e.EventEmitter,this.changedDecadeEmit=new e.EventEmitter,this.constructedDateUtils=on(this.useUtc),this.utils=this.constructedDateUtils}return t.prototype.years=function(){for(var t=this.pageDate,e=[],n=this.useUtc?new Date(Date.UTC(10*Math.floor(t.getUTCFullYear()/10),t.getUTCMonth(),t.getUTCDate())):new Date(10*Math.floor(t.getFullYear()/10),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes()),i=0;i<10;i++)e.push({year:this.utils.getFullYear(n),timestamp:n.getTime(),isSelected:this.isSelectedYear(n),isDisabled:this.isDisabledYear(n)}),this.utils.setFullYear(n,this.utils.getFullYear(n)+1);return e},t.prototype.getPageDecade=function(){var t=10*Math.floor(this.utils.getFullYear(this.pageDate)/10);return t+" - "+(t+9)+this.translation.yearSuffix},t.prototype.isLeftNavDisabled=function(){return this.isRtl?this.isNextDecadeDisabled(this.pageTimestamp):this.isPreviousDecadeDisabled(this.pageTimestamp)},t.prototype.isRightNavDisabled=function(){return this.isRtl?this.isPreviousDecadeDisabled(this.pageTimestamp):this.isNextDecadeDisabled(this.pageTimestamp)},t.prototype.selectYear=function(t){if(t.isDisabled)return!1;this.selectYearEmit.emit(t)},t.prototype.changeYear=function(t){var e=this.pageDate;this.utils.setFullYear(e,this.utils.getFullYear(e)+t),this.changedDecadeEmit.emit(e)},t.prototype.previousDecade=function(){if(this.isPreviousDecadeDisabled())return!1;this.changeYear(-10)},t.prototype.isPreviousDecadeDisabled=function(t){return!(!this.disabledDates||!this.disabledDates.to)&&this.utils.getFullYear(this.disabledDates.to)>10*Math.floor(this.utils.getFullYear(this.pageDate)/10)-1},t.prototype.nextDecade=function(){if(this.isNextDecadeDisabled())return!1;this.changeYear(10)},t.prototype.isNextDecadeDisabled=function(t){return!(!this.disabledDates||!this.disabledDates.from)&&this.utils.getFullYear(this.disabledDates.from)<10*Math.ceil(this.utils.getFullYear(this.pageDate)/10)},t.prototype.isSelectedYear=function(t){return this.selectedDate&&this.utils.getFullYear(this.selectedDate)===this.utils.getFullYear(t)},t.prototype.isDisabledYear=function(t){var e=!1;return!(void 0===this.disabledDates||!this.disabledDates)&&(void 0!==this.disabledDates.to&&this.disabledDates.to&&this.utils.getFullYear(t)<this.utils.getFullYear(this.disabledDates.to)&&(e=!0),void 0!==this.disabledDates.from&&this.disabledDates.from&&this.utils.getFullYear(t)>this.utils.getFullYear(this.disabledDates.from)&&(e=!0),"function"==typeof this.disabledDates.customPredictor&&this.disabledDates["customPredictor(date)"]&&(e=!0),e)},t.prototype.prevent=function(t){t.stopPropagation()},t}();dn.decorators=[{type:e.Component,args:[{selector:"rbc-datepicker-year",template:'<div\n\t#yearContainer\n\t[id]="id"\n\t[hidden]="!showYearView"\n\tclass="rbc-datepicker-calendar"\n\t[ngStyle]="calendarStyle"\n\t(click)="prevent($event)"\n>\n\t<header class="rbc-datepicker-calendar-header">\n\t\t<span\n\t\t\t[id]="id+\'PreviousDecade\'"\n\t\t\t[attr.aria-label]="translation[\'_prevYear\']"\n\t\t\t[ngClass]="{ disabled: isPreviousDecadeDisabled(pageTimestamp) }"\n\t\t\tclass="rbc-datepicker-calendar-prev"\n\t\t\trole="button"\n\t\t\ttabindex="0"\n\t\t\t(keydown.enter)="previousDecade()"\n\t\t\t(click)="previousDecade()"\n\t\t>\n\t\t\t<rbc-icon\n\t\t\t\ticon="angle-left"\n\t\t\t\ttype="solid"\n\t\t\t></rbc-icon>\n\t\t</span>\n\n\t\t<span class="rbc-datepicker-calendar-title">{{ getPageDecade() }}</span>\n\n\t\t<span\n\t\t\t[id]="id+\'NextDecade\'"\n\t\t\t[attr.aria-label]="translation[\'_nextDecade\']"\n\t\t\t[ngClass]="{ disabled: isNextDecadeDisabled(pageTimestamp) }"\n\t\t\tclass="rbc-datepicker-calendar-next"\n\t\t\trole="button"\n\t\t\ttabindex="0"\n\t\t\t(keydown.enter)="nextDecade()"\n\t\t\t(click)="nextDecade()"\n\t\t>\n\t\t\t<rbc-icon\n\t\t\t\ticon="angle-right"\n\t\t\t\ttype="solid"\n\t\t\t></rbc-icon>\n\t\t</span>\n\t</header>\n\t<span\n\t\t*ngFor="let year of years()"\n\t\t[attr.key]="year.timestamp"\n\t\t[ngClass]="{ selected: year.isSelected, disabled: year.isDisabled }"\n\t\tclass="rbc-datepicker-calendar-cell rbc-datepicker-calendar-cell-year"\n\t\trole="button"\n\t\ttabindex="0"\n\t\t(click)="selectYear(year)"\n\t\t(keydown.enter)="selectYear(year)"\n\t>\n\t\t{{ year.year }}\n\t</span>\n</div>\n',encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.OnPush}]}],dn.propDecorators={id:[{type:e.Input}],showYearView:[{type:e.Input}],selectedDate:[{type:e.Input}],pageDate:[{type:e.Input}],pageTimestamp:[{type:e.Input}],disabledDates:[{type:e.Input}],calendarClass:[{type:e.Input}],calendarStyle:[{type:e.Input}],translation:[{type:e.Input}],isRtl:[{type:e.Input}],useUtc:[{type:e.Input}],highlighted:[{type:e.Input}],selectYearEmit:[{type:e.Output}],changedDecadeEmit:[{type:e.Output}],yearContainer:[{type:e.ViewChild,args:["yearContainer",{static:!1}]}]};var un=function(){};un.decorators=[{type:e.NgModule,args:[{declarations:[sn,ln,cn,pn,dn],imports:[n.CommonModule,a.FormsModule,st,ot,ct,f,It],exports:[sn,ln,cn,pn,dn]}]}];var hn=function(){function t(t){this.idService=t,this.locale={paginationDisplayLabel:"Display",paginationPreviousLabel:"Prev",paginationNextLabel:"Next",paginationFirstLabel:"First page",paginationLastLabel:"Last page"},this.paginationDisplay=[5,10,30,50],this.displaySelect=!0,this.onPaginatorButtonClicked=new e.EventEmitter,this.onPageSizeSelectChanged=new e.EventEmitter,this.currentPage=1,this._activePage=1,this.id=this.idService.generate()}return Object.defineProperty(t.prototype,"activePage",{get:function(){return this._activePage},set:function(t){var e=this;t&&t>0&&t<=this.totalPages?this._activePage=t>0?t:1:this._activePage=1,setTimeout((function(){e.$_Paginator_onPageNumberButtonClicked(e._activePage)}))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"pageDisplay",{get:function(){var t=[];if(this.totalPages<=7){for(var e=1;e<=this.totalPages;e++)t.push(e);return t}if(this.currentPage<=4){for(e=1;e<5;e++)t.push(e+1);t=J(t,[null])}else if(this.currentPage>this.totalPages-5+1){var n=this.totalPages-5;for(e=1;e<5;e++)t.push(n+e);t=J([null],t)}else{var i=[],a=Math.round(1.5);for(e=1;e<=3;e++)e<a?i.push(this.currentPage-(a-e)):e>a?i.push(this.currentPage+(e-a)):i.push(this.currentPage);t=J([null],i,[null])}return J([1],t,[this.totalPages])},enumerable:!0,configurable:!0}),t.prototype.displayOptions=function(){var t=this;return this.paginationDisplay.map((function(e,n){return t.paginationDisplayPreselected=t.paginationDisplayPreselected?t.paginationDisplayPreselected:t.paginationDisplay[0],{label:e+"",value:e+"",selected:n===t.paginationDisplayPreselected}}))},t.prototype.ngOnInit=function(){this.activePage&&this.activePage>0&&this.activePage<=this.totalPages&&(this.currentPage=this.activePage),this.options=this.displayOptions()},t.prototype.$_Paginator_onFirstPageButtonClicked=function(){this.currentPage=1,this.onPaginatorButtonClicked.emit({pageNumber:1})},t.prototype.$_Paginator_onPreviousPageButtonClicked=function(){this.currentPage>1&&this.currentPage--,this.onPaginatorButtonClicked.emit({pageNumber:this.currentPage})},t.prototype.$_Paginator_onNextPageButtonClicked=function(){this.currentPage<this.totalPages&&this.currentPage++,this.onPaginatorButtonClicked.emit({pageNumber:this.currentPage})},t.prototype.$_Paginator_onPageNumberButtonClicked=function(t){t&&(this.currentPage=t),this.onPaginatorButtonClicked.emit({pageNumber:this.currentPage})},t.prototype.$_Paginator_onLastPageButtonClicked=function(){this.currentPage=this.totalPages,this.onPaginatorButtonClicked.emit({pageNumber:this.totalPages})},t.prototype.$_Paginator_onPageSizeSelectChange=function(t){this.currentPage=1,this.paginationDisplayPreselected=t,t.value?this.onPageSizeSelectChanged.emit({currentPage:this.currentPage,pageSize:parseInt(t,10)}):this.onPageSizeSelectChanged.emit({currentPage:this.currentPage,pageSize:t})},t}();hn.decorators=[{type:e.Component,args:[{selector:"rbc-paginator",template:'<nav [id]="id" class="rbc-paginator" [attr.aria-label]="\'Pagination \' + id">\n\t<ul class="rbc-paginator-items">\n\t\t<li [id]="id+\'FirstPageButton\'" class="rbc-paginator-item">\n\t\t\t<button\n\t\t\t\tclass="rbc-paginator-button rbc-paginator-button-first link-button"\n\t\t\t\t[attr.aria-label]="locale.paginationFirstLabel || \'First page\'"\n\t\t\t\t[attr.aria-disabled]="currentPage === 1"\n\t\t\t\t[ngClass]="{ disabled: currentPage === 1 }"\n\t\t\t\t[disabled]="currentPage === 1"\n\t\t\t\t(click)="$_Paginator_onFirstPageButtonClicked()"\n\t\t\t>\n\t\t\t\t<rbc-icon icon="step-backward" type="solid"></rbc-icon>\n\t\t\t</button>\n\t\t</li>\n\t\t<li [id]="id +\'PreviousPageButton\'" class="rbc-paginator-item">\n\t\t\t<button\n\t\t\t\tclass="rbc-paginator-button rbc-paginator-button-previous link-button"\n\t\t\t\t[disabled]="currentPage === 1"\n\t\t\t\t[attr.aria-disabled]="currentPage === 1"\n\t\t\t\t[ngClass]="{ disabled: currentPage === 1 }"\n\t\t\t\t(click)="$_Paginator_onPreviousPageButtonClicked()"\n\t\t\t>\n\t\t\t\t{{ locale.paginationPreviousLabel }}\n\t\t\t</button>\n\t\t</li>\n\t\t<li\n\t\t\t*ngFor="let page of pageDisplay; index as index"\n\t\t\t[id]="id + \'Page\' + (page || (\'Mask\' + index)) +\'Button\'"\n\t\t\t[attr.key]="id + index"\n\t\t\tclass="rbc-paginator-item"\n\n\t\t>\n\t\t\t<button\n\t\t\t\t*ngIf="page; else pageLinkTmp"\n\t\t\t\t[attr.aria-pressed]="currentPage === page ? true : null"\n\t\t\t\t[ngClass]="{ active: currentPage === page }"\n\t\t\t\tclass="rbc-paginator-button rbc-paginator-button-number link-button"\n\t\t\t\t(click)="$_Paginator_onPageNumberButtonClicked(page)"\n\t\t\t>\n\t\t\t\t{{ page }}\n\t\t\t</button>\n\t\t\t<ng-template #pageLinkTmp>\n\t\t\t\t<span\n\t\t\t\t\t[attr.aria-hidden]="true"\n\t\t\t\t\tclass="rbc-paginator-button rbc-paginator-button-mask"\n\t\t\t\t\t>...</span>\n\t\t\t</ng-template>\n\t\t</li>\n\n\t\t<li [id]="id+\'NextPageButton\'" class="rbc-paginator-item">\n\t\t\t<button\n\t\t\t\t[attr.aria-disabled]="totalPages === currentPage || totalPages === 0"\n\t\t\t\t[ngClass]="{disabled:totalPages === currentPage || totalPages === 0}"\n\t\t\t\t[disabled]="totalPages === currentPage || totalPages === 0"\n\t\t\t\tclass="rbc-paginator-button rbc-paginator-button-next link-button"\n\t\t\t\t(click)="$_Paginator_onNextPageButtonClicked()"\n\t\t\t>\n\t\t\t\t{{ locale.paginationNextLabel }}\n\t\t\t</button>\n\t\t</li>\n\t\t<li [id]="id+\'LastPageButton\'" class="rbc-paginator-item">\n\t\t\t<button\n\t\t\t\tclass="rbc-paginator-button rbc-paginator-button-last link-button"\n\t\t\t\t[attr.aria-disabled]="totalPages === currentPage || totalPages === 0"\n\t\t\t\t[disabled]="totalPages === currentPage || totalPages === 0"\n\t\t\t\t[ngClass]="{\'disabled\':totalPages === currentPage || totalPages === 0}"\n\t\t\t\t[attr.aria-label]="locale.paginationLastLabel || \'Last page\'"\n\t\t\t\t(click)="$_Paginator_onLastPageButtonClicked()">\n\t\t\t\t<rbc-icon icon="step-forward" type="solid"> </rbc-icon>\n\t\t\t</button>\n\t\t</li>\n\t</ul>\n\t<div *ngIf="displaySelect" class="rbc-paginator-item rbc-paginator-select">\n\t\t<label\n\t\t\t*ngIf="locale[\'paginationDisplayLabel\']"\n\t\t\t[id]="id+\'PaginationSelectLabel\'"\n\t\t\tclass="rbc-paginator-select-label"\n\t\t\t[for]="id+\'PaginationSelect\'">\n\t\t\t{{ locale[\'paginationDisplayLabel\'] }}\n\t\t</label>\n\t\t<rbc-select\n\t\t\t[id]="id + \'PaginationSelect\'"\n\t\t\t[options]="options"\n\t\t\t[ariaLabel]="\'Number of display per page\'"\n\t\t\t[wrapperClass]="\'rbc-paginator-select-control\'"\n\t\t\tsize="small"\n\t\t\t(valueChange)="$_Paginator_onPageSizeSelectChange($event)"\n\t\t\t[(ngModel)]="paginationDisplayPreselected">\n\t\t</rbc-select>\n\t</div>\n</nav>\n'}]}],hn.ctorParameters=function(){return[{type:h}]},hn.propDecorators={totalPages:[{type:e.Input}],locale:[{type:e.Input}],paginationDisplay:[{type:e.Input}],paginationDisplayPreselected:[{type:e.Input}],activePage:[{type:e.Input}],id:[{type:e.Input}],displaySelect:[{type:e.Input}],onPaginatorButtonClicked:[{type:e.Output}],onPageSizeSelectChanged:[{type:e.Output}]};var gn=function(){};gn.decorators=[{type:e.NgModule,args:[{declarations:[hn],imports:[n.CommonModule,a.FormsModule,a.ReactiveFormsModule,Z,f,De],exports:[hn]}]}];var bn={advancedSearchPlaceholder:"Search",columnFilterLabel:"Show/Hide columns:",columnFilterCheckedText:"columns",expandableRowLabel:"Expand row",globalSearchPlaceholder:"Search",sortLabel:"Sort",sortUpLabel:"Sort up",sortDownLabel:"Sort down",paginationPreviousLabel:"Prev.",paginationNextLabel:"Next",paginationFirstLabel:"First page",paginationLastLabel:"Last page",paginationDisplayLabel:"Display",downloadDataAsJSONLabel:"Download data as JSON",downloadDataAsCSVLabel:"Download data as CSV",copyDataLabel:"Copy visible data to clipboard",copiedSuccessfulMessage:"Data copied to clipboard!"};var mn=function(){function t(t){this.idService=t,this.locale=bn,this.onGlobalSearchFocusOut=new e.EventEmitter,this.onGlobalSearchTermUpdate=new e.EventEmitter,this.globalSearchTerm="",this.id=this.idService.generate()}return t.prototype.$_GlobalSearch_focusOut=function(t){this.onGlobalSearchFocusOut.emit({value:t||""})},t.prototype.$_GlobalSearch_inputUpdate=function(t){this.onGlobalSearchTermUpdate.emit({value:t||""})},t.prototype.$_GlobalSearch_reset=function(){this.onGlobalSearchTermUpdate.emit({value:""})},t}();mn.decorators=[{type:e.Component,args:[{selector:"rbc-datatable-global-searcher",template:'<div class="rbc-datatable-global-searcher">\n\t<rbc-input\n\t\t[id]="id + \'GlobalSearchTable\'"\n\t\t[value]="globalSearchTerm"\n\t\t[(ngModel)]="globalSearchTerm"\n\t\t[search]="true"\n\t\ttype="search"\n\t\t[ariaLabel]="locale.globalSearchPlaceholder"\n\t\t[placeholder]="locale.globalSearchPlaceholder"\n\t\tclass="rbc-datatable-global-searcher-input"\n\t\tsize="small"\n\t\t(focusout)="$_GlobalSearch_focusOut(globalSearchTerm)"\n\t\t(onInput)="$_GlobalSearch_inputUpdate($event)"\n\t\t(clear)="$_GlobalSearch_reset()">\n\t</rbc-input>\n</div>\n',encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.OnPush}]}],mn.ctorParameters=function(){return[{type:h}]},mn.propDecorators={locale:[{type:e.Input}],id:[{type:e.Input}],onGlobalSearchFocusOut:[{type:e.Output}],onGlobalSearchTermUpdate:[{type:e.Output}],globalSearchTerm:[{type:e.Input}]};var yn=function(){function t(t){this.idService=t,this.locale=bn,this.host=!0,this.onColumnFilterCheckBoxUpdated=new e.EventEmitter,this.selectedColumns=[],this.id=this.idService.generate()}return Object.defineProperty(t.prototype,"columns",{set:function(t){this.filteredColumns=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"filteredColumns",{get:function(){return this.selectedColumns},set:function(t){this.selectedColumns=this.extendColumns(t)},enumerable:!0,configurable:!0}),t.prototype.onMultiselectUpdate=function(t){this.onColumnFilterCheckBoxUpdated.emit(this.selectedColumns)},t.prototype.extendColumns=function(t){if(t)return t.map((function(t){return Object.assign({label:t.header,value:t.header,disabled:t.isMandatory,selected:t.show},t)}))},t}();yn.decorators=[{type:e.Component,args:[{selector:"rbc-datatable-column-filter",template:'<div>\n\t<span\n\t\t[id]="id+\'ColumnFilterLabel\'"\n\t\tclass="rbc-datatable-columnfilter-title">\n\t\t{{ locale.columnFilterLabel }}\n\t</span>\n\t<rbc-multiselect\n\t\t[id]="id+\'ColumnFilter\'"\n\t\t[options]="filteredColumns"\n\t\t[attr.aria-labelledby]="id+\'ColumnFilterLabel\'"\n\t\t[checkedText]="locale.columnFilterCheckedText"\n\t\t[displayTotal]="true"\n\t\tclass="rbc-datatable-columnfilter-select"\n\t\tsize="small"\n\t\t(selectUpdate)="onMultiselectUpdate($event)"\n\t>\n\t</rbc-multiselect>\n</div>\n',encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.OnPush}]}],yn.ctorParameters=function(){return[{type:h}]},yn.propDecorators={id:[{type:e.Input}],locale:[{type:e.Input}],columns:[{type:e.Input}],host:[{type:e.HostBinding,args:["class.rbc-datatable-columnfilter"]}],onColumnFilterCheckBoxUpdated:[{type:e.Output}]};var fn=function(){function t(t){this.idService=t,this.locale=bn,this.onAdvancedSearchObjectUpdate=new e.EventEmitter,this.advancedSearchTerm="",this._uid=this.idService.generate()}return t.prototype.idGen=function(){return void 0!==this.id?this.id:"rbc-datatable-advanced-searcher-"+this._uid},t.prototype.$_AdvancedSearch_inputUpdate=function(t){this.onAdvancedSearchObjectUpdate.emit({column:this.column,value:t})},t}();fn.decorators=[{type:e.Component,args:[{selector:"rbc-datatable-advanced-searcher",template:'<div class="rbc-datatable-advanced-searcher">\n\t<rbc-input\n\t\t[id]="idGen()"\n\t\t[value]="advancedSearchTerm"\n\t\t[(ngModel)]="advancedSearchTerm"\n\t\ttype="search"\n\t\t[ariaLabel]="column.header + \' \' + locale.advancedSearchPlaceholder"\n\t\t[placeholder]="locale.advancedSearchPlaceholder"\n\t\ttype="text"\n\t\tsize="small"\n\t\t(onInput)="$_AdvancedSearch_inputUpdate($event)">\n\t</rbc-input>\n</div>\n',encapsulation:e.ViewEncapsulation.None,changeDetection:e.ChangeDetectionStrategy.OnPush}]}],fn.ctorParameters=function(){return[{type:h}]},fn.propDecorators={id:[{type:e.Input}],columnIndex:[{type:e.Input}],column:[{type:e.Input}],locale:[{type:e.Input}],onAdvancedSearchObjectUpdate:[{type:e.Output}]};var vn=function(){function t(){}return t.prototype.assertCellType=function(t,e){return"number"!=typeof t&&isNaN(parseInt(t,10))?"string"==typeof t&&isNaN(parseInt(t,10))||"object"!=typeof t?t:t.hasOwnProperty("value")?t.value:e&&t.hasOwnProperty(e)?t.objProp:void 0:t%1==0?"string"==typeof t?parseInt(t,10):t:"string"==typeof t?parseFloat(t):t},t}();vn.decorators=[{type:e.Injectable}],vn.ctorParameters=function(){return[]};var In=function(){function t(t,n,i){this.idService=t,this.changeDetector=n,this.datatableService=i,this.expandableRowArrow=!0,this.paginationDisplay=[5,10,30,50],this.paginationDisplaySelect=!0,this.advancedSearchPlaceholder="Search",this.columnFilterLabel="Show/Hide column:",this.columnFilterCheckedText="columns",this.globalSearchPlaceholder="Search",this.sortLabel="Sort",this.sortUpLabel="Sort up",this.sortDownLabel="Sort down",this.paginationPreviousLabel="Prev.",this.paginationNextLabel="Next",this.paginationDisplayLabel="Display",this.downloadDataAsJSONLabel="Download data as JSON",this.downloadDataAsCSVLabel="Download data as CSV",this.copyDataLabel="Copy visible data to clipboard",this.copiedSuccessfulMessage="Data copied to clipboard!",this.onColumnsChanged=new e.EventEmitter,this.onPageSizeSelectChanged=new e.EventEmitter,this.onRowSelected=new e.EventEmitter,this.onRowDeslected=new e.EventEmitter,this.onAllRowsSelected=new e.EventEmitter,this.onAllRowsDeselcted=new e.EventEmitter,this.onPaginatorButtonClicked=new e.EventEmitter,this.onSortChanged=new e.EventEmitter,this.onRowExpanded=new e.EventEmitter,this.checkBoxUpdate=new e.EventEmitter,this.onGlobalSearchFocusOut=new e.EventEmitter,this.onGlobalSearchTermUpdate=new e.EventEmitter,this.filteredRows=[],this.selectedRows=[],this.selectAll=!1,this.currentPage=1,this.currentPageSize=10,this.sortedColumn={},this.sortedColumnIndex=0,this.sortType="asc",this.isGlobalSearchable=this.globalSearch,this.globalSearchTerm="",this.expandedRows=[],this.advancedSearchObjects=[],this.tbodyWidth="",this.thGroupHeigth="",this.copyFeedbackActive=!1,this.isIE=!!window.MSInputMethodContext&&!!document.documentMode,this.mainColumnPresent=!1,this.locale=bn,this.indeterminate=!1,this.id=this.idService.generate()}return Object.defineProperty(t.prototype,"rows",{get:function(){return this._rows},set:function(t){this._rows=t,this.filteredRows=this.rows,this.selectableRows&&this.$_Datatable_rowSelectedState(void 0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"expandAll",{get:function(){return this._expandAll},set:function(t){this._expandAll=t,this._expandAll?this.expandedRows=this.rows:this.expandedRows=[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t,this.$_Datatable_rowSelectedState(t.allSelectedRows)},enumerable:!0,configurable:!0}),t.prototype.ngOnChanges=function(t){t.selectableRows&&this.rows.length>0&&this.$_Datatable_rowSelectedState(this.rows)},t.prototype.displayedRowsOnPage=function(){return this.pagination?this.paginatedRows:this.filteredRows},Object.defineProperty(t.prototype,"totalPages",{get:function(){return this.filteredRows?Math.ceil(this.filteredRows.length/this.currentPageSize):null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"paginatedRows",{get:function(){var t=this;return this.filteredRows?this.filteredRows.filter((function(e,n){var i=(t.currentPage-1)*t.currentPageSize,a=t.currentPage*t.currentPageSize;if(n>=i&&n<a)return!0})):null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"headerFixedStyle",{get:function(){if(this.headerFixed){var t=this.height?this.height:400;return{height:"string"!=typeof t?t+"px":t}}return null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"mainColumnIndex",{get:function(){var t=this;if(t.mainColumnPresent){for(var e=t.columns.length,n=0,i=0;i<e;i++)if(t.columns[i].main){n=i;break}return n}return 0},enumerable:!0,configurable:!0}),t.prototype.selectAllIsDisabled=function(){var t=this.pagination?this.displayedRowsOnPage():this.filteredRows;return t.filter((function(t){return t.disabled})).length>0||0===t.length},Object.defineProperty(t.prototype,"responsiveColumnsHelper",{get:function(){return this.responsiveColumns},set:function(t){"undefined"!=typeof window&&t?window.addEventListener("resize",this.$_Datatable_onWindowSizeChanged):"undefined"!=typeof window&&window.removeEventListener("resize",this.$_Datatable_onWindowSizeChanged)},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.filteredRows=this.rows,this.columns&&(this.mainColumnPresent=this.columns.filter((function(t){return t.main})).length>0),this.pagination&&(this.paginationDisplayPreselected=this.paginationDisplayPreselected?this.paginationDisplayPreselected:this.paginationDisplay[0],this.$_Datatable_paginator_onPageSizeSelectChanged({currentPage:this.currentPage,pageSize:this.paginationDisplayPreselected,firstChange:!0}))},t.prototype.ngAfterViewInit=function(){var t=this;this.responsiveColumns&&this.$_Datatable_onWindowSizeChanged(),this.responsiveColumns&&window.addEventListener("resize",(function(){return t.$_Datatable_onWindowSizeChanged()})),t.copy&&setTimeout((function(){document.getElementById(t.id).addEventListener("copy",(function(e){return t.$_Datatable_overwriteClipboardData(e)}))}),0)},t.prototype.ngOnDestroy=function(){var t=this;window.removeEventListener("resize",(function(e){return t.$_Datatable_overwriteClipboardData(e)}))},t.prototype.$_Datatable_resetFilteredRows=function(){this.filteredRows=this.rows},t.prototype.$_Datatable_getColumnByColumnIndex=function(t){return this.columns[t]},t.prototype.$_Datatable_onWindowSizeChanged=function(){var t=document.documentElement.getBoundingClientRect().width;this.columns&&(t>=1200&&this.columns.forEach((function(t){t.show=t.showForLargeScreen})),t>=568&&t<1200&&this.columns.forEach((function(t){t.show=t.showForMediumScreen})),t<568&&this.columns.forEach((function(t){t.show=t.showForSmallScreen})))},t.prototype.$_Datatable_Paginator_onPaginatorButtonClicked=function(t){this.currentPage=t.pageNumber,this.onPaginatorButtonClicked.emit(t),this.selectableRows&&(this.selectedRows=this.displayedRowsOnPage().filter((function(t){return t.checked})),this.selectAll=this.displayedRowsOnPage().length===this.selectedRows.length,this.indeterminate=!!this.selectedRows.length&&!this.selectAll,this.checkBoxUpdate.emit({currentSelectedRow:null,currentDeselectedRow:null,allSelectedRows:this.selectedRows}))},t.prototype.$_Datatable_paginator_onPageSizeSelectChanged=function(t){this.currentPage=t.currentPage,this.currentPageSize=t.pageSize,this.$_Datatable_resetFilteredRows(),this.isGlobalSearchable&&this.globalSearchTerm&&this.$_Datatable_filterRowsByGlobalSearch(),this.sortable&&this.sortedColumn&&this.sortedColumnIndex&&this.sortType&&this.$_Datatable_sortFilteredRows(this.sortedColumn,this.sortedColumnIndex,this.sortType),this.selectableRows&&!t.firstChange&&(this.selectedRows=[],this.selectAll=!1,this.indeterminate=!1,this.checkBoxUpdate.emit({currentSelectedRow:null,currentDeselectedRow:null,allSelectedRows:[]}),this.rows.forEach((function(t){return t.checked=!1}))),this.onPageSizeSelectChanged.emit({pageSize:t.pageSize})},t.prototype.$_Datatable_onColumnFilterCheckBoxUpdated=function(t){var e=this;this.globalSearcher&&this.globalSearcher.$_GlobalSearch_reset(),t.forEach((function(t,n){e.columns[n].show=t.selected})),this.onColumnsChanged.emit(t)},t.prototype.$_Datatable_sort=function(t,e){this.sortable&&this.$_Datatable_isSortableColumn(e)&&(this.sortedColumnIndex===e?this.sortType="asc"===this.sortType?"desc":"asc":this.sortType="desc",this.sortedColumn=t,this.sortedColumnIndex=e,this.preventSort||this.$_Datatable_sortFilteredRows(this.sortedColumn,this.sortedColumnIndex,this.sortType),this.onSortChanged.emit({sortType:this.sortType,sortedColumnIndex:this.sortedColumnIndex}))},t.prototype.$_Datatable_isSortableColumn=function(t){return this.columns[t].sortable},t.prototype.$_Datatable_sortFilteredRows=function(t,e,n){var i=1;"desc"===n&&(i=-1),void 0!==t.sortField?"number"===t.dataType?this.filteredRows=this.filteredRows.sort((function(n,a){return n.cells[e][t.sortField]-a.cells[e][t.sortField]>0?1*i:n.cells[e][t.sortField]-a.cells[e][t.sortField]<0?-1*i:0})):this.filteredRows=this.filteredRows.sort((function(n,a){var o=null===n.cells[e][t.sortField]?"":n.cells[e][t.sortField],r=null===a.cells[e][t.sortField]?"":a.cells[e][t.sortField];return o>r?1*i:o<r?-1*i:0})):void 0!==t.dataType&&"number"===t.dataType?this.filteredRows=this.filteredRows.sort((function(t,n){return t.cells[e]-n.cells[e]>0?1*i:t.cells[e]-n.cells[e]<0?-1*i:0})):this.filteredRows=this.filteredRows.sort((function(t,n){var a=null===t.cells[e]?"":t.cells[e],o=null===n.cells[e]?"":n.cells[e];return a>o?1*i:a<o?-1*i:0}))},t.prototype.$_Datatable_onGlobalSearchFocusOut=function(t){this.globalSearchTerm=t.value,this.onGlobalSearchFocusOut.emit(t)},t.prototype.$_Datatable_onGlobalSearchTermUpdate=function(t){this.globalSearchTerm=t.value,this.$_Datatable_filterRowsByGlobalSearch(),this.onGlobalSearchTermUpdate.emit(t.value),this.paginator&&this.paginator.$_Paginator_onFirstPageButtonClicked(),document.querySelectorAll("[id^='rbc-datatable-advanced-searcher-']").forEach((function(t){""!==t.value&&(t.value="")})),this.advancedSearchObjects=[]},t.prototype.$_Datatable_filterRowsByGlobalSearch=function(){var t=this;this.filteredRows=this.rows.filter((function(e){var n=!1;return e.cells.filter((function(e,n){var i=t.$_Datatable_getColumnByColumnIndex(n);return void 0===i.searchable||i.searchable})).forEach((function(e,i){var a=t.$_Datatable_getColumnByColumnIndex(i);if(void 0!==e&&null!=e&&void 0!==e.value&&null!=e.value){var o=e.value;if("date"===a.dataType){var r=a.dataDateTimeZone||"UTC";o=new Date(e.value).toLocaleString(a.dataDateLocale||"en-us",Object.assign({},a.dataDateFormat,{timeZone:r}))}if(o.toString().toLowerCase().indexOf(t.globalSearchTerm.toLowerCase())>-1)return void(n=!0)}else if(e){o=e;if("date"===a.dataType){r=a.dataDateTimeZone||"UTC";o=new Date(e).toLocaleString(a.dataDateLocale||"en-us",Object.assign({},a.dataDateFormat,{timeZone:r}))}if(o.toString().toLowerCase().indexOf(t.globalSearchTerm.toLowerCase())>-1)return void(n=!0)}})),n})),this.pagination&&(this.currentPage=1),this.selectableRows&&this.$_Datatable_rowSelectedState()},t.prototype.resetRowsSelected=function(){this.displayedRowsOnPage().forEach((function(t){return t.checked=!1})),this.indeterminate=!1,this.selectAll=!1},t.prototype.$_Datatable_rowSelected=function(t,e,n){this.selectedRows.length;t?(this.selectedRows.push(n),this.onRowSelected.emit({allSelectedRows:this.selectedRows,currentSelectedRow:n}),this.checkBoxUpdate.emit({allSelectedRows:this.selectedRows,currentSelectedRow:n.id,currentDeselectedRow:null})):(this.selectedRows.pop(),this.onRowDeslected.emit({deSelectedRow:n}),this.checkBoxUpdate.emit({currentSelectedRow:null,currentDeselectedRow:n.id,allSelectedRows:this.selectedRows})),this.selectedRows.length<=0?(this.selectAll=!1,this.indeterminate=!1):this.selectedRows.length<this.filteredRows.length&&!this.pagination||this.selectedRows.length<this.paginatedRows.length&&this.pagination?(this.selectAll=!0,this.indeterminate=!0):(this.selectAll=!0,this.indeterminate=!1)},t.prototype.$_Datatable_allRowsSelectedUpdate=function(t){var e=this;t?(this.selectedRows=[],this.pagination?this.displayedRowsOnPage().forEach((function(t){e.selectedRows.push(t)})):this.filteredRows.forEach((function(t){e.selectedRows.push(t)})),this.displayedRowsOnPage().forEach((function(t){return t.checked=!0})),this.onAllRowsSelected.emit({allSelectedRows:this.selectedRows}),this.checkBoxUpdate.emit({currentSelectedRow:null,currentDeselectedRow:null,allSelectedRows:this.selectedRows}),this.selectAll=!0):(this.selectedRows=[],this.displayedRowsOnPage().forEach((function(t){return t.checked=!1})),this.onAllRowsDeselcted.emit(),this.checkBoxUpdate.emit({currentSelectedRow:null,currentDeselectedRow:null,allSelectedRows:[]}),this.selectAll=!1,this.indeterminate=!1)},t.prototype.$_Datatable_rowSelectedState=function(t){var e=this.pagination?this.displayedRowsOnPage():this.filteredRows;this.selectedRows=(t||e).filter((function(t){return t.checked})),e.length?(this.indeterminate=this.selectedRows.length>0&&e.length!==this.selectedRows.length,this.selectAll=e.length>0&&e.length===this.selectedRows.length||this.indeterminate):(this.indeterminate=!1,this.selectAll=!1)},t.prototype.$_Datatable_isRowExpanded=function(t){return this.expandedRows.indexOf(t)>-1},t.prototype.$_Datatable_onExpandArrowClicked=function(t){this.$_Datatable_isRowExpanded(t)?(this.expandedRows=this.expandedRows.filter((function(e){return e!==t})),this.onRowExpanded.emit(t)):(this.expandedRows.push(t),this.onRowExpanded.emit(t))},t.prototype.$_Datatable_isExpandedRowValid=function(t){return!this.expandableRowContentValidator||this.expandableRowContentValidator(t)},t.prototype.$_Datatable_onAdvancedSearchObjectUpdate=function(t){0===this.advancedSearchObjects.filter((function(e){return e.column===t.column})).length&&""!==t.value?this.advancedSearchObjects.push(t):""!==t.value?this.advancedSearchObjects.map((function(e){e.column===t.column&&(e.value=t.value)})):this.advancedSearchObjects=this.advancedSearchObjects.filter((function(e){return e.column!==t.column})),this.globalSearcher&&""!==this.globalSearcher.globalSearchTerm&&this.globalSearcher.$_GlobalSearch_reset(),this.paginator&&this.paginator.$_Paginator_onFirstPageButtonClicked(),this.$_Datatable_filterRowsByAdvancedSearch()},t.prototype.$_Datatable_filterRowsByAdvancedSearch=function(){var t=this;this.filteredRows=this.rows.filter((function(e){var n=!0;return t.advancedSearchObjects.map((function(i){e.cells.map((function(e,a){var o=t.$_Datatable_getColumnByColumnIndex(a);if(void 0!==o.sortField){var r=e.value;if("date"===o.dataType){var s=o.dataDateTimeZone||"UTC";r=new Date(e.value).toLocaleString(o.dataDateLocale||"en-us",Object.assign({},o.dataDateFormat,{timeZone:s}))}o===i.column&&(n=n*r.toString().toLowerCase().indexOf(i.value.toLowerCase())>-1)}else{r=e;if("date"===o.dataType){s=o.dataDateTimeZone||"UTC";r=new Date(e).toLocaleString(o.dataDateLocale||"en-us",Object.assign({},o.dataDateFormat,{timeZone:s}))}o===i.column&&(n=n*r.toString().toLowerCase().indexOf(i.value.toLowerCase())>-1)}}))})),n})),this.currentPage=1},t.prototype.$_Datatable_generateJSON=function(){var t=this,e=[];t.filteredRows.forEach((function(n){var i={};n.cells.forEach((function(e,n){void 0!==t.columns[n].sortField?i[t.columns[n].header]=e.value:i[t.columns[n].header]=e})),e.push(i)}));var n=new Blob([JSON.stringify(e)],{type:"application/json"});t.$_Datatable_downloadData(n,"table-data.json")},t.prototype.$_Datatable_generateCSV=function(){var t,e=this,n=[],i=e.columns.map((function(t){return'"'+t.header.split('"').join('""')+'"'}));n.push(i.join(",")),e.filteredRows.map((function(t){var i=[];t.cells.forEach((function(t,n){void 0!==e.columns[n].sortField?i.push('"'+String(t.value).split('"').join('""')+'"'):i.push('"'+String(t).split('"').join('""')+'"')}));var a=i.join(",");return n.push(a),a})),t=n.join("\n");var a=new Blob([t],{type:"text/csv"});e.$_Datatable_downloadData(a,"table-data.csv")},t.prototype.$_Datatable_generateCopy=function(){var t=this,e=[],n=[];return t.columns.forEach((function(t){t.show&&n.push('"'+t.header.split('"').join('""')+'"')})),e.push(n.join("\t")),t.filteredRows.map((function(n){var i=[];n.cells.forEach((function(e,n){t.columns[n].show&&(void 0!==t.columns[n].sortField?i.push('"'+String(e.value).split('"').join('""')+'"'):i.push('"'+String(e).split('"').join('""')+'"'))}));var a=i.join("\t");return e.push(a),a})),e.join("\n")},t.prototype.$_Datatable_emitCopyEvent=function(){var t=this,e=document.createElement("textarea");e.addEventListener("copy",(function(e){return t.$_Datatable_overwriteClipboardData(e)})),e.setAttribute("readonly",""),e.style.position="absolute",e.style.left="-9999px",document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e)},t.prototype.$_Datatable_overwriteClipboardData=function(t){var e=this,n=!1;void 0!==window.getSelection&&(n=""!==window.getSelection().toString()),n||(t.preventDefault(),window.clipboardData&&window.clipboardData.setData?window.clipboardData.setData("Text",e.$_Datatable_generateCopy()):t.clipboardData&&t.clipboardData.setData?t.clipboardData.setData("text/plain",e.$_Datatable_generateCopy()):t.originalEvent&&t.originalEvent.clipboardData.setData&&t.originalEvent.clipboardData.setData("text/plain",e.$_Datatable_generateCopy()),t.clipboardData.setData("text/plain",e.$_Datatable_generateCopy()),e.copyFeedbackActive=!0)},t.prototype.$_Datatable_downloadData=function(t,e){var n=document.createElement("a");t&&(navigator.msSaveOrOpenBlob?navigator.msSaveOrOpenBlob(t,e):(n.setAttribute("href",window.URL.createObjectURL(t)),n.setAttribute("download",e),n.style.display="none",document.body.appendChild(n),n.click(),document.body.removeChild(n)))},t.prototype.$_Datatable_columnsGroupColspan=function(t){for(var e=[],n=1,i=0;i<t.length;i++)t[i].show&&(void 0===t[i].headerGroup?e[i]=1:void 0!==t[i+1]?t[i+1].headerGroup!==t[i].headerGroup?(e[i]=n,n=1):(e[i]=0,n++):t[i-1].headerGroup===t[i].headerGroup&&(e[i]=n));return e},t.prototype.$_RegisterComponents_template=function(t,e,n,i){void 0===n&&(n=null),void 0===i&&(i=null);var a=this.componentsToRegister||{};return null!=i&&(a=Object.assign({},a,i)),{name:t,components:a,methods:n,template:e}},t.prototype.$_DatatableCell_cellDisplayValue=function(t,e){if(e&&(t||0===t)){if("number"===e.dataType){var n=e.formatNumber?yt(t.toString().replace("-",""),e.formatNumberLang||"en",e.formatNumberDecimal||2):t.toString().replace("-",""),i="",a="";e.colored&&(t<0?(i="<span class='c-alert-red'>",a="</span>"):t>0&&(i="<span class='c-alert-green'>",a="</span>"));var o=0===t?"":e.signed?t<0?"-":"+":e.arrow?t<0?"<span class='far fa-long-arrow-alt-down'></span> -":"<span class='far fa-long-arrow-alt-up'></span> &nbsp;":t<0?"-":"";return e.dataUnit?"%"===e.dataUnit||" %"===e.dataUnit||void 0!==e.dataUnitPosition&&"right"===e.dataUnitPosition?i+o+n+e.dataUnit+a:i+o+e.dataUnit+n+a:i+o+n+a}if("date"===e.dataType){var r=e.dataDateTimeZone||"UTC";return new Date(t).toLocaleString(e.dataDateLocale||"en-us",Object.assign({},e.dataDateFormat,{timeZone:r}))}return t}return"-"},t.prototype.$_DatatableCell_getCellDisplayValueByColumnIndex=function(t,e,n){return void 0!==n.sortField?this.$_DatatableCell_cellDisplayValue(t.cells[e].value,n):this.$_DatatableCell_cellDisplayValue(t.cells[e],n)},t.prototype.rowHeader=function(t,e,n){return(void 0!==t.headerGroup&&this.columnsGroup?this.id+"columnHeaderColspan"+t.headerGroup+" ":"")+this.id+"columnHeader"+n+(!t.main&&this.mainColumnPresent?" "+this.id+"rowHeader"+e.id:"")},t.prototype.isSearchable=function(t){return void 0===t||t},t}();In.decorators=[{type:e.Component,args:[{selector:"rbc-datatable",template:'<div\n\t[id]="id"\n\tclass="rbc-datatable">\n\t<div\n\t\t*ngIf="title || globalSearch || customTitle"\n\t\tclass="rbc-datatable-header">\n\n\t\t<div\n\t\t\t*ngIf="title || customTitle"\n\t\t\tclass="rbc-datatable-header-left"\n\t\t>\n\t\t\t\x3c!-- Table title --\x3e\n\t\t\t<h3\n\t\t\t\t*ngIf="title"\n\t\t\t\t[id]="id+\'Header\'"\n\t\t\t\tclass="rbc-datatable-title"\n\t\t\t>\n\t\t\t\t{{ title }}\n\t\t\t</h3>\n\n\t\t\t<h3 class="rbc-datatable-title" #titleContainer>\n\t\t\t\t<ng-content select="[title]"></ng-content>\n\t\t\t</h3>\n\t\t</div>\n\n\t\t\x3c!-- Global Searcher Component --\x3e\n\t\t<rbc-datatable-global-searcher\n\t\t\t#globalsearcher\n\t\t\t*ngIf="globalSearch"\n\t\t\t[id]="id"\n\t\t\t[globalSearchTerm]="globalSearchTerm"\n\t\t\t[locale]="locale"\n\t\t\t(onGlobalSearchFocusOut)="$_Datatable_onGlobalSearchFocusOut($event)"\n\t\t\t(onGlobalSearchTermUpdate)="$_Datatable_onGlobalSearchTermUpdate($event)">\n\t\t</rbc-datatable-global-searcher>\n\t</div>\n\n\t\x3c!-- Column Filter Component --\x3e\n\t\t<div *ngIf="customizableColumns || customFilters" class="rbc-datatable-columnfilter-wrap">\n\t\t\t<ng-content select="[filters]"></ng-content>\n\t\t\t<rbc-datatable-column-filter\n\t\t\t\t*ngIf="customizableColumns"\n\t\t\t\t[id]="id"\n\t\t\t\t[columns]="columns"\n\t\t\t\t[locale]="locale"\n\t\t\t\t(onColumnFilterCheckBoxUpdated)="$_Datatable_onColumnFilterCheckBoxUpdated($event)">\n\t\t\t</rbc-datatable-column-filter>\n\t\t</div>\n\n\t\x3c!-- Actual table --\x3e\n\t<div [ngStyle]="isIE && headerFixed ? { position: \'relative\', overflow: \'hidden\' } : \'\'">\n\t\t<div\n\t\t\t[ngClass]="{ \'rbc-datatable-fixed-column\': columnFixed, \'rbc-datatable-fixed-header\': headerFixed }"\n\t\t\t[ngStyle]="headerFixedStyle"\n\t\t\tclass="rbc-datatable-wrap">\n\n\t\t\t\x3c!-- columnFixed --\x3e\n\t\t\t<table\n\t\t\t\t*ngIf="columnFixed"\n\t\t\t\t[id]="id+\'ColumnFixedTable\'"\n\t\t\t\t[attr.aria-label]="title"\n\t\t\t\t[ngClass]="{ \'rbc-datatable-compact\': compact, \'rbc-datatable-striped\': !disableStripes }"\n\t\t\t\taria-hidden="true"\n\t\t\t\tclass="rbc-datatable-table rbc-datatable-fixed-column-table">\n\n\t\t\t\t\x3c!-- Table Headers --\x3e\n\t\t\t\t<thead>\n\t\t\t\t\t\x3c!-- Special row for grouped headers / colspan --\x3e\n\t\t\t\t\t<tr\n\t\t\t\t\t\t*ngIf="columnsGroup && !customizableColumns"\n\t\t\t\t\t\tclass="rbc-datatable-th-group">\n\t\t\t\t\t\t{{columnsGroup}}\n\t\t\t\t\t\t<th\n\t\t\t\t\t\t\t*ngIf="(selectableRows && !columnFixed) || (expandableRow && expandableRowArrow)"\n\t\t\t\t\t\t\t[attr.colspan]="(selectableRows | bitwise: \'OR\':0) + (expandableRow | bitwise: \'OR\':0)"></th>\n\t\t\t\t\t\t<th>&nbsp;</th>\n\t\t\t\t\t</tr>\n\n\t\t\t\t\t<tr class="rbc-datatable-th">\n\t\t\t\t\t\t\x3c!-- Checkbox for selectAll if table is selectable --\x3e\n\t\t\t\t\t\t<th\n\t\t\t\t\t\t\t*ngIf="selectableRows"\n\t\t\t\t\t\t\tclass="rbc-datatable-cell-selectable">\n\t\t\t\t\t\t\t<rbc-checkbox\n\t\t\t\t\t\t\t\t[id]="id+\'ColumnFixedSelectAll\'"\n\t\t\t\t\t\t\t\t[indeterminate]="indeterminate"\n\t\t\t\t\t\t\t\t[(ngModel)]="selectAll"\n\t\t\t\t\t\t\t\t[disabled]="selectAllIsDisabled()"\n\t\t\t\t\t\t\t\t[checked]="selectAll"\n\t\t\t\t\t\t\t\t[labelSrOnly]="true"\n\t\t\t\t\t\t\t\tlabel="Select or deselect all rows"\n\t\t\t\t\t\t\t\t(checkBoxUpdate)="$_Datatable_allRowsSelectedUpdate($event)"></rbc-checkbox>\n\t\t\t\t\t\t</th>\n\n\n\t\t\t\t\t\t<ng-container *ngFor="let column of columns; index as columnIndex;">\n\t\t\t\t\t\t\t<th\n\t\t\t\t\t\t\t\t*ngIf="column.fixed && column.show"\n\t\t\t\t\t\t\t\t[attr.key]="columnIndex"\n\t\t\t\t\t\t\t\t[ngClass]="{ \'rbc-datatable-column-sortable\': sortable && column.sortable }"\n\t\t\t\t\t\t\t\t[attr.dataType]="column.dataType"\n\t\t\t\t\t\t\t\t[ngStyle]="column.style"\n\t\t\t\t\t\t\t\t(click)="$_Datatable_sort(column, columnIndex)">\n\n\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t[attr.aria-sort]="(sortable && column.sortable && column == sortedColumn) ? sortType + \'ending\' : \'none\' "\n\t\t\t\t\t\t\t\t\tclass="rbc-datatable-column-header-wrap"\n\t\t\t\t\t\t\t\t\trole="columnheader"\n\t\t\t\t\t\t\t\t\t(click)="$_Datatable_sort(column, columnIndex)">\n\t\t\t\t\t\t\t\t\t{{ column.header }}\n\t\t\t\t\t\t\t\t\t<rbc-tooltip\n\t\t\t\t\t\t\t\t\t\t*ngIf="column.tooltip"\n\t\t\t\t\t\t\t\t\t\t[icon]="column.tooltipIcon"\n\t\t\t\t\t\t\t\t\t\t[text]="column.tooltip"\n\t\t\t\t\t\t\t\t\t\t[size]="column.tooltipSize">\n\t\t\t\t\t\t\t\t\t</rbc-tooltip>\n\n\t\t\t\t\t\t\t\t\t\x3c!-- Display sort arrow if the table is sortable as well as the column is sortable --\x3e\n\t\t\t\t\t\t\t\t\t<span *ngIf="sortable && column.sortable" class="rbc-datatable-sort-arrow">\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- Display not sorted arrow if the table is sortable and the column is not sorted --\x3e\n\t\t\t\t\t\t\t\t\t\t<ng-template *ngIf="column.sortable && column !== sortedColumn">\n\t\t\t\t\t\t\t\t\t\t\t<button>\n\t\t\t\t\t\t\t\t\t\t\t\t<rbc-icon icon="sort" type="solid"></rbc-icon>\n\t\t\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t\t\t</ng-template>\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- Display asc arrow if the table is sortable and the column is sorted asc --\x3e\n\t\t\t\t\t\t\t\t\t\t<ng-template *ngIf="column.sortable && column == sortedColumn && sortType === \'asc\'">\n\t\t\t\t\t\t\t\t\t\t\t<button>\n\t\t\t\t\t\t\t\t\t\t\t\t<rbc-icon icon="sort-up" type="solid"></rbc-icon>\n\t\t\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t\t\t</ng-template>\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- Display desc arrow if the table is fortable and the column is sorted desc --\x3e\n\t\t\t\t\t\t\t\t\t\t<ng-template *ngIf="column.sortable && column === sortedColumn && sortType === \'desc\'">\n\t\t\t\t\t\t\t\t\t\t\t<button>\n\t\t\t\t\t\t\t\t\t\t\t\t<rbc-icon icon="sort-down" type="solid"></rbc-icon>\n\t\t\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t\t\x3c!-- Advanced Searchers --\x3e\n\t\t\t\t\t\t\t\t<div *ngIf="advancedSearch && column.fixed" [attr.key]="id + columnIndex">\n\t\t\t\t\t\t\t\t\t<rbc-datatable-advanced-searcher\n\t\t\t\t\t\t\t\t\t\t[column]="column"\n\t\t\t\t\t\t\t\t\t\t[locale]="locale"\n\t\t\t\t\t\t\t\t\t\t(onAdvancedSearchObjectUpdate)="$_Datatable_onAdvancedSearchObjectUpdate($event)"\n\t\t\t\t\t\t\t\t\t></rbc-datatable-advanced-searcher>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</th>\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t</tr>\n\t\t\t\t</thead>\n\n\t\t\t\t<tbody>\n\t\t\t\t\t\x3c!-- Table Rows --\x3e\n\t\t\t\t\t<ng-container *ngFor="let row of displayedRowsOnPage(); index as index;">\n\t\t\t\t\t\t\x3c!-- Table Cells --\x3e\n\t\t\t\t\t\t<tr [attr.key]="row.id" [ngClass]="row.class" [ngStyle]="row.style">\n\t\t\t\t\t\t\t<td *ngIf="selectableRows" class="rbc-datatable-cell-selectable">\n\t\t\t\t\t\t\t\t<rbc-checkbox\n\t\t\t\t\t\t\t\t\t[id]="id+\'ColumnFixedSelect\'+row.id"\n\t\t\t\t\t\t\t\t\t[checked]="row.checked"\n\t\t\t\t\t\t\t\t\t[labelSrOnly]="true"\n\t\t\t\t\t\t\t\t\t[disabled]="row.disabled"\n\t\t\t\t\t\t\t\t\t[label]="\'Select or deselect \'+row.cells[mainColumnIndex]+\' row\'"\n\t\t\t\t\t\t\t\t\t[(ngModel)]="row.checked"\n\t\t\t\t\t\t\t\t\t(checkBoxUpdate)="$_Datatable_rowSelected($event,index,row)">\n\t\t\t\t\t\t\t\t</rbc-checkbox>\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t<ng-container *ngFor="let column of columns; let columnIndex = index">\n\t\t\t\t\t\t\t\t<td\n\t\t\t\t\t\t\t\t\t*ngIf="column.show && column.fixed"\n\t\t\t\t\t\t\t\t\t[attr.key]="columnIndex"\n\t\t\t\t\t\t\t\t\t[ngClass]="{ \'py-half\': (column.dataType == \'vue\' || column.dataType == \'angular\') }"\n\t\t\t\t\t\t\t\t\t[attr.dataType]="column.dataType"\n\t\t\t\t\t\t\t\t\t[ngStyle]="column.cellStyle"\n\t\t\t\t\t\t\t\t\tclass="rbc-datatable-tr-td">\n\n\t\t\t\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t\t\t\t[ngIf]="column.dataType == \'vue\' || column.dataType == \'angular\'"\n\t\t\t\t\t\t\t\t\t\t*ngTemplateOutlet="\n\t\t\t\t\t\t\t\t\t\t\trowCellFixedUserTemplate || defaultRowFixed;\n\t\t\t\t\t\t\t\t\t\t\tcontext: { rowIndex: index, colIndex: columnIndex, row: row, column: column }\n\t\t\t\t\t\t\t\t\t\t"\n\t\t\t\t\t\t\t\t\t></ng-container>\n\n\t\t\t\t\t\t\t\t\t\x3c!-- raw data default --\x3e\n\t\t\t\t\t\t\t\t\t<ng-template #defaultRowFixed>\n\t\t\t\t\t\t\t\t\t\t<span\n\t\t\t\t\t\t\t\t\t\t\t[innerHTML]="$_DatatableCell_getCellDisplayValueByColumnIndex(row, columnIndex, column)">\n\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</ng-container>\n\t\t\t\t</tbody>\n\t\t\t</table>\n\n\t\t\t\x3c!-- standardColumn --\x3e\n\t\t\t<table\n\t\t\t\t[id]="id+\'MainTable\'"\n\t\t\t\t[attr.aria-label]="title"\n\t\t\t\t[ngClass]="{ \'rbc-datatable-compact\': compact, \'rbc-datatable-striped\': !disableStripes, \'rbc-datatable-ie\': isIE && headerFixed }"\n\t\t\t\tclass="rbc-datatable-table">\n\n\t\t\t\t\x3c!-- Table Headers --\x3e\n\t\t\t\t<thead [ngStyle]="{ width: tbodyWidth }">\n\n\t\t\t\t\t\x3c!-- Special row for grouped headers / colspan --\x3e\n\t\t\t\t\t<tr *ngIf="columnsGroup" class="rbc-datatable-th-group">\n\t\t\t\t\t\t<th\n\t\t\t\t\t\t\t*ngIf="(selectableRows && !columnFixed) || (expandableRow && expandableRowArrow)"\n\t\t\t\t\t\t\t[attr.colspan]="(selectableRows | bitwise: \'OR\':0) + (expandableRow | bitwise: \'OR\':0)"></th>\n\n\t\t\t\t\t\t<ng-container *ngFor="let colspan of $_Datatable_columnsGroupColspan(columns); let columnIndex = index;">\n\t\t\t\t\t\t\t<th\n\t\t\t\t\t\t\t\t*ngIf="colspan > 0 && columns[columnIndex].show"\n\t\t\t\t\t\t\t\t[id]="id+\'columnHeaderColspan\'+ columns[columnIndex].headerGroup"\n\t\t\t\t\t\t\t\t[attr.key]="columnIndex"\n\t\t\t\t\t\t\t\t[ngClass]="{ \'rbc-datatable-th-td-group\': columns[columnIndex].headerGroupLabel }"\n\t\t\t\t\t\t\t\t[colSpan]="colspan">\n\t\t\t\t\t\t\t\t{{ columns[columnIndex].headerGroupLabel }}\n\t\t\t\t\t\t\t</th>\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t</tr>\n\n\t\t\t\t\t\x3c!-- normal headers row --\x3e\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t\x3c!-- Checkbox for selectAll if table is selectable --\x3e\n\t\t\t\t\t\t<th *ngIf="selectableRows" class="rbc-datatable-cell-selectable">\n\t\t\t\t\t\t\t<rbc-checkbox\n\t\t\t\t\t\t\t\t*ngIf="!columnFixed"\n\t\t\t\t\t\t\t\t[id]="id+\'SelectAll\'"\n\t\t\t\t\t\t\t\t[indeterminate]="indeterminate"\n\t\t\t\t\t\t\t\t[(ngModel)]="selectAll"\n\t\t\t\t\t\t\t\t[checked]="selectAll"\n\t\t\t\t\t\t\t\t[disabled]="selectAllIsDisabled()"\n\t\t\t\t\t\t\t\t[labelSrOnly]="true"\n\t\t\t\t\t\t\t\tlabel="Select or deselect all rows"\n\t\t\t\t\t\t\t\t(checkBoxUpdate)="$_Datatable_allRowsSelectedUpdate($event)"></rbc-checkbox>\n\t\t\t\t\t\t</th>\n\n\t\t\t\t\t\t<th *ngIf="expandableRow && expandableRowArrow && !columnFixed"></th>\n\n\t\t\t\t\t\t<ng-container *ngFor="let column of columns; index as columnIndex;">\n\t\t\t\t\t\t\t<th\n\t\t\t\t\t\t\t\t*ngIf="column.show"\n\t\t\t\t\t\t\t\t[id]="id+\'columnHeader\'+columnIndex"\n\t\t\t\t\t\t\t\t[attr.key]="columnIndex"\n\t\t\t\t\t\t\t\t[attr.aria-sort]="(sortable && column.sortable) ? ((column == sortedColumn) ? sortType + \'ending\' : \'none\') : null "\n\t\t\t\t\t\t\t\t[ngClass]="{ \'rbc-datatable-column-sortable\': sortable && column.sortable }"\n\t\t\t\t\t\t\t\t[attr.dataType]="column.dataType"\n\t\t\t\t\t\t\t\t[ngStyle]="column.style">\n\t\t\t\t\t\t\t\t<div class="rbc-datatable-ie-wrap">\n\t\t\t\t\t\t\t\t\t<div class="rbc-datatable-ie-item">\n\t\t\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t\t\t[ngStyle]="isIE && headerFixed ? column.style : \'\'"\n\t\t\t\t\t\t\t\t\t\t\tclass="rbc-datatable-column-header-wrap"\n\t\t\t\t\t\t\t\t\t\t\t(click)="$_Datatable_sort(column, columnIndex)">\n\t\t\t\t\t\t\t\t\t\t\t<span class="rbc-datatable-column-header-title"\n\t\t\t\t\t\t\t\t\t\t\t[innerHTML]="column.header"></span>\n\t\t\t\t\t\t\t\t\t\t\t<rbc-tooltip\n\t\t\t\t\t\t\t\t\t\t\t\t*ngIf="column.tooltip"\n\t\t\t\t\t\t\t\t\t\t\t\t[icon]="column.tooltipIcon"\n\t\t\t\t\t\t\t\t\t\t\t\t[text]="column.tooltip"\n\t\t\t\t\t\t\t\t\t\t\t\t[size]="column.tooltipSize">\n\t\t\t\t\t\t\t\t\t\t\t</rbc-tooltip>\n\n\n\t\t\t\t\t\t\t\t\t\t\t\x3c!-- Display sort arrow if the table is sortable as well as the column is sortable --\x3e\n\t\t\t\t\t\t\t\t\t\t\t<span *ngIf="sortable && column.sortable" class="rbc-datatable-sort-arrow">\n\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- Display not sorted arrow if the table is sortable and the column is not sorted --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\t<ng-container *ngIf="column.sortable && column !== sortedColumn">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t[attr.aria-label]="column.header+\' \'+locale[\'sortLabel\']"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass="link-button"\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<rbc-icon icon="sort" type="solid" ></rbc-icon>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t\t\t\t\t</ng-container>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- Display asc arrow if the table is sortable and the column is sorted asc --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\t<ng-container *ngIf="column.sortable && column == sortedColumn && sortType === \'asc\'">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t[attr.aria-label]="column.header+\' \'+locale[\'sortUpLabel\']"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass="link-button">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<rbc-icon icon="sort-up" type="solid"></rbc-icon>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t\t\t\t\t</ng-container>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\x3c!-- Display desc arrow if the table is fortable and the column is sorted desc --\x3e\n\t\t\t\t\t\t\t\t\t\t\t\t<ng-container *ngIf="column.sortable && column === sortedColumn && sortType === \'desc\'">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t[attr.aria-label]="column.header+\' \'+locale[\'sortDownLabel\']"\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclass="link-button">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<rbc-icon icon="sort-down" type="solid"></rbc-icon>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t\t\t\t\x3c!-- Advanced Searchers --\x3e\n\t\t\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t\t\t*ngIf="advancedSearch && isSearchable(column.searchable) && (!columnFixed || !column.fixed)"\n\t\t\t\t\t\t\t\t\t\t\t[attr.key]="id + columnIndex">\n\t\t\t\t\t\t\t\t\t\t\t<rbc-datatable-advanced-searcher\n\t\t\t\t\t\t\t\t\t\t\t\t[column]="column"\n\t\t\t\t\t\t\t\t\t\t\t\t[locale]="locale"\n\t\t\t\t\t\t\t\t\t\t\t\t(onAdvancedSearchObjectUpdate)="$_Datatable_onAdvancedSearchObjectUpdate($event)"\n\t\t\t\t\t\t\t\t\t\t\t></rbc-datatable-advanced-searcher>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</th>\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t</tr>\n\t\t\t\t</thead>\n\n \t\t\t\t<tbody>\n\t\t\t\t\t\x3c!-- Table Rows --\x3e\n\t\t\t\t\t<ng-container *ngFor="let row of displayedRowsOnPage(); index as index;">\n\t\t\t\t\t\t\x3c!-- Table Cells --\x3e\n\t\t\t\t\t\t<tr [id]="id+\'MainTable\'+row.id" [attr.key]="index" [ngClass]="row.class" [ngStyle]="row.style">\n\t\t\t\t\t\t\t<td *ngIf="selectableRows" class="rbc-datatable-cell-selectable">\n\t\t\t\t\t\t\t\t<rbc-checkbox\n\t\t\t\t\t\t\t\t\t*ngIf="!columnFixed"\n\t\t\t\t\t\t\t\t\t[id]="id+\'Select\'+row.id"\n\t\t\t\t\t\t\t\t\t[(ngModel)]="row.checked"\n\t\t\t\t\t\t\t\t\t[checked]="row.checked"\n\t\t\t\t\t\t\t\t\t[labelSrOnly]="true"\n\t\t\t\t\t\t\t\t\t[disabled]="row.disabled"\n\t\t\t\t\t\t\t\t\t[label]="\'Select or deselect \'+row.cells[mainColumnIndex]+\' row\'"\n\t\t\t\t\t\t\t\t\t(checkBoxUpdate)="$_Datatable_rowSelected($event,index,row)"></rbc-checkbox>\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\x3c!-- Expendable Rows of standard row --\x3e\n\t\t\t\t\t\t\t<td\n\t\t\t\t\t\t\t\t*ngIf="expandableRow && expandableRowArrow && !columnFixed"\n\t\t\t\t\t\t\t\t[ngClass]="{ open: $_Datatable_isRowExpanded(row), disabled: !$_Datatable_isExpandedRowValid(row) || row.disabled }"\n\t\t\t\t\t\t\t\tclass="rbc-datatable-cell-expandable">\n\t\t\t\t\t\t\t\t<button\n\t\t\t\t\t\t\t\t\t[attr.aria-controls]="$_Datatable_isRowExpanded(row) ? id + \'expandableContent\' + index : null"\n\t\t\t\t\t\t\t\t\t[attr.aria-expanded]="$_Datatable_isRowExpanded(row) ? \'true\' : \'false\'"\n\t\t\t\t\t\t\t\t\t[attr.aria-label]="locale.expandableRowLabel || \'Expand row\'"\n\t\t\t\t\t\t\t\t\taria-label="Expand row"\n\t\t\t\t\t\t\t\t\tclass="rbc-datatable-cell-expandable-arrow link-button"\n\t\t\t\t\t\t\t\t\t[disabled]="row.disabled"\n\t\t\t\t\t\t\t\t\t(click)="$_Datatable_onExpandArrowClicked(row)">\n\t\t\t\t\t\t\t\t\t<rbc-icon [attr.aria-hidden]="true" icon="chevron-down"></rbc-icon>\n\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t</td>\n\n\n\t\t\t\t\t\t\t\x3c!-- Standard row/cells --\x3e\n\n\t\t\t\t\t\t\t<ng-container>\n\t\t\t\t\t\t\t\t<ng-container *ngFor="let column of columns; index as columnIndex;">\n\t\t\t\t\t\t\t\t\t<ng-template [ngIf]="column.show">\n\t\t\t\t\t\t\t\t\t\t<td\n\t\t\t\t\t\t\t\t\t\t\t*ngIf="column.dataType == \'vue\' || column.dataType == \'angular\' ; else notVue"\n\t\t\t\t\t\t\t\t\t\t\t[attr.key]="columnIndex"\n\t\t\t\t\t\t\t\t\t\t\t[attr.dataType]="column.dataType"\n\t\t\t\t\t\t\t\t\t\t\t[ngStyle]="column.cellStyle"\n\t\t\t\t\t\t\t\t\t\t\tclass="py-half">\n\n\n\t\t\t\t\t\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t\t\t\t\t\t*ngTemplateOutlet="\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn.template || cellTemplate;\n\t\t\t\t\t\t\t\t\t\t\t\t\tcontext: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\trow: row,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolumn: column,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\trowIndex: index,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tcolIndex: columnIndex,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdisplay: $_DatatableCell_getCellDisplayValueByColumnIndex(row, columnIndex, column)}">\n\t\t\t\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t\t\t</td>\n\n\n\t\t\t\t\t\t\t\t\t\t<ng-template #notVue>\n\t\t\t\t\t\t\t\t\t\t\t<td\n\t\t\t\t\t\t\t\t\t\t\t\t[attr.id]="column.main ? id+\'rowHeader\'+row.id : null"\n\t\t\t\t\t\t\t\t\t\t\t\t[attr.key]="columnIndex"\n\t\t\t\t\t\t\t\t\t\t\t\t[attr.dataType]="column.dataType"\n\t\t\t\t\t\t\t\t\t\t\t\t[attr.headers]="rowHeader(column, row, columnIndex)"\n\t\t\t\t\t\t\t\t\t\t\t\t[attr.role]="column.main ? \'rowheader\' : null"\n\t\t\t\t\t\t\t\t\t\t\t\t[ngStyle]="column.cellStyle"\n\t\t\t\t\t\t\t\t\t\t\t\t[innerHTML]="$_DatatableCell_getCellDisplayValueByColumnIndex(row, columnIndex, column)">\n\t\t\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t</tr>\n\n\t\t\t\t\t\t<ng-container *ngIf="expandableRow">\n\t\t\t\t\t\t\t<tr\n\t\t\t\t\t\t\t\t*ngIf="$_Datatable_isRowExpanded(row) && $_Datatable_isExpandedRowValid(row)"\n\t\t\t\t\t\t\t\t[id]="id + \'expandableContent\' + index"\n\t\t\t\t\t\t\t\t[attr.key]="row.expandableRow"\n\t\t\t\t\t\t\t\tclass="rbc-datatable-expandable-row-content">\n\t\t\t\t\t\t\t\t<td\n\t\t\t\t\t\t\t\t\t[attr.colspan]="row.cells.length +(selectableRows | bitwise: \'OR\':0) +(expandableRow | bitwise: \'OR\':0)"\n\t\t\t\t\t\t\t\t\tclass="rbc-datatable-expandable-row-content-wrap">\n\t\t\t\t\t\t\t\t\t<rbc-transition-height\n\t\t\t\t\t\t\t\t\t\t[attr.key]="id + \'expandableContent\' + index"\n\t\t\t\t\t\t\t\t\t\tname="datatable-expandable-row-transition"\n\t\t\t\t\t\t\t\t\t\t[state]="$_Datatable_isRowExpanded(row) && $_Datatable_isExpandedRowValid(row)"\n\t\t\t\t\t\t\t\t\t\tduration="500"\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t<ng-container\n\t\t\t\t\t\t\t\t\t\t\t*ngTemplateOutlet="row.expandableTemplate; context: { $implicit: index, row: row, columns: columns }">\n\t\t\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t\t\t</rbc-transition-height>\n\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t</ng-container>\n\t\t\t\t</tbody>\n\n\t\t\t\t<tfoot>\n\t\t\t\t\t<ng-content select="[name=tfoot]"></ng-content>\n\t\t\t\t</tfoot>\n\t\t\t</table>\n\t\t</div>\n\t</div>\n\n\t<ng-container name="pagination">\n\t\t<rbc-paginator\n\t\t\t#paginator\n\t\t\t*ngIf="pagination"\n\t\t\t[id]="id+\'Paginator\'"\n\t\t\t[displaySelect]="paginationDisplaySelect"\n\t\t\t[locale]="locale"\n\t\t\t[paginationDisplay]="paginationDisplay"\n\t\t\t[paginationDisplayPreselected]="paginationDisplayPreselected"\n\t\t\t[totalPages]="totalPages"\n\t\t\t(onPaginatorButtonClicked)="$_Datatable_Paginator_onPaginatorButtonClicked($event)"\n\t\t\t(onPageSizeSelectChanged)="$_Datatable_paginator_onPageSizeSelectChanged($event)">\n\t\t</rbc-paginator>\n\t</ng-container>\n\n\n\t<div class="text-right">\n\t\t<rbc-button\n\t\t\t*ngIf="copy"\n\t\t\t[id]="id+\'CopyButton\'"\n\t\t\ticon="copy"\n\t\t\ttype="primary-outline"\n\t\t\t(click)="$_Datatable_emitCopyEvent()"\n\t\t\t>{{ locale.copyDataLabel }}</rbc-button>\n\t\t<rbc-button\n\t\t\t*ngIf="downloadJson"\n\t\t\t[id]="id+\'DownloadJSONButton\'"\n\t\t\ticon="download"\n\t\t\ttype="primary-outline"\n\t\t\t(click)="$_Datatable_generateJSON()"\n\t\t\t>{{ locale.downloadDataAsJSONLabel }}</rbc-button>\n\t\t<rbc-button\n\t\t\t*ngIf="downloadCsv"\n\t\t\t[id]="id+\'DownloadCSVButton\'"\n\t\t\ticon="download"\n\t\t\ttype="primary-outline"\n\t\t\t(click)="$_Datatable_generateCSV()"\n\t\t\t>{{ locale.downloadDataAsCSVLabel }}</rbc-button>\n    </div>\n\n\t\x3c!-- User feedback --\x3e\n    <rbc-snackbar\n\t\t[id]="id+\'Snackbar\'"\n\t\t[active]="copyFeedbackActive"\n\t\t[text]="locale.copiedSuccessfulMessage"\n\t\t[timeout]="1000"\n\t\t[timeoutProgress]="true"\n\t\tbuttonClose="Ok"\n\t\tpositionX="right"\n\t\tpositionY="top"\n\t\ttype="success"\n\t\t(toggle)="copyFeedbackActive = false">\n\t</rbc-snackbar>\n\t<ng-content\n\t\tname="get-data">\n\t</ng-content>\n</div>\n',encapsulation:e.ViewEncapsulation.None,providers:[vn]}]}],In.ctorParameters=function(){return[{type:h},{type:e.ChangeDetectorRef},{type:vn}]},In.propDecorators={id:[{type:e.Input}],componentsToRegister:[{type:e.Input}],title:[{type:e.Input}],columns:[{type:e.Input}],columnsGroup:[{type:e.Input}],rows:[{type:e.Input}],expandAll:[{type:e.Input}],pagination:[{type:e.Input}],compact:[{type:e.Input}],customizableColumns:[{type:e.Input}],sortable:[{type:e.Input}],preventSort:[{type:e.Input}],globalSearch:[{type:e.Input}],advancedSearch:[{type:e.Input}],selectableRows:[{type:e.Input}],responsiveColumns:[{type:e.Input}],headerFixed:[{type:e.Input}],height:[{type:e.Input}],columnFixed:[{type:e.Input}],expandableRow:[{type:e.Input}],expandableRowArrow:[{type:e.Input}],expandableRowContentValidator:[{type:e.Input}],downloadJson:[{type:e.Input}],downloadCsv:[{type:e.Input}],copy:[{type:e.Input}],paginationDisplay:[{type:e.Input}],paginationDisplayPreselected:[{type:e.Input}],paginationDisplaySelect:[{type:e.Input}],disableStripes:[{type:e.Input}],value:[{type:e.Input}],advancedSearchPlaceholder:[{type:e.Input}],columnFilterLabel:[{type:e.Input}],columnFilterCheckedText:[{type:e.Input}],globalSearchPlaceholder:[{type:e.Input}],sortLabel:[{type:e.Input}],sortUpLabel:[{type:e.Input}],sortDownLabel:[{type:e.Input}],paginationPreviousLabel:[{type:e.Input}],paginationNextLabel:[{type:e.Input}],paginationDisplayLabel:[{type:e.Input}],downloadDataAsJSONLabel:[{type:e.Input}],downloadDataAsCSVLabel:[{type:e.Input}],copyDataLabel:[{type:e.Input}],copiedSuccessfulMessage:[{type:e.Input}],customTitle:[{type:e.Input}],customFilters:[{type:e.Input}],onColumnsChanged:[{type:e.Output}],onPageSizeSelectChanged:[{type:e.Output}],onRowSelected:[{type:e.Output}],onRowDeslected:[{type:e.Output}],onAllRowsSelected:[{type:e.Output}],onAllRowsDeselcted:[{type:e.Output}],onPaginatorButtonClicked:[{type:e.Output}],onSortChanged:[{type:e.Output}],onRowExpanded:[{type:e.Output}],checkBoxUpdate:[{type:e.Output}],onGlobalSearchFocusOut:[{type:e.Output}],onGlobalSearchTermUpdate:[{type:e.Output}],globalSearcher:[{type:e.ViewChild,args:["globalsearcher",{static:!1}]}],paginator:[{type:e.ViewChild,args:["paginator",{static:!1}]}],cellTemplate:[{type:e.ContentChild,args:["cellTemplate",{static:!1}]}],rowCellFixedUserTemplate:[{type:e.ContentChild,args:["rowCellFixedTemplate",{static:!1}]}],expandRowUserTemplate:[{type:e.ContentChild,args:["expandableRowTemplate",{static:!1}]}]};var wn=function(){};wn.decorators=[{type:e.NgModule,args:[{declarations:[In,fn,yn,mn],imports:[n.CommonModule,a.FormsModule,ce,nt,gn,Z,f,ne,Dt,It,_e,Se],exports:[In,fn,yn,mn]}]}];var Cn=function(t){function e(e){var n=t.call(this)||this;return n.idService=e,n.color="primary",n.size="large",n.labelSrOnly=!0,n.id=e.generate(),n}return G(e,t),e.prototype.ngOnInit=function(){},e.prototype.classGen=function(){var t={};return t["rbc-button-toggle-"+this.size]=this.size,t["rbc-button-toggle-"+this.color]=this.color,t["rbc-button-toggle-block"]=this.fullWidth,t["rbc-button-toggle-wrap-children"]=this.wrapChildren,t},e.prototype.ngOnDestroy=function(){this.idService.remove(this.id),t.prototype.ngOnDestroy.call(this)},e.prototype.toggleHandler=function(t){this.innerValue=t,this.changed(t)},e}(Et);Cn.decorators=[{type:e.Component,args:[{selector:"rbc-button-toggle",template:'\n\t\t<fieldset [id]="id" [ngClass]="classGen()" class="rbc-button-toggle">\n\t\t\t<slot select="[header]">\n\t\t\t\t<legend\n\t\t\t\t[ngClass]="{ \'sr-only\': labelSrOnly }"\n\t\t\t\tclass="rbc-label">\n\t\t\t\t{{ label }}\n\t\t\t\t</legend>\n\t\t\t</slot>\n\t\t\t<rbc-button-toggle-inner\n\t\t\t\t#control\n\t\t\t\t*ngFor="let opt of options; let key = index"\n\t\t\t\t[id]="id"\n\t\t\t\t[(ngModel)]="innerValue"\n\t\t\t\t[selected]="innerValue"\n\t\t\t\t[label]="opt.label"\n\t\t\t\t[name]="name"\n\t\t\t\t[disabled]="disabled || opt.disabled || disabledState"\n\t\t\t\t[value]="opt.value"\n\t\t\t\t(ngModelChange)="toggleHandler($event)"\n\t\t\t\tngDefaultControl\n\t\t\t>\n\t\t\t</rbc-button-toggle-inner>\n\t\t</fieldset>\n\t',providers:[{provide:a.NG_VALUE_ACCESSOR,multi:!0,useExisting:e.forwardRef((function(){return Cn}))}]}]}],Cn.ctorParameters=function(){return[{type:h}]},Cn.propDecorators={color:[{type:e.Input}],id:[{type:e.Input}],size:[{type:e.Input}],wrapChildren:[{type:e.Input}],label:[{type:e.Input}],labelSrOnly:[{type:e.Input}],options:[{type:e.Input}],name:[{type:e.Input}],disabled:[{type:e.Input}],fullWidth:[{type:e.Input}]};var xn=function(){function t(t){this.idService=t,this.change=new e.EventEmitter,this.id=t.generate()}return t.prototype.ngOnDestroy=function(){this.idService.remove(this.id+this.value),this.idService.remove(this.id+this.value+"Label")},t.prototype.updateSelected=function(t){this.change.emit(t.target.value)},t.prototype.isChecked=function(){return this.selected===this.value},t.prototype.removeFocus=function(){this.control.nativeElement.blur()},t}();xn.decorators=[{type:e.Component,args:[{selector:"rbc-button-toggle-inner",template:'\n\t\t<div\n\t\t\t[ngClass]= "{checked: isChecked()}"\n\t\t\tclass="rbc-button-toggle-inner"\n\t\t\t(mouseout)="removeFocus()">\n\t\t\t<input\n\t\t\t\t#control\n\t\t\t\t[name]="name"\n\t\t\t\t[id]="id + value"\n\t\t\t\t[disabled]="disabled"\n\t\t\t\t[value]="value"\n\t\t\t\t[checked]="isChecked()"\n\t\t\t\t(change)="updateSelected($event)"\n\t\t\t\ttype="radio"\n\t\t\t\tclass="rbc-button-toggle-control"\n\t\t\t/>\n\n\t\t\t<label\n\t\t\t\t[id]="id + value + \'Label\'"\n\t\t\t\t[for]="id + value"\n\t\t\t\tclass="rbc-button rbc-button-toggle-label"\n\t\t\t\t[ngClass]="{ disabled: disabled }"\n\t\t\t\t[attr.data-label]="label"\n\t\t\t>\n\t\t\t\t{{ label }}\n\t\t\t</label>\n\t\t</div>\n\t'}]}],xn.ctorParameters=function(){return[{type:h}]},xn.propDecorators={id:[{type:e.Input}],selected:[{type:e.Input}],disabled:[{type:e.Input}],name:[{type:e.Input}],value:[{type:e.Input}],label:[{type:e.Input}],change:[{type:e.Output}],control:[{type:e.ViewChild,args:["control",{static:!1}]}]};var kn=function(){};kn.decorators=[{type:e.NgModule,args:[{declarations:[Cn,xn],imports:[n.CommonModule,a.FormsModule,a.ReactiveFormsModule],exports:[Cn,xn]}]}];var Sn=function(){function t(t){this.idService=t,this.columns=12,this.disclaimerTriggerLabel="Disclaimer",this.footerCtaAlign="center",this.footerlinkclicked=new e.EventEmitter,this.id=t.generate()}return t.prototype.classGen=function(){return{"rbc-block-grey":this.grey,"rbc-block-well":!this.container&&this.grey,"rbc-block-flush-top":this.divider||this.floatingHeader,"rbc-block-flush-bottom":this.dividerBottom,"rbc-block-flush":this.flush,"rbc-block-small":!this.container||this.small}},t.prototype.headerClassGen=function(){return{"text-center":this.headerCentered&&!this.ctaLabel,"justify-content-center":this.headerCentered||this.columnsCentered,"rbc-block-header-flush":this.headerFlush}},t.prototype.footerClassGen=function(){return{"justify-content-center":this.columnsCentered,"text-left":"left"===this.footerCtaAlign}},t.prototype.columnClassGen=function(){var t={};return this.columns||(this.columns=12),t["col-lg-"+this.columns]=this.columns,t},t.prototype.footerLinkClick=function(){this.footerlinkclicked.emit()},t}();Sn.decorators=[{type:e.Component,args:[{selector:"rbc-block",template:'\n\t\t<section [id]="id" [ngClass]="classGen()" class="rbc-block">\n\t\t\t<div [ngClass]="{ container: container }">\n\t\t\t\t<div\n\t\t\t\t\t*ngIf="floatingHeader"\n\t\t\t\t\tclass="rbc-block-floating-header"\n\t\t\t\t\t[ngClass]="\n\t\t\t\t\t\tfloatingHeaderColor ? \'b-\' + floatingHeaderColor : null\n\t\t\t\t\t"\n\t\t\t\t>\n\t\t\t\t\t<span\n\t\t\t\t\t\t[id]="id + \'FloatingHeader\'"\n\t\t\t\t\t\tclass="rbc-block-floating-header-text"\n\t\t\t\t\t\t[innerHtml]="floatingHeader"></span>\n\t\t\t\t</div>\n\t\t\t\t<hr *ngIf="divider" class="rbc-block-divider">\n\t\t\t\t<div [ngClass]="{ \'well\': well }">\n\t\t\t\t\t<header\n\t\t\t\t\t\t*ngIf="title || text"\n\t\t\t\t\t\t[ngClass]="headerClassGen()"\n\t\t\t\t\t\tclass="row rbc-block-header"\n\t\t\t\t\t>\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t[ngClass]="[\n\t\t\t\t\t\t\t\theaderColumns\n\t\t\t\t\t\t\t\t\t? \'col-lg-\' + headerColumns\n\t\t\t\t\t\t\t\t\t: ctaLabel\n\t\t\t\t\t\t\t\t\t? \'col-12\'\n\t\t\t\t\t\t\t\t\t: \'col-lg-\' + columns\n\t\t\t\t\t\t\t]"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<div class="row">\n\t\t\t\t\t\t\t\t<h2\n\t\t\t\t\t\t\t\t\t*ngIf="title"\n\t\t\t\t\t\t\t\t\t[id]="id + \'Header\'"\n\t\t\t\t\t\t\t\t\t[ngClass]="[\n\t\t\t\t\t\t\t\t\t\tctaLabel ? \'col-lg-8\' : \'col-12\'\n\t\t\t\t\t\t\t\t\t]"\n\t\t\t\t\t\t\t\t\tclass="rbc-block-header-title"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{{ title }}\n\t\t\t\t\t\t\t\t</h2>\n\t\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t\t*ngIf="ctaLabel"\n\t\t\t\t\t\t\t\t\tclass="col-lg-4 text-lg-right text-left mb-half mb-lg-0"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t\t\t[id]="id + \'CTA\'"\n\t\t\t\t\t\t\t\t\t\t[href]="ctaLink"\n\t\t\t\t\t\t\t\t\t\tclass="link-chev">\n\t\t\t\t\t\t\t\t\t\t<span [innerHtml]="ctaLabel"></span>\n\n\t\t\t\t\t\t\t\t\t\t<rbc-icon icon="angle-right"></rbc-icon>\n\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\t*ngIf="text"\n\t\t\t\t\t\t\t\tclass="rbc-block-header-description"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<ng-container select="[description]">\n\t\t\t\t\t\t\t\t<div [id]="id + \'Text\'" >\n\t\t\t\t\t\t\t\t\t{{ text }}\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</ng-container>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<ng-content select="[header]"></ng-content>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</header>\n\n\t\t\t\t\t<div\n\t\t\t\t\t\t[ngClass]="{\n\t\t\t\t\t\t\t\'justify-content-center\': columnsCentered\n\t\t\t\t\t\t}"\n\t\t\t\t\t\tclass="row"\n\t\t\t\t\t>\n\t\t\t\t\t\t<div [ngClass]="columnClassGen()">\n\t\t\t\t\t\t\t<ng-content></ng-content>\n\n\t\t\t\t\t\t\t<rbc-expandable\n\t\t\t\t\t\t\t\t*ngIf="disclaimerTriggerLabel"\n\t\t\t\t\t\t\t\t[childId]="id + \'Disclaimer\'"\n\t\t\t\t\t\t\t\t[arrow]="true"\n\t\t\t\t\t\t\t\t[expanded]="disclaimerOpen"\n\t\t\t\t\t\t\t\tarrowPosition="left"\n\t\t\t\t\t\t\t\tclass="rbc-block-spacer-t-sm"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<h3 trigger\n\t\t\t\t\t\t\t\t\t[id]="id + \'DisclaimerTrigger\'"\n\t\t\t\t\t\t\t\t\t[innerHtml]="disclaimerTriggerLabel">\n\t\t\t\t\t\t\t\t</h3>\n\t\t\t\t\t\t\t\t<ng-content select="[disclaimer]"></ng-content>\n\t\t\t\t\t\t\t</rbc-expandable>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<footer\n\t\t\t\t\t\t*ngIf="footerCtaLabel"\n\t\t\t\t\t\t[ngClass]="footerClassGen()"\n\t\t\t\t\t\tclass="rbc-block-footer row"\n\t\t\t\t\t>\n\t\t\t\t\t\t<div [ngClass]="[\'col-lg-\' + columns]">\n\t\t\t\t\t\t\t<ng-content select="[footer]"></ng-content>\n\t\t\t\t\t\t\t<ng-container *ngIf="footerCtaButton; else anchorLink">\n\t\t\t\t\t\t\t<rbc-button\n\t\t\t\t\t\t\t\t\t*ngIf="footerCtaLabel"\n\t\t\t\t\t\t\t\t\t[id]="id + \'FooterCTA\'"\n\t\t\t\t\t\t\t\t\t[outline]="true"\n\t\t\t\t\t\t\t\t\t[ngClass]="[\n\t\t\t\t\t\t\t\t\t\tfooterCtaButton\n\t\t\t\t\t\t\t\t\t\t\t? \'rbc-block-footer-button\'\n\t\t\t\t\t\t\t\t\t\t\t: \'link-chev\'\n\t\t\t\t\t\t\t\t\t]"\n\t\t\t\t\t\t\t\t\t[link]="\n\t\t\t\t\t\t\t\t\t\tfooterCtaButton && footerCtaLink\n\t\t\t\t\t\t\t\t\t\t\t? footerCtaLink\n\t\t\t\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t\t\t\t"\n\t\t\t\t\t\t\t\t\tcolor="primary"\n\t\t\t\t\t\t\t\t\t(click)="footerLinkClick()"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{{ footerCtaLabel }}\n\t\t\t\t\t\t\t\t\t<rbc-icon\n\t\t\t\t\t\t\t\t\t\t[attr.aria-hidden]="true"\n\t\t\t\t\t\t\t\t\t\ticon="angle-right"\n\t\t\t\t\t\t\t\t\t></rbc-icon>\n\t\t\t\t\t\t\t\t</rbc-button>\n\t\t\t\t\t\t\t</ng-container>\n\n\t\t\t\t\t\t\t<ng-template #anchorLink>\n\t\t\t\t\t\t\t\t<a\n\t\t\t\t\t\t\t\t\t*ngIf="footerCtaLabel"\n\t\t\t\t\t\t\t\t\t[id]="id + \'FooterCTA\'"\n\t\t\t\t\t\t\t\t\toutline\n\t\t\t\t\t\t\t\t\t[ngClass]="[\n\t\t\t\t\t\t\t\t\t\tfooterCtaButton\n\t\t\t\t\t\t\t\t\t\t\t? \'rbc-block-footer-button\'\n\t\t\t\t\t\t\t\t\t\t\t: \'link-chev\'\n\t\t\t\t\t\t\t\t\t]"\n\t\t\t\t\t\t\t\t\t[href]="footerCtaLink"\n\t\t\t\t\t\t\t\t\tcolor="primary"\n\t\t\t\t\t\t\t\t\t(click)="footerLinkClick()"\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{{ footerCtaLabel }}\n\t\t\t\t\t\t\t\t\t<rbc-icon\n\t\t\t\t\t\t\t\t\t\t[attr.aria-hidden]="true"\n\t\t\t\t\t\t\t\t\t\ticon="angle-right"\n\t\t\t\t\t\t\t\t\t></rbc-icon>\n\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t</ng-template>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</footer>\n\t\t\t\t</div>\n\t\t\t\t<hr *ngIf="dividerBottom" class="rbc-block-divider-bottom">\n\t\t\t</div>\n\t\t</section>\n\t'}]}],Sn.ctorParameters=function(){return[{type:h}]},Sn.propDecorators={id:[{type:e.Input}],title:[{type:e.Input}],text:[{type:e.Input}],ctaLink:[{type:e.Input}],ctaLabel:[{type:e.Input}],divider:[{type:e.Input}],dividerBottom:[{type:e.Input}],grey:[{type:e.Input}],well:[{type:e.Input}],small:[{type:e.Input}],headerCentered:[{type:e.Input}],headerFlush:[{type:e.Input}],headerColumns:[{type:e.Input}],container:[{type:e.Input}],flush:[{type:e.Input}],floatingHeader:[{type:e.Input}],floatingHeaderColor:[{type:e.Input}],columns:[{type:e.Input}],columnsCentered:[{type:e.Input}],disclaimerTriggerLabel:[{type:e.Input}],disclaimerOpen:[{type:e.Input}],footerCtaLink:[{type:e.Input}],footerCtaLabel:[{type:e.Input}],footerCtaButton:[{type:e.Input}],footerCtaAlign:[{type:e.Input}],footerlinkclicked:[{type:e.Output}]};var Tn=function(){};Tn.decorators=[{type:e.NgModule,args:[{declarations:[Sn],imports:[n.CommonModule,f,nt,ve,We],exports:[Sn]}]}];var Dn=function(){function t(t){this.idService=t,this.text=0,this.positionX="right",this.pinned=!0,this.id=this.idService.generate()}return t.prototype.ngOnDestroy=function(){this.idService&&this.idService.remove(this.id)},t.prototype.classGen=function(){var t={};return t["rbc-badge-"+this.positionX]=this.positionX,t["rbc-badge-pinned"]=this.pinned,t},t}();Dn.decorators=[{type:e.Component,args:[{selector:"rbc-badge",template:'\n\t\t<div [id]="id" class="rbc-badge">\n\t\t\t<ng-content></ng-content>\n\t\t\t<div class="rbc-badge-text" [ngClass]="classGen()">\n\t\t\t\t{{ text }}\n\t\t\t\t<span *ngIf="label" class="sr-only" [id]="id + \'SRLabel\'">\n\t\t\t\t\t{{ label }}\n\t\t\t\t</span>\n\t\t\t</div>\n\t\t</div>\n\t'}]}],Dn.ctorParameters=function(){return[{type:h}]},Dn.propDecorators={id:[{type:e.Input}],label:[{type:e.Input}],text:[{type:e.Input}],positionX:[{type:e.Input}],pinned:[{type:e.Input}]};var On=function(){};On.decorators=[{type:e.NgModule,args:[{declarations:[Dn],imports:[n.CommonModule],exports:[Dn]}]}];var En=function(){function t(t,n,i){this.idService=t,this.controlDirective=n,this.cdr=i,this.customLookup=["key","value"],this.placeholder="",this.displayKey=!0,this.showAll=!1,this.triggerAfter=2,this.maxResults=-1,this.keepOpen=!1,this.disabled=!1,this.noResultsText="No Results Found",this.size="medium",this.langauge="en",this.selected=new e.EventEmitter,this.onInput=new e.EventEmitter,this.onBlur=new e.EventEmitter,this.onClear=new e.EventEmitter,this.tagsUpdate=new e.EventEmitter,this.clickListener=this.clickOutside.bind(this),this.selectedElement=-1,this.filteredElements=[],this.elements=[],this.toggleSelectPosition=0,this.close=!0,this.optionsSelected=[],this.focused=!1,this.onChange=function(t){},this.onTouched=function(){},this.id=this.id?this.id:this.idService.generate(),this.controlDirective&&(n.valueAccessor=this)}return Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t||"",this.onChange(this._value)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"options",{get:function(){return this.elements},set:function(t){void 0!==t&&(this.elements=t.map((function(t){return void 0!==t.display?t:Object.assign({display:t.value},t)})),this.showAll&&(this.filteredElements=this.elements,this.maxResults>-1&&(this.filteredElements=this.filteredElements.slice(0,this.maxResults)),this.keepOpen||(this.close=!0)))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"open",{get:function(){return!this.close&&!this.hasSelectedItem},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasSelectedItem",{get:function(){return this.selectedElement>=0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasFilteredItems",{get:function(){return this.filteredElements.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasNoResults",{get:function(){return!this.hasFilteredItems&&!this.value.includes(this.value)&&this.value.length>this.triggerAfter},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){this.value=void 0===typeof this.value?"":this.value,this.showAll&&(this.filteredElements=this.elements,this.maxResults>-1&&(this.filteredElements=this.filteredElements.slice(0,this.maxResults))),this.processValue()},t.prototype.ngOnDestroy=function(){this.idService.remove(this.id),document.removeEventListener("click",this.clickListener)},t.prototype.registerOnChange=function(t){this.onChange=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.writeValue=function(t){t&&(this.value=t,this.processValue())},t.prototype.processValue=function(){var t,e=this;this.options&&(this.options.forEach((function(n,i){n.key==e.value&&(e.selectedElement=i||e.toggleSelectPosition,t=n)})),null!=t&&(this.value=this.setQuery(t),this.selectItem(t),this.cdr.detectChanges()))},t.prototype.clickOpen=function(t){this.focused=!0,this.close=t.target.id!=this.inputSearch.id,this.close?document.removeEventListener("click",this.clickListener):(document.addEventListener("click",this.clickListener),this.toggleSelectPosition=0,this.$Card.body.nativeElement.scrollTop=0,this.autocompleteFilters(!1))},t.prototype.Autocomplete_close=function(t,e){this.close=t.target.id!==e,document.removeEventListener("click",this.Autocomplete_close)},t.prototype.onBlurEvent=function(t){this.focused=!1,this.onBlur.emit(t),this.onTouched()},t.prototype.clickOutside=function(t){"escape"===t&&(this.close=!0,this.cdr.detectChanges()),t.target.id!==this.inputSearch.id?(this.close=!0,this.cdr.detectChanges(),document.removeEventListener("click",this.clickListener)):this.close=!1},t.prototype.setQuery=function(t){var e="";return t.key?(e=this.displayKey?t.key.replace("<span class='query'>","").replace("</span>","")+" - ":"",e+=t.value.replace("<span class='query'>","").replace("</span>",""),t.key=t.key.replace("<span class='query'>","").replace("</span>",""),t.value=t.value.replace("<span class='query'>","").replace("</span>","")):e=t,e},t.prototype.queryUpdate=function(t,e){void 0===e&&(e=!0),this.value=t,this.autocompleteFilters(e),this.onInput.emit(t)},t.prototype.selectItem=function(t){this.selected.emit(t);var e=this.setQuery(t);this.value=e,this.close=!0},t.prototype.autocompleteClear=function(t){this.queryUpdate(""),this.selectItem(""),this.onClear.emit(t),this.selectedElement=-1,this.filteredElements=this.showAll?this.elements:[]},t.prototype.$_Autocomplete_toggleSelect=function(t){var e=this.filteredElements.length;if(e>0)if(this.close&&(t.toLowerCase().indexOf("down")>-1||t.toLowerCase().indexOf("up")>-1))this.close=!1,this.autocompleteFilters(),this.cardResults.nativeElement.scrollTop=0;else if(t.toLowerCase().indexOf("down")>-1&&this.toggleSelectPosition<e-1)this.toggleSelectPosition++,this.cardResults.nativeElement.scrollTop=this.$Card.body.nativeElement.querySelector(".active").offsetTop;else if(t.toLowerCase().indexOf("up")>-1&&this.toggleSelectPosition>0){if(this.toggleSelectPosition--,this.$Card.body.nativeElement.querySelector(".active").offsetTop){var n=this.$Card.cardResults.nativeElement.querySelector(".active").offsetTop-2*this.$Card.cardResults.nativeElement.querySelector(".active").offsetHeight;this.cardResults.nativeElement.scrollTop=n}}else"enter"===t.toLowerCase()?(this.close=!0,this.autocompleteUpdateValue(),this.toggleSelectPosition=0):"escape"===t.toLowerCase()&&this.autocompleteClear(t)},t.prototype.autocompleteFilters=function(t){var e=this;void 0===t&&(t=!1),t&&(this.selectedElement=-1),-1===this.value.indexOf("<")&&-1===this.value.indexOf(">")&&(this.showAll||this.value.length>this.triggerAfter&&this.selectedElement<0)?(this.filteredElements=this.elements.filter((function(t){var n=!1;return e.customLookup.forEach((function(i){t[i].toLowerCase().indexOf(e.value.toLowerCase())>-1&&(n=!0)})),e.close=!1,n})),this.filteredElements=this.filteredElements.map((function(t){var n=t.key.toLowerCase().indexOf(e.value.toLowerCase()),i=t.display.toLowerCase().indexOf(e.value.toLowerCase()),a=e.Autocomplete_formatDisplay(n,t.key),o=e.Autocomplete_formatDisplay(i,t.display);return Object.assign({},t,{key:a,value:t.value,display:o})})),this.maxResults>-1&&this.filteredElements.length&&(this.filteredElements=this.filteredElements.slice(0,this.maxResults),this.close=!1)):(this.filteredElements=[],this.toggleSelectPosition=0,this.selectedElement=-1,this.close=!0)},t.prototype.Autocomplete_formatDisplay=function(t,e){return-1!==t&&e.indexOf(">",t)-e.indexOf("<",t)>=0&&(-1!==e.indexOf(">",t)||-1===e.substring(t,e.indexOf(">",t)).indexOf("<",t))?e.substring(0,t)+"<span class='query'>"+e.substring(t,t+this.value.length)+"</span>"+e.substring(t+this.value.length,e.length):e},t.prototype.autoCompleteCleanKey=function(t){return t.replace("<span class='query'>","").replace("</span>","")},t.prototype.autocompleteUpdateValue=function(t){this.selectedElement=t||this.toggleSelectPosition;var e=null;(e=this.filteredElements.length>0?this.filteredElements[this.selectedElement]:this.options[this.selectedElement],this.queryUpdate(this.setQuery(e),!1),this.selectItem(e),this.close=!0,this.tags||this.clearAfter)&&(this.queryUpdate(""),this.close=!0,this.toggleSelectPosition=0,this.optionsSelected.filter((function(t){return t.key===e.key})).length||(this.optionsSelected.push(Object.assign({},e,{selected:!0})),this.tagsUpdate.emit(this.optionsSelected)))},t.prototype.activeDescendant=function(){if(this.open)return this.id+"Option"+this.filteredElements[this.toggleSelectPosition].key;return this.filteredElements.length>0?-1!==this.selectedElement?this.id+"Option"+this.filteredElements[this.selectedElement].key:"":-1!==this.selectedElement?this.id+"Option"+this.options[this.selectedElement].key:""},t.prototype.setInvalid=function(){return this.controlDirective?this.controlDirective.invalid:this.ariaInvalid},t.prototype.heightGen=function(){return this.height&&"string"!=typeof this.height?this.height+"px":this.height},t.prototype.$_Autocomplete_updateSelected=function(){this.optionsSelected=this.optionsSelected.filter((function(t){return t.selected})),this.tagsUpdate.emit(this.optionsSelected)},t}();En.decorators=[{type:e.Component,args:[{selector:"rbc-autocomplete",template:'<div [id]="id" class="rbc-autocomplete">\n\t\x3c!-- Input --\x3e\n\t<rbc-input\n\t\t#InputSearch\n\t\t[ngModel]="value"\n\t\t[id]="id+\'Input\'"\n\t\t[placeholder]="placeholder"\n\t\t[label]="label"\n\t\t[disabled]="disabled"\n\t\t[helpText]="helpText"\n\t\ttype="search"\n\t\t[ariaAutoComplete]="\'list\'"\n\t\t[ariaControls]="id + \'list\'"\n\t\t[role]="\'combobox\'"\n\t\t[ariaLabel]="label"\n\t\t[ariaOwns]="id + \'list\'"\n\t\t[ariaHasPopup]="\'listbox\'"\n\t\t[size]="size"\n\t\t[required]="required"\n\t\t[ariaInvalid]="setInvalid()"\n\t\t[showRequired]="showRequired"\n\t\t(onInput)="queryUpdate($event)"\n\t\t(clear)="autocompleteClear($event)"\n\t\t(onKeyDown)="$_Autocomplete_toggleSelect($event.key)"\n\t\t(click)="!disabled ? clickOpen($event) : null"\n\t\t(focusout)="onBlurEvent($event)"\n\t\tautocomplete="off">\n\t\t<ng-content label select="[label]"></ng-content>\n\t\t<ng-content helpText select="[helpText]"></ng-content>\n\t\t<ng-content error select="[error]"></ng-content>\n\t</rbc-input>\n\n\t<rbc-card\n\t\t[hidden]="!open"\n\t\t#Card\n\t\t[id]="id+\'Card\'"\n\t\t[flush]="true"\n\t\t[scrollable]="true"\n\t\t[cardStyle]="heightGen()"\n\t\tcardClass="rbc-autocomplete-card"\n\t>\n\n\t\t<ul\n\t\t\t[id]="id + \'list\'"\n\t\t\t[attr.aria-labelledby]="id + \'InputLabel\'"\n\t\t\trole="listbox"\n\t\t\tclass="rbc-autocomplete-search-results"\n\t\t>\n\t\t\t<li\n\t\t\t\t*ngFor="let el of filteredElements; index as key"\n\t\t\t\t[id]="id + \'Option\' + autoCompleteCleanKey(el.key)"\n\t\t\t\t[attr.key]="el.key"\n\t\t\t\t[attr.aria-selected]="selectedElement == key"\n\t\t\t\t[ngClass]="{ active: key === toggleSelectPosition }"\n\t\t\t\tclass="rbc-autocomplete-search-result"\n\t\t\t\trole="option"\n\t\t\t\t(mousedown)="$event.preventDefault()"\n\t\t\t\t(mouseover)="toggleSelectPosition = key"\n\t\t\t\ttabindex="0"\n\t\t\t\t(click)="autocompleteUpdateValue(key)"\n\t\t\t\t[innerHTML]="displayKey ? el.key + \' - \' + el.display : el.display">\n\t\t\t</li>\n\t\t\t<li\n\t\t\t\t[id]="id + \'NoResults\'"\n\t\t\t\tclass="rbc-autocomplete-search-result-none active"\n\t\t\t\t*ngIf="!hasFilteredItems && focused && !hasSelectedItem"\n\t\t\t\t(mousedown)="$event.preventDefault()"\n\t\t\t\t[attr.aria-live]="\'assertive\'"\n\t\t\t>\n\t\t\t\t{{noResultsText}}\n\t\t\t</li>\n\t\t</ul>\n\t</rbc-card>\n\t<div\n\t\t*ngIf="tags && optionsSelected.length"\n\t\tclass="rbc-autocomplete-tags"\n\t>\n\t<ng-container *ngFor="let option of optionsSelected">\n\t\t<rbc-tag\n\t\t\t[attr.key]="option.value+\'Tag\'"\n\t\t\t[(ngModel)]="option.selected"\n\t\t\t[checkable]="true"\n\t\t\t(change)="$_Autocomplete_updateSelected()"\n\t\t>\n\t\t\t{{ option.tag || option.value }}\n\t\t</rbc-tag>\n\t</ng-container>\n\t</div>\n\n\n\t\x3c!-- Screen Reader only --\x3e\n\t<span\n\t\t*ngIf="open"\n\t\t[id]="id+\'LiveRegion\'"\n\t\t[attr.aria-live]="\'polite\'"\n\t\tclass="sr-only"\n\t>\n\t\t<template *ngIf="selectedElement == -1">\n\t\t\tThere is no value selected yet.\n\t\t</template>\n\t\t<template *ngIf="selectedElement > -1 && filteredElements.length">\n\t\t\tThe current selected value is\n\t\t\t{{ filteredElements[selectedElement].value }}\n\t\t</template>\n\t\tThere are {{ filteredElements.length }} available options. The focus is\n\t\talready on the first element of the list for the arrows. You can then\n\t\tuse arrows up and down to navigate through the options or you can\n\t\tcontinue typing to reduce the number of options available. Press escape\n\t\tto close it and enter to select the option.\n\t</span>\n</div>\n',encapsulation:e.ViewEncapsulation.None}]}],En.ctorParameters=function(){return[{type:h},{type:a.NgControl,decorators:[{type:e.Optional},{type:e.Self}]},{type:e.ChangeDetectorRef}]},En.propDecorators={customLookup:[{type:e.Input}],helpText:[{type:e.Input}],id:[{type:e.Input}],label:[{type:e.Input}],placeholder:[{type:e.Input}],displayKey:[{type:e.Input}],showAll:[{type:e.Input}],triggerAfter:[{type:e.Input}],maxResults:[{type:e.Input}],height:[{type:e.Input}],required:[{type:e.Input}],showRequired:[{type:e.Input}],keepOpen:[{type:e.Input}],disabled:[{type:e.Input}],noResultsText:[{type:e.Input}],size:[{type:e.Input}],tags:[{type:e.Input}],langauge:[{type:e.Input}],ariaInvalid:[{type:e.Input}],clearAfter:[{type:e.Input}],selected:[{type:e.Output}],onInput:[{type:e.Output}],onBlur:[{type:e.Output}],onClear:[{type:e.Output}],tagsUpdate:[{type:e.Output}],options:[{type:e.Input}],$Card:[{type:e.ViewChild,args:["Card",{static:!1}]}],cardResults:[{type:e.ViewChild,args:["Card",{static:!1,read:e.ElementRef}]}],inputSearch:[{type:e.ViewChild,args:["InputSearch",{static:!0}]}]};var Ln=function(){};Ln.decorators=[{type:e.NgModule,args:[{declarations:[En],imports:[n.CommonModule,a.FormsModule,It,Z,se,st,ct,ot,It,Mt],exports:[En]}]}];var _n=function(){function t(t){this.idService=t,this.closable=!0,this.transition=!0,this.type="info",this.closeLabel="Close",this.shadow=!0,this.alertClosed=new e.EventEmitter,this.msg="default",this.visible=!0,this.id=t.generate()}return t.prototype.ngOnDestroy=function(){this.idService.remove(this.id)},t.prototype.alertClose=function(){this.visible=!1,this.alertClosed.emit("alert closed")},t.prototype.iconGen=function(){return{danger:"exclamation-square",success:"check-circle",warning:"exclamation-triangle",info:"info-circle"}[this.type]},t.prototype.classGen=function(){var t={};return t["rbc-alert-"+this.type]=this.type,t["rbc-alert-shadow"]=this.shadow,t},t}();_n.decorators=[{type:e.Component,args:[{selector:"rbc-alert",template:'\n\t\t\x3c!-- If transition --\x3e\n\t\t<ng-container *ngIf="transition; else isNotTransition">\n\t\t\t\t<div [@opacity-height]="{value:visible}"\n\t\t\t\t\t[id]="id"\n\t\t\t\t\tclass="rbc-alert"\n\t\t\t\t\trole="alert"\n\t\t\t\t\t[ngClass]="classGen()">\n\n\t\t\t\t\t<rbc-icon\n\t\t\t\t\t\t[id]="id+\'Icon\'"\n\t\t\t\t\t\t[icon]="iconGen()"\n\t\t\t\t\t\t[attr.aria-hidden]="true"\n\t\t\t\t\t\ttype="solid"\n\t\t\t\t\t\tclass="rbc-alert-icon"\n\t\t\t\t\t></rbc-icon>\n\t\t\t\t\t<ng-container *ngTemplateOutlet="bodyTmp"></ng-container>\n\t\t\t\t</div>\n\t\t</ng-container>\n\n\t\t\x3c!-- If not transition --\x3e\n\t\t<ng-template #isNotTransition>\n\t\t\t<div\n\t\t\t\t[id]="id"\n\t\t\t\t*ngIf="visible"\n\t\t\t\tclass="rbc-alert"\n\t\t\t\trole="alert"\n\t\t\t\t[ngClass]="\'rbc-alert-\' + type"\n\t\t\t>\n\t\t\t\t<ng-container *ngTemplateOutlet="bodyTmp"></ng-container>\n\t\t\t</div>\n\t\t</ng-template>\n\n\t\t\x3c!-- Alert Body --\x3e\n\t\t<ng-template #bodyTmp>\n\t\t\t<div class="rbc-alert-body">\n\t\t\t\t<h4 *ngIf="title" [id]="id + \'Title\'" class="rbc-alert-title">\n\t\t\t\t\t{{ title }}\n\t\t\t\t</h4>\n\t\t\t\t<ng-content></ng-content>\n\t\t\t\t<button\n\t\t\t\t\t*ngIf="closable"\n\t\t\t\t\t[id]="id+\'CloseButton\'"\n\t\t\t\t\t[attr.aria-label]="closeLabel"\n\t\t\t\t\tclass="rbc-alert-close-button"\n\t\t\t\t\t(click)="alertClose()"\n\t\t\t\t>\n\t\t\t\t\t<rbc-icon\n\t\t\t\t\t\t[attr.aria-hidden]="true"\n\t\t\t\t\t\ttype="solid"\n\t\t\t\t\t\ticon="times"\n\t\t\t\t\t></rbc-icon>\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t</ng-template>\n\t',animations:[c.trigger("opacity-height",[c.state("true",c.style({overflow:"hidden",height:"*",opacity:1})),c.state("false",c.style({height:"0px",overflow:"hidden",opacity:0})),c.state("void",c.style({height:"*",overflow:"hidden"})),c.transition("true => false",c.animate("400ms ease-out")),c.transition("false => true",c.animate("400ms ease-in"))])]}]}],_n.ctorParameters=function(){return[{type:h}]},_n.propDecorators={closable:[{type:e.Input}],title:[{type:e.Input}],id:[{type:e.Input}],transition:[{type:e.Input}],type:[{type:e.Input}],closeLabel:[{type:e.Input}],shadow:[{type:e.Input}],alertClosed:[{type:e.Output}]};var Pn=function(){};Pn.decorators=[{type:e.NgModule,args:[{declarations:[_n],imports:[n.CommonModule,f],exports:[_n]}]}];var Mn=function(){};Mn.decorators=[{type:e.NgModule,args:[{imports:[Pn,Ln,On,Tn,ze,nt,kn,gt,se,ne,wn,un,Xe,ve,We,st,Ge,f,It,ot,He,Ve,$e,Me,kt,_e,gn,Yt,b,Ee,De,ye,Se,xe,de,ce,ie,Jt,tt,ct,qt,Vt,Ft,Mt,_t,Dt,St,Z,ut,pt],exports:[Pn,Ln,On,Tn,ze,nt,kn,gt,se,ne,wn,un,Xe,ve,We,st,Ge,f,It,ot,He,Ve,$e,Me,kt,_e,gn,Yt,b,Ee,De,ye,Se,xe,de,ce,ie,Jt,tt,ct,qt,Vt,Ft,Mt,_t,Dt,St,Z,ut,pt]}]}],t.AlertComponent=_n,t.AlertModule=Pn,t.AutocompleteComponent=En,t.AutocompleteModule=Ln,t.BadgeComponent=Dn,t.BadgeModule=On,t.BitwisePipe=ke,t.BlockComponent=Sn,t.BlockModule=Tn,t.BreadcrumbComponent=Ue,t.BreadcrumbModule=ze,t.ButtonComponent=et,t.ButtonModule=nt,t.ButtonToggleComponent=Cn,t.ButtonToggleInnerComponent=xn,t.ButtonToggleModule=kn,t.CaptionComponent=ht,t.CaptionModule=gt,t.CardComponent=re,t.CardModule=se,t.CheckboxComponent=ee,t.CheckboxModule=ne,t.CheckboxState=Qt,t.CheckboxUpdate=te,t.DataTypes={select:"select",number:"number",string:"string",date:"date",slot:"slot",vue:"vue",angular:"angular"},t.DatatableAdvancedSearcherComponent=fn,t.DatatableColumnFilterComponent=yn,t.DatatableComponent=In,t.DatatableGlobalSearcherComponent=mn,t.DatatableModule=wn,t.DatatableService=vn,t.DatepickerComponent=sn,t.DatepickerDayComponent=cn,t.DatepickerInputComponent=ln,t.DatepickerModule=un,t.DatepickerMonthComponent=pn,t.DatepickerYearComponent=dn,t.DirectivesModule=ye,t.DropdownComponent=qe,t.DropdownModule=Xe,t.ExpandableComponent=fe,t.ExpandableContainerComponent=Ye,t.ExpandableContainerModule=We,t.ExpandableModule=ve,t.FormControlBase=Et,t.HelpTextComponent=rt,t.HelpTextModule=st,t.HeroComponent=je,t.HeroModule=Ge,t.IconCircleColorDirective=y,t.IconComponent=m,t.IconModule=f,t.IdService=h,t.InputComponent=vt,t.InputModule=It,t.InputValidator=he,t.LabelComponent=at,t.LabelModule=ot,t.LayoutComponent=Ne,t.LayoutModule=He,t.LibraryModule=Mn,t.LinkCardComponent=Be,t.LinkCardContainerComponent=Fe,t.LinkCardModule=Ve,t.Locale=bn,t.LocationService=Rt,t.MediaCardComponent=Ae,t.MediaCardFooterComponent=Re,t.MediaCardModule=$e,t.MenuComponent=Ct,t.MenuItemComponent=xt,t.MenuModule=kt,t.ModalComponent=Pe,t.ModalModule=Me,t.MultiselectComponent=Le,t.MultiselectModule=_e,t.PaginatorComponent=hn,t.PaginatorModule=gn,t.PipesModule=Se,t.PointComponent=Gt,t.PointModule=Yt,t.PopoverService=wt,t.ProgressbarComponent=g,t.ProgressbarModule=b,t.RadioComponent=Oe,t.RadioModule=Ee,t.SelectComponent=Te,t.SelectModule=De,t.SidenavComponent=we,t.SidenavItemComponent=Ce,t.SidenavModule=xe,t.SidenavService=Ie,t.SliderComponent=pe,t.SliderModule=de,t.SlotDefaultDirective=be,t.SlotMarkerDirective=me,t.SmoothScrollDirective=ue,t.SnackbarComponent=oe,t.SnackbarContainerComponent=le,t.SnackbarModule=ce,t.SortComponent=Zt,t.SortLocale=Kt,t.SortModule=ie,t.SpeechComponent=Xt,t.SpeechModule=Jt,t.SpinnerComponent=Q,t.SpinnerModule=tt,t.StatusComponent=lt,t.StatusModule=ct,t.StepperComponent=zt,t.StepperContainerComponent=jt,t.StepperContentComponent=Ht,t.StepperModule=qt,t.StepperStandaloneComponent=Wt,t.StepsDataService=Nt,t.SwitchComponent=Bt,t.SwitchModule=Vt,t.TabComponent=$t,t.TabContentComponent=At,t.TabModule=Ft,t.TabTrap=ae,t.TagComponent=Pt,t.TagModule=Mt,t.TextareaComponent=Lt,t.TextareaModule=_t,t.TooltipComponent=Tt,t.TooltipModule=Dt,t.TopnavComponent=bt,t.TopnavModule=St,t.TopnavitemComponent=mt,t.TransitionComponent=j,t.TransitionHeightComponent=K,t.TransitionModule=Z,t.TransitionNewComponent=dt,t.TransitionNewModule=ut,t.TransitionNumberComponent=U,t.UploaderComponent=it,t.UploaderModule=pt,t.ValueAccessorBase=Ot,t.baseTransitionAnimations=H,t.currencyOpts=[{label:"CAD",value:"cad"},{label:"USD",value:"usd"}],t.easeInOut=v,t.formatCurrency=ft,t.formatNumber=yt,t.getCssFriendlyHeight=C,t.guid=Ze,t.heightEnter=A,t.heightLeave=$,t.intToChar=Je,t.isMobile=Ut,t.langOpts={english:"en",french:"fr"},t.maxHeightEnter=V,t.maxHeightLeave=N,t.opacityDownEnter=D,t.opacityDownLeave=O,t.opacityEnter=x,t.opacityHeightEnter=M,t.opacityHeightLeave=R,t.opacityLeave=k,t.opacityLeftEnter=E,t.opacityLeftLeave=L,t.opacityMaxHeightEnter=F,t.opacityMaxHeightLeave=B,t.opacityRightEnter=_,t.opacityRightLeave=P,t.opacityUpEnter=S,t.opacityUpLeave=T,t.rand=Ke,Object.defineProperty(t,"__esModule",{value:!0})}));
//# sourceMappingURL=rbc-dsse-framework-library-angular.umd.min.js.map