-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path26-es2015.b7d2430b181e3db5467b.js
1 lines (1 loc) · 120 KB
/
26-es2015.b7d2430b181e3db5467b.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{"/1cH":function(t,e,i){"use strict";i.d(e,"a",function(){return M}),i.d(e,"b",function(){return W}),i.d(e,"c",function(){return G});var s=i("u47x"),n=i("8LU1"),a=i("fXoL"),r=i("FKr1"),o=i("quSY"),l=i("XNiG"),c=i("NXyV"),h=i("VRyK"),d=i("LRne"),p=i("xgIS"),m=i("ofXK"),u=i("rDax"),f=i("vxfF"),_=i("FtGj"),b=i("nLfN"),g=i("+rOU"),v=i("3Pt+"),y=i("kmnG"),w=i("IzEk"),x=i("eIep"),O=i("pLZG"),C=i("lJxs"),S=i("vkgz"),D=i("3E0/"),R=i("cH1L");const E=["panel"];function k(t,e){if(1&t&&(a.ec(0,"div",0,1),a.tc(2),a.dc()),2&t){const t=e.id,i=a.pc();a.vc("id",i.id)("ngClass",i._classList),a.Nb("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(t))}}const I=["*"];let j=0;class P{constructor(t,e){this.source=t,this.option=e}}class L{}const T=Object(r.A)(L),A=new a.x("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}});let F=(()=>{class t extends T{constructor(t,e,i){super(),this._changeDetectorRef=t,this._elementRef=e,this._activeOptionChanges=o.a.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new a.s,this.opened=new a.s,this.closed=new a.s,this.optionActivated=new a.s,this._classList={},this.id="mat-autocomplete-"+j++,this._autoActiveFirstOption=!!i.autoActiveFirstOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(t){this._autoActiveFirstOption=Object(n.c)(t)}set classList(t){this._classList=t&&t.length?Object(n.g)(t).reduce((t,e)=>(t[e]=!0,t),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new s.b(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(t=>{this.optionActivated.emit({source:this,option:this.options.toArray()[t]||null})}),this._setVisibility()}ngOnDestroy(){this._activeOptionChanges.unsubscribe()}_setScrollTop(t){this.panel&&(this.panel.nativeElement.scrollTop=t)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(t){const e=new P(this,t);this.optionSelected.emit(e)}_getPanelAriaLabelledby(t){return this.ariaLabel?null:this.ariaLabelledby?t+" "+this.ariaLabelledby:t}_setVisibilityClasses(t){t[this._visibleClass]=this.showPanel,t[this._hiddenClass]=!this.showPanel}}return t.\u0275fac=function(e){return new(e||t)(a.Yb(a.i),a.Yb(a.p),a.Yb(A))},t.\u0275dir=a.Tb({type:t,viewQuery:function(t,e){if(1&t&&(a.Mc(a.V,!0),a.Wc(E,!0)),2&t){let t;a.Bc(t=a.mc())&&(e.template=t.first),a.Bc(t=a.mc())&&(e.panel=t.first)}},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[a.Jb]}),t})(),M=(()=>{class t extends F{constructor(){super(...arguments),this._visibleClass="mat-autocomplete-visible",this._hiddenClass="mat-autocomplete-hidden"}}return t.\u0275fac=function(e){return z(e||t)},t.\u0275cmp=a.Sb({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(t,e,i){if(1&t&&(a.Rb(i,r.g,!0),a.Rb(i,r.o,!0)),2&t){let t;a.Bc(t=a.mc())&&(e.optionGroups=t),a.Bc(t=a.mc())&&(e.options=t)}},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[a.Lb([{provide:r.h,useExisting:t}]),a.Jb],ngContentSelectors:I,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(t,e){1&t&&(a.uc(),a.Qc(0,k,3,4,"ng-template"))},directives:[m.q],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}\n"],encapsulation:2,changeDetection:0}),t})();const z=a.gc(M),B=new a.x("mat-autocomplete-scroll-strategy"),V={provide:B,deps:[u.c],useFactory:function(t){return()=>t.scrollStrategies.reposition()}},Y={provide:v.l,useExisting:Object(a.eb)(()=>G),multi:!0};let N=(()=>{class t{constructor(t,e,i,s,n,a,r,d,p,m,u){this._element=t,this._overlay=e,this._viewContainerRef=i,this._zone=s,this._changeDetectorRef=n,this._dir=r,this._formField=d,this._document=p,this._viewportRuler=m,this._defaults=u,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=o.a.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new l.a,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Object(c.a)(()=>this.autocomplete&&this.autocomplete.options?Object(h.a)(...this.autocomplete.options.map(t=>t.onSelectionChange)):this._zone.onStable.pipe(Object(w.a)(1),Object(x.a)(()=>this.optionSelections))),this._scrollStrategy=a}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(t){this._autocompleteDisabled=Object(n.c)(t)}ngAfterViewInit(){const t=this._getWindow();void 0!==t&&this._zone.runOutsideAngular(()=>t.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(t){t.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const t=this._getWindow();void 0!==t&&t.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return Object(h.a)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Object(O.a)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Object(O.a)(()=>this._overlayAttached)):Object(d.a)()).pipe(Object(C.a)(t=>t instanceof r.q?t:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return Object(h.a)(Object(p.a)(this._document,"click"),Object(p.a)(this._document,"touchend")).pipe(Object(O.a)(t=>{const e=this._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,i=this._formField?this._formField._elementRef.nativeElement:null,s=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&e!==this._element.nativeElement&&(!i||!i.contains(e))&&(!s||!s.contains(e))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(e)}))}writeValue(t){Promise.resolve(null).then(()=>this._setTriggerValue(t))}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this._element.nativeElement.disabled=t}_handleKeydown(t){const e=t.keyCode;if(e!==_.h||Object(_.t)(t)||t.preventDefault(),this.activeOption&&e===_.g&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),t.preventDefault();else if(this.autocomplete){const i=this.autocomplete._keyManager.activeItem,s=e===_.q||e===_.e;this.panelOpen||e===_.p?this.autocomplete._keyManager.onKeydown(t):s&&this._canOpen()&&this.openPanel(),(s||this.autocomplete._keyManager.activeItem!==i)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}_handleInput(t){let e=t.target,i=e.value;"number"===e.type&&(i=""==i?null:parseFloat(i)),this._previousValue!==i&&(this._previousValue=i,this._onChange(i),this._canOpen()&&this._document.activeElement===t.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_floatLabel(t=!1){this._formField&&"auto"===this._formField.floatLabel&&(t?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const t=this._zone.onStable.pipe(Object(w.a)(1)),e=this.autocomplete.options.changes.pipe(Object(S.a)(()=>this._positionStrategy.reapplyLastPosition()),Object(D.a)(0));return Object(h.a)(t,e).pipe(Object(x.a)(()=>{const t=this.panelOpen;return this._resetActiveItem(),this.autocomplete._setVisibility(),this.panelOpen&&(this._overlayRef.updatePosition(),t!==this.panelOpen&&this.autocomplete.opened.emit()),this.panelClosingActions}),Object(w.a)(1)).subscribe(t=>this._setValueAndClose(t))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_setTriggerValue(t){const e=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(t):t,i=null!=e?e:"";this._formField?this._formField._control.value=i:this._element.nativeElement.value=i,this._previousValue=i}_setValueAndClose(t){t&&t.source&&(this._clearPreviousSelectedOption(t.source),this._setTriggerValue(t.source.value),this._onChange(t.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(t.source)),this.closePanel()}_clearPreviousSelectedOption(t){this.autocomplete.options.forEach(e=>{e!==t&&e.selected&&e.deselect()})}_attachOverlay(){var t;null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!Object(b.c)(this._element.nativeElement));let e=this._overlayRef;e?(this._positionStrategy.setOrigin(this._getConnectedElement()),e.updateSize({width:this._getPanelWidth()})):(this._portal=new g.i(this.autocomplete.template,this._viewContainerRef,{id:null===(t=this._formField)||void 0===t?void 0:t._labelId}),e=this._overlay.create(this._getOverlayConfig()),this._overlayRef=e,e.keydownEvents().subscribe(t=>{(t.keyCode===_.h&&!Object(_.t)(t)||t.keyCode===_.q&&Object(_.t)(t,"altKey"))&&(this._resetActiveItem(),this._closeKeyEventStream.next(),t.stopPropagation(),t.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&e&&e.updateSize({width:this._getPanelWidth()})})),e&&!e.hasAttached()&&(e.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){var t;return new u.d({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(t=this._defaults)||void 0===t?void 0:t.overlayPanelClass})}_getOverlayPosition(){const t=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(t),this._positionStrategy=t,t}_setStrategyPositions(t){const e=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],i=this._aboveClass,s=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:i},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:i}];let n;n="above"===this.position?s:"below"===this.position?e:[...e,...s],t.withPositions(n)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){this.autocomplete._keyManager.setActiveItem(this.autocomplete.autoActiveFirstOption?0:-1)}_canOpen(){const t=this._element.nativeElement;return!t.readOnly&&!t.disabled&&!this._autocompleteDisabled}_getWindow(){var t;return(null===(t=this._document)||void 0===t?void 0:t.defaultView)||window}_scrollToOption(t){const e=this.autocomplete,i=Object(r.x)(t,e.options,e.optionGroups);if(0===t&&1===i)e._setScrollTop(0);else{const i=e.options.toArray()[t];if(i){const t=i._getHostElement(),s=Object(r.y)(t.offsetTop,t.offsetHeight,e._getScrollTop(),e.panel.nativeElement.offsetHeight);e._setScrollTop(s)}}}}return t.\u0275fac=function(e){return new(e||t)(a.Yb(a.p),a.Yb(u.c),a.Yb(a.ab),a.Yb(a.I),a.Yb(a.i),a.Yb(B),a.Yb(R.c,8),a.Yb(y.a,9),a.Yb(m.e,8),a.Yb(f.j),a.Yb(A,8))},t.\u0275dir=a.Tb({type:t,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[a.Kb]}),t})(),G=(()=>{class t extends N{constructor(){super(...arguments),this._aboveClass="mat-autocomplete-panel-above"}}return t.\u0275fac=function(e){return H(e||t)},t.\u0275dir=a.Tb({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(t,e){1&t&&a.lc("focusin",function(){return e._handleFocus()})("blur",function(){return e._onTouched()})("input",function(t){return e._handleInput(t)})("keydown",function(t){return e._handleKeydown(t)}),2&t&&a.Nb("autocomplete",e.autocompleteAttribute)("role",e.autocompleteDisabled?null:"combobox")("aria-autocomplete",e.autocompleteDisabled?null:"list")("aria-activedescendant",e.panelOpen&&e.activeOption?e.activeOption.id:null)("aria-expanded",e.autocompleteDisabled?null:e.panelOpen.toString())("aria-owns",e.autocompleteDisabled||!e.panelOpen||null==e.autocomplete?null:e.autocomplete.id)("aria-haspopup",!e.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[a.Lb([Y]),a.Jb]}),t})();const H=a.gc(G);let W=(()=>{class t{}return t.\u0275mod=a.Wb({type:t}),t.\u0275inj=a.Vb({factory:function(e){return new(e||t)},providers:[V],imports:[[u.f,r.p,r.j,m.c],f.c,r.p,r.j]}),t})()},"1kqw":function(t,e,i){"use strict";i.r(e),i.d(e,"ChipsAutocompleteExample",function(){return Q}),i.d(e,"ChipsDragDropExample",function(){return U}),i.d(e,"ChipsExamplesModule",function(){return nt}),i.d(e,"ChipsHarnessExample",function(){return st}),i.d(e,"ChipsInputExample",function(){return J}),i.d(e,"ChipsOverviewExample",function(){return tt}),i.d(e,"ChipsStackedExample",function(){return it});var s=i("5+WD"),n=i("ofXK"),a=i("fXoL"),r=i("3Pt+"),o=i("/1cH"),l=i("FtGj"),c=i("FKr1"),h=i("8LU1"),d=i("R1ws"),p=i("XNiG"),m=i("VRyK"),u=i("IzEk"),f=i("1G5W"),_=i("JX91"),b=i("u47x"),g=i("0EQZ"),v=i("kmnG"),y=i("nLfN"),w=i("cH1L");const x=["*"],O=new a.x("MatChipRemove"),C=new a.x("MatChipAvatar"),S=new a.x("MatChipTrailingIcon");class D{constructor(t){this._elementRef=t}}const R=Object(c.E)(Object(c.z)(Object(c.A)(D),"primary"),-1);let E=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Tb({type:t,selectors:[["mat-chip-avatar"],["","matChipAvatar",""]],hostAttrs:[1,"mat-chip-avatar"],features:[a.Lb([{provide:C,useExisting:t}])]}),t})(),k=(()=>{class t extends R{constructor(t,e,i,s,n,r,o,l){super(t),this._elementRef=t,this._ngZone=e,this._changeDetectorRef=n,this._hasFocus=!1,this.chipListSelectable=!0,this._chipListMultiple=!1,this._chipListDisabled=!1,this._selected=!1,this._selectable=!0,this._disabled=!1,this._removable=!0,this._onFocus=new p.a,this._onBlur=new p.a,this.selectionChange=new a.s,this.destroyed=new a.s,this.removed=new a.s,this._addHostClassName(),this._chipRippleTarget=r.createElement("div"),this._chipRippleTarget.classList.add("mat-chip-ripple"),this._elementRef.nativeElement.appendChild(this._chipRippleTarget),this._chipRipple=new c.v(this,e,this._chipRippleTarget,i),this._chipRipple.setupTriggerEvents(t),this.rippleConfig=s||{},this._animationsDisabled="NoopAnimations"===o,this.tabIndex=null!=l&&parseInt(l)||-1}get rippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}get selected(){return this._selected}set selected(t){const e=Object(h.c)(t);e!==this._selected&&(this._selected=e,this._dispatchSelectionChange())}get value(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent}set value(t){this._value=t}get selectable(){return this._selectable&&this.chipListSelectable}set selectable(t){this._selectable=Object(h.c)(t)}get disabled(){return this._chipListDisabled||this._disabled}set disabled(t){this._disabled=Object(h.c)(t)}get removable(){return this._removable}set removable(t){this._removable=Object(h.c)(t)}get ariaSelected(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}_addHostClassName(){const t=this._elementRef.nativeElement;t.hasAttribute("mat-basic-chip")||"mat-basic-chip"===t.tagName.toLowerCase()?t.classList.add("mat-basic-chip"):t.classList.add("mat-standard-chip")}ngOnDestroy(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}select(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}deselect(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}selectViaInteraction(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}toggleSelected(t=!1){return this._selected=!this.selected,this._dispatchSelectionChange(t),this._changeDetectorRef.markForCheck(),this.selected}focus(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}remove(){this.removable&&this.removed.emit({chip:this})}_handleClick(t){this.disabled?t.preventDefault():t.stopPropagation()}_handleKeydown(t){if(!this.disabled)switch(t.keyCode){case l.d:case l.b:this.remove(),t.preventDefault();break;case l.o:this.selectable&&this.toggleSelected(!0),t.preventDefault()}}_blur(){this._ngZone.onStable.pipe(Object(u.a)(1)).subscribe(()=>{this._ngZone.run(()=>{this._hasFocus=!1,this._onBlur.next({chip:this})})})}_dispatchSelectionChange(t=!1){this.selectionChange.emit({source:this,isUserInput:t,selected:this._selected})}}return t.\u0275fac=function(e){return new(e||t)(a.Yb(a.p),a.Yb(a.I),a.Yb(y.a),a.Yb(c.i,8),a.Yb(a.i),a.Yb(n.e),a.Yb(d.a,8),a.jc("tabindex"))},t.\u0275dir=a.Tb({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(t,e,i){if(1&t&&(a.Rb(i,C,!0),a.Rb(i,S,!0),a.Rb(i,O,!0)),2&t){let t;a.Bc(t=a.mc())&&(e.avatar=t.first),a.Bc(t=a.mc())&&(e.trailingIcon=t.first),a.Bc(t=a.mc())&&(e.removeIcon=t.first)}},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(t,e){1&t&&a.lc("click",function(t){return e._handleClick(t)})("keydown",function(t){return e._handleKeydown(t)})("focus",function(){return e.focus()})("blur",function(){return e._blur()}),2&t&&(a.Nb("tabindex",e.disabled?null:e.tabIndex)("disabled",e.disabled||null)("aria-disabled",e.disabled.toString())("aria-selected",e.ariaSelected),a.Qb("mat-chip-selected",e.selected)("mat-chip-with-avatar",e.avatar)("mat-chip-with-trailing-icon",e.trailingIcon||e.removeIcon)("mat-chip-disabled",e.disabled)("_mat-animation-noopable",e._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[a.Jb]}),t})(),I=(()=>{class t{constructor(t,e){this._parentChip=t,"BUTTON"===e.nativeElement.nodeName&&e.nativeElement.setAttribute("type","button")}_handleClick(t){const e=this._parentChip;e.removable&&!e.disabled&&e.remove(),t.stopPropagation()}}return t.\u0275fac=function(e){return new(e||t)(a.Yb(k),a.Yb(a.p))},t.\u0275dir=a.Tb({type:t,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(t,e){1&t&&a.lc("click",function(t){return e._handleClick(t)})},features:[a.Lb([{provide:O,useExisting:t}])]}),t})();const j=new a.x("mat-chips-default-options");class P{constructor(t,e,i,s){this._defaultErrorStateMatcher=t,this._parentForm=e,this._parentFormGroup=i,this.ngControl=s}}const L=Object(c.C)(P);let T=0;class A{constructor(t,e){this.source=t,this.value=e}}let F=(()=>{class t extends L{constructor(t,e,i,s,n,r,o){super(r,s,n,o),this._elementRef=t,this._changeDetectorRef=e,this._dir=i,this.ngControl=o,this.controlType="mat-chip-list",this._lastDestroyedChipIndex=null,this._destroyed=new p.a,this._uid="mat-chip-list-"+T++,this._tabIndex=0,this._userTabIndex=null,this._onTouched=()=>{},this._onChange=()=>{},this._multiple=!1,this._compareWith=(t,e)=>t===e,this._required=!1,this._disabled=!1,this.ariaOrientation="horizontal",this._selectable=!0,this.change=new a.s,this.valueChange=new a.s,this.ngControl&&(this.ngControl.valueAccessor=this)}get selected(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}get role(){return this.empty?null:"listbox"}get multiple(){return this._multiple}set multiple(t){this._multiple=Object(h.c)(t),this._syncChipsState()}get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this.writeValue(t),this._value=t}get id(){return this._chipInput?this._chipInput.id:this._uid}get required(){return this._required}set required(t){this._required=Object(h.c)(t),this.stateChanges.next()}get placeholder(){return this._chipInput?this._chipInput.placeholder:this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}get focused(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}get empty(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}get shouldLabelFloat(){return!this.empty||this.focused}get disabled(){return this.ngControl?!!this.ngControl.disabled:this._disabled}set disabled(t){this._disabled=Object(h.c)(t),this._syncChipsState()}get selectable(){return this._selectable}set selectable(t){this._selectable=Object(h.c)(t),this.chips&&this.chips.forEach(t=>t.chipListSelectable=this._selectable)}set tabIndex(t){this._userTabIndex=t,this._tabIndex=t}get chipSelectionChanges(){return Object(m.a)(...this.chips.map(t=>t.selectionChange))}get chipFocusChanges(){return Object(m.a)(...this.chips.map(t=>t._onFocus))}get chipBlurChanges(){return Object(m.a)(...this.chips.map(t=>t._onBlur))}get chipRemoveChanges(){return Object(m.a)(...this.chips.map(t=>t.destroyed))}ngAfterContentInit(){this._keyManager=new b.g(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(Object(f.a)(this._destroyed)).subscribe(t=>this._keyManager.withHorizontalOrientation(t)),this._keyManager.tabOut.pipe(Object(f.a)(this._destroyed)).subscribe(()=>{this._allowFocusEscape()}),this.chips.changes.pipe(Object(_.a)(null),Object(f.a)(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>{this._syncChipsState()}),this._resetChips(),this._initializeSelection(),this._updateTabIndex(),this._updateFocusForDestroyedChips(),this.stateChanges.next()})}ngOnInit(){this._selectionModel=new g.c(this.multiple,void 0,!1),this.stateChanges.next()}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}registerInput(t){this._chipInput=t,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",t.id)}setDescribedByIds(t){this._ariaDescribedby=t.join(" ")}writeValue(t){this.chips&&this._setSelectionByValue(t,!1)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this.stateChanges.next()}onContainerClick(t){this._originatesFromChip(t)||this.focus()}focus(t){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(t),this.stateChanges.next()))}_focusInput(t){this._chipInput&&this._chipInput.focus(t)}_keydown(t){const e=t.target;t.keyCode===l.b&&this._isInputEmpty(e)?(this._keyManager.setLastItemActive(),t.preventDefault()):e&&e.classList.contains("mat-chip")&&(this._keyManager.onKeydown(t),this.stateChanges.next())}_updateTabIndex(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}_updateFocusForDestroyedChips(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){const t=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(t)}else this.focus();this._lastDestroyedChipIndex=null}_isValidIndex(t){return t>=0&&t<this.chips.length}_isInputEmpty(t){return!(!t||"input"!==t.nodeName.toLowerCase()||t.value)}_setSelectionByValue(t,e=!0){if(this._clearSelection(),this.chips.forEach(t=>t.deselect()),Array.isArray(t))t.forEach(t=>this._selectValue(t,e)),this._sortValues();else{const i=this._selectValue(t,e);i&&e&&this._keyManager.setActiveItem(i)}}_selectValue(t,e=!0){const i=this.chips.find(e=>null!=e.value&&this._compareWith(e.value,t));return i&&(e?i.selectViaInteraction():i.select(),this._selectionModel.select(i)),i}_initializeSelection(){Promise.resolve().then(()=>{(this.ngControl||this._value)&&(this._setSelectionByValue(this.ngControl?this.ngControl.value:this._value,!1),this.stateChanges.next())})}_clearSelection(t){this._selectionModel.clear(),this.chips.forEach(e=>{e!==t&&e.deselect()}),this.stateChanges.next()}_sortValues(){this._multiple&&(this._selectionModel.clear(),this.chips.forEach(t=>{t.selected&&this._selectionModel.select(t)}),this.stateChanges.next())}_propagateChanges(t){let e=null;e=Array.isArray(this.selected)?this.selected.map(t=>t.value):this.selected?this.selected.value:t,this._value=e,this.change.emit(new A(this,e)),this.valueChange.emit(e),this._onChange(e),this._changeDetectorRef.markForCheck()}_blur(){this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(()=>{this.focused||this._markAsTouched()}):this._markAsTouched())}_markAsTouched(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}_allowFocusEscape(){-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(()=>{this._tabIndex=this._userTabIndex||0,this._changeDetectorRef.markForCheck()}))}_resetChips(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}_dropSubscriptions(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}_listenToChipsSelection(){this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(t=>{t.source.selected?this._selectionModel.select(t.source):this._selectionModel.deselect(t.source),this.multiple||this.chips.forEach(t=>{!this._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),t.isUserInput&&this._propagateChanges()})}_listenToChipsFocus(){this._chipFocusSubscription=this.chipFocusChanges.subscribe(t=>{let e=this.chips.toArray().indexOf(t.chip);this._isValidIndex(e)&&this._keyManager.updateActiveItem(e),this.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(()=>{this._blur(),this.stateChanges.next()})}_listenToChipsRemoved(){this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(t=>{const e=t.chip,i=this.chips.toArray().indexOf(t.chip);this._isValidIndex(i)&&e._hasFocus&&(this._lastDestroyedChipIndex=i)})}_originatesFromChip(t){let e=t.target;for(;e&&e!==this._elementRef.nativeElement;){if(e.classList.contains("mat-chip"))return!0;e=e.parentElement}return!1}_hasFocusedChip(){return this.chips&&this.chips.some(t=>t._hasFocus)}_syncChipsState(){this.chips&&this.chips.forEach(t=>{t._chipListDisabled=this._disabled,t._chipListMultiple=this.multiple})}}return t.\u0275fac=function(e){return new(e||t)(a.Yb(a.p),a.Yb(a.i),a.Yb(w.c,8),a.Yb(r.p,8),a.Yb(r.i,8),a.Yb(c.d),a.Yb(r.m,10))},t.\u0275cmp=a.Sb({type:t,selectors:[["mat-chip-list"]],contentQueries:function(t,e,i){if(1&t&&a.Rb(i,k,!0),2&t){let t;a.Bc(t=a.mc())&&(e.chips=t)}},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(t,e){1&t&&a.lc("focus",function(){return e.focus()})("blur",function(){return e._blur()})("keydown",function(t){return e._keydown(t)}),2&t&&(a.hc("id",e._uid),a.Nb("tabindex",e.disabled?null:e._tabIndex)("aria-describedby",e._ariaDescribedby||null)("aria-required",e.role?e.required:null)("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-multiselectable",e.multiple)("role",e.role)("aria-orientation",e.ariaOrientation),a.Qb("mat-chip-list-disabled",e.disabled)("mat-chip-list-invalid",e.errorState)("mat-chip-list-required",e.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[a.Lb([{provide:v.d,useExisting:t}]),a.Jb],ngContentSelectors:x,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(t,e){1&t&&(a.uc(),a.ec(0,"div",0),a.tc(1),a.dc())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),t})(),M=0,z=(()=>{class t{constructor(t,e){this._elementRef=t,this._defaultOptions=e,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new a.s,this.placeholder="",this.id="mat-chip-list-input-"+M++,this._disabled=!1,this._inputElement=this._elementRef.nativeElement}set chipList(t){t&&(this._chipList=t,this._chipList.registerInput(this))}get addOnBlur(){return this._addOnBlur}set addOnBlur(t){this._addOnBlur=Object(h.c)(t)}get disabled(){return this._disabled||this._chipList&&this._chipList.disabled}set disabled(t){this._disabled=Object(h.c)(t)}get empty(){return!this._inputElement.value}ngOnChanges(){this._chipList.stateChanges.next()}_keydown(t){t&&t.keyCode===l.p&&!Object(l.t)(t,"shiftKey")&&this._chipList._allowFocusEscape(),this._emitChipEnd(t)}_blur(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}_focus(){this.focused=!0,this._chipList.stateChanges.next()}_emitChipEnd(t){!this._inputElement.value&&t&&this._chipList._keydown(t),t&&!this._isSeparatorKey(t)||(this.chipEnd.emit({input:this._inputElement,value:this._inputElement.value}),t&&t.preventDefault())}_onInput(){this._chipList.stateChanges.next()}focus(t){this._inputElement.focus(t)}_isSeparatorKey(t){return!Object(l.t)(t)&&new Set(this.separatorKeyCodes).has(t.keyCode)}}return t.\u0275fac=function(e){return new(e||t)(a.Yb(a.p),a.Yb(j))},t.\u0275dir=a.Tb({type:t,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(t,e){1&t&&a.lc("keydown",function(t){return e._keydown(t)})("blur",function(){return e._blur()})("focus",function(){return e._focus()})("input",function(){return e._onInput()}),2&t&&(a.hc("id",e.id),a.Nb("disabled",e.disabled||null)("placeholder",e.placeholder||null)("aria-invalid",e._chipList&&e._chipList.ngControl?e._chipList.ngControl.invalid:null)("aria-required",e._chipList&&e._chipList.required||null))},inputs:{separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[a.Kb]}),t})();const B={separatorKeyCodes:[l.g]};let V=(()=>{class t{}return t.\u0275mod=a.Wb({type:t}),t.\u0275inj=a.Vb({factory:function(e){return new(e||t)},providers:[c.d,{provide:j,useValue:B}],imports:[[c.j]]}),t})();var Y=i("NFeN"),N=i("lJxs");const G=["fruitInput"],H=["auto"];function W(t,e){1&t&&(Object(a.ec)(0,"mat-icon",11),Object(a.Sc)(1,"cancel"),Object(a.dc)())}function q(t,e){if(1&t){const t=Object(a.fc)();Object(a.ec)(0,"mat-chip",9),Object(a.lc)("removed",function(){Object(a.Gc)(t);const i=e.$implicit;return Object(a.pc)().remove(i)}),Object(a.Sc)(1),Object(a.Qc)(2,W,2,0,"mat-icon",10),Object(a.dc)()}if(2&t){const t=e.$implicit,i=Object(a.pc)();Object(a.vc)("selectable",i.selectable)("removable",i.removable),Object(a.Mb)(1),Object(a.Uc)(" ",t," "),Object(a.Mb)(1),Object(a.vc)("ngIf",i.removable)}}function K(t,e){if(1&t&&(Object(a.ec)(0,"mat-option",12),Object(a.Sc)(1),Object(a.dc)()),2&t){const t=e.$implicit;Object(a.vc)("value",t),Object(a.Mb)(1),Object(a.Uc)(" ",t," ")}}let Q=(()=>{class t{constructor(){this.visible=!0,this.selectable=!0,this.removable=!0,this.separatorKeysCodes=[l.g,l.c],this.fruitCtrl=new r.e,this.fruits=["Lemon"],this.allFruits=["Apple","Lemon","Lime","Orange","Strawberry"],this.filteredFruits=this.fruitCtrl.valueChanges.pipe(Object(_.a)(null),Object(N.a)(t=>t?this._filter(t):this.allFruits.slice()))}add(t){const e=t.input,i=t.value;(i||"").trim()&&this.fruits.push(i.trim()),e&&(e.value=""),this.fruitCtrl.setValue(null)}remove(t){const e=this.fruits.indexOf(t);e>=0&&this.fruits.splice(e,1)}selected(t){this.fruits.push(t.option.viewValue),this.fruitInput.nativeElement.value="",this.fruitCtrl.setValue(null)}_filter(t){const e=t.toLowerCase();return this.allFruits.filter(t=>0===t.toLowerCase().indexOf(e))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Object(a.Sb)({type:t,selectors:[["chips-autocomplete-example"]],viewQuery:function(t,e){if(1&t&&(Object(a.Wc)(G,!0),Object(a.Wc)(H,!0)),2&t){let t;Object(a.Bc)(t=Object(a.mc)())&&(e.fruitInput=t.first),Object(a.Bc)(t=Object(a.mc)())&&(e.matAutocomplete=t.first)}},decls:12,vars:8,consts:[[1,"example-chip-list"],["aria-label","Fruit selection"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","New fruit...",3,"formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["fruitInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""],[3,"value"]],template:function(t,e){if(1&t&&(Object(a.ec)(0,"mat-form-field",0),Object(a.ec)(1,"mat-label"),Object(a.Sc)(2,"Favorite Fruits"),Object(a.dc)(),Object(a.ec)(3,"mat-chip-list",1,2),Object(a.Qc)(5,q,3,4,"mat-chip",3),Object(a.ec)(6,"input",4,5),Object(a.lc)("matChipInputTokenEnd",function(t){return e.add(t)}),Object(a.dc)(),Object(a.dc)(),Object(a.ec)(8,"mat-autocomplete",6,7),Object(a.lc)("optionSelected",function(t){return e.selected(t)}),Object(a.Qc)(10,K,2,2,"mat-option",8),Object(a.qc)(11,"async"),Object(a.dc)(),Object(a.dc)()),2&t){const t=Object(a.Cc)(4),i=Object(a.Cc)(9);Object(a.Mb)(5),Object(a.vc)("ngForOf",e.fruits),Object(a.Mb)(1),Object(a.vc)("formControl",e.fruitCtrl)("matAutocomplete",i)("matChipInputFor",t)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes),Object(a.Mb)(4),Object(a.vc)("ngForOf",Object(a.rc)(11,6,e.filteredFruits))}},directives:[v.c,v.g,F,n.s,r.c,o.c,z,r.n,r.f,o.a,k,n.t,Y.a,I,c.o],pipes:[n.b],styles:[".example-chip-list[_ngcontent-%COMP%] {\n width: 100%;\n}"]}),t})();function Z(t,e){if(1&t&&(Object(a.ec)(0,"mat-chip",2),Object(a.Sc)(1),Object(a.dc)()),2&t){const t=e.$implicit;Object(a.Mb)(1),Object(a.Uc)(" ",t.name," ")}}let U=(()=>{class t{constructor(){this.vegetables=[{name:"apple"},{name:"banana"},{name:"strawberry"},{name:"orange"},{name:"kiwi"},{name:"cherry"}]}drop(t){Object(s.h)(this.vegetables,t.previousIndex,t.currentIndex)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Object(a.Sb)({type:t,selectors:[["chips-drag-drop-example"]],decls:2,vars:1,consts:[["cdkDropList","","cdkDropListOrientation","horizontal",1,"example-chip",3,"cdkDropListDropped"],["class","example-box","cdkDrag","",4,"ngFor","ngForOf"],["cdkDrag","",1,"example-box"]],template:function(t,e){1&t&&(Object(a.ec)(0,"mat-chip-list",0),Object(a.lc)("cdkDropListDropped",function(t){return e.drop(t)}),Object(a.Qc)(1,Z,2,1,"mat-chip",1),Object(a.dc)()),2&t&&(Object(a.Mb)(1),Object(a.vc)("ngForOf",e.vegetables))},directives:[F,s.e,n.s,k,s.a],styles:[".example-box.cdk-drag-animating[_ngcontent-%COMP%] {\n transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);\n}\n\n.example-chip[_ngcontent-%COMP%] .cdk-drop-list-dragging[_ngcontent-%COMP%] {\n transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);\n}"]}),t})();function X(t,e){1&t&&(Object(a.ec)(0,"mat-icon",7),Object(a.Sc)(1,"cancel"),Object(a.dc)())}function $(t,e){if(1&t){const t=Object(a.fc)();Object(a.ec)(0,"mat-chip",5),Object(a.lc)("removed",function(){Object(a.Gc)(t);const i=e.$implicit;return Object(a.pc)().remove(i)}),Object(a.Sc)(1),Object(a.Qc)(2,X,2,0,"mat-icon",6),Object(a.dc)()}if(2&t){const t=e.$implicit,i=Object(a.pc)();Object(a.vc)("selectable",i.selectable)("removable",i.removable),Object(a.Mb)(1),Object(a.Uc)(" ",t.name," "),Object(a.Mb)(1),Object(a.vc)("ngIf",i.removable)}}let J=(()=>{class t{constructor(){this.visible=!0,this.selectable=!0,this.removable=!0,this.addOnBlur=!0,this.separatorKeysCodes=[l.g,l.c],this.fruits=[{name:"Lemon"},{name:"Lime"},{name:"Apple"}]}add(t){const e=t.input,i=t.value;(i||"").trim()&&this.fruits.push({name:i.trim()}),e&&(e.value="")}remove(t){const e=this.fruits.indexOf(t);e>=0&&this.fruits.splice(e,1)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Object(a.Sb)({type:t,selectors:[["chips-input-example"]],decls:7,vars:4,consts:[[1,"example-chip-list"],["aria-label","Fruit selection"],["chipList",""],[3,"selectable","removable","removed",4,"ngFor","ngForOf"],["placeholder","New fruit...",3,"matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputAddOnBlur","matChipInputTokenEnd"],[3,"selectable","removable","removed"],["matChipRemove","",4,"ngIf"],["matChipRemove",""]],template:function(t,e){if(1&t&&(Object(a.ec)(0,"mat-form-field",0),Object(a.ec)(1,"mat-label"),Object(a.Sc)(2,"Favorite Fruits"),Object(a.dc)(),Object(a.ec)(3,"mat-chip-list",1,2),Object(a.Qc)(5,$,3,4,"mat-chip",3),Object(a.ec)(6,"input",4),Object(a.lc)("matChipInputTokenEnd",function(t){return e.add(t)}),Object(a.dc)(),Object(a.dc)(),Object(a.dc)()),2&t){const t=Object(a.Cc)(4);Object(a.Mb)(5),Object(a.vc)("ngForOf",e.fruits),Object(a.Mb)(1),Object(a.vc)("matChipInputFor",t)("matChipInputSeparatorKeyCodes",e.separatorKeysCodes)("matChipInputAddOnBlur",e.addOnBlur)}},directives:[v.c,v.g,F,n.s,z,k,n.t,Y.a,I],styles:[".example-chip-list[_ngcontent-%COMP%] {\n width: 100%;\n}"]}),t})(),tt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Object(a.Sb)({type:t,selectors:[["chips-overview-example"]],decls:9,vars:0,consts:[["aria-label","Fish selection"],["color","primary","selected",""],["color","accent","selected",""]],template:function(t,e){1&t&&(Object(a.ec)(0,"mat-chip-list",0),Object(a.ec)(1,"mat-chip"),Object(a.Sc)(2,"One fish"),Object(a.dc)(),Object(a.ec)(3,"mat-chip"),Object(a.Sc)(4,"Two fish"),Object(a.dc)(),Object(a.ec)(5,"mat-chip",1),Object(a.Sc)(6,"Primary fish"),Object(a.dc)(),Object(a.ec)(7,"mat-chip",2),Object(a.Sc)(8,"Accent fish"),Object(a.dc)(),Object(a.dc)())},directives:[F,k],encapsulation:2}),t})();function et(t,e){if(1&t&&(Object(a.ec)(0,"mat-chip",2),Object(a.Sc)(1),Object(a.dc)()),2&t){const t=e.$implicit;Object(a.vc)("color",t.color),Object(a.Mb)(1),Object(a.Uc)(" ",t.name," ")}}let it=(()=>{class t{constructor(){this.availableColors=[{name:"none",color:void 0},{name:"Primary",color:"primary"},{name:"Accent",color:"accent"},{name:"Warn",color:"warn"}]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Object(a.Sb)({type:t,selectors:[["chips-stacked-example"]],decls:2,vars:1,consts:[["aria-label","Color selection",1,"mat-chip-list-stacked"],["selected","",3,"color",4,"ngFor","ngForOf"],["selected","",3,"color"]],template:function(t,e){1&t&&(Object(a.ec)(0,"mat-chip-list",0),Object(a.Qc)(1,et,2,2,"mat-chip",1),Object(a.dc)()),2&t&&(Object(a.Mb)(1),Object(a.vc)("ngForOf",e.availableColors))},directives:[F,n.s,k],styles:["mat-chip[_ngcontent-%COMP%] {\n max-width: 200px;\n}"]}),t})(),st=(()=>{class t{constructor(){this.isDisabled=!1,this.remove=jasmine.createSpy("remove spy"),this.add=jasmine.createSpy("add spy")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Object(a.Sb)({type:t,selectors:[["chips-harness-example"]],decls:11,vars:2,consts:[[3,"disabled","aria-orientation"],[3,"removed"],["matChipRemove",""]],template:function(t,e){1&t&&(Object(a.ec)(0,"mat-chip-list",0),Object(a.ec)(1,"mat-chip",1),Object(a.lc)("removed",function(){return e.remove()}),Object(a.Sc)(2,"Chip 1"),Object(a.dc)(),Object(a.ec)(3,"mat-chip",1),Object(a.lc)("removed",function(){return e.remove()}),Object(a.Sc)(4,"Chip 2 "),Object(a.ec)(5,"span",2),Object(a.Sc)(6,"remove_icon"),Object(a.dc)(),Object(a.dc)(),Object(a.ec)(7,"mat-chip",1),Object(a.lc)("removed",function(){return e.remove()}),Object(a.ec)(8,"mat-chip-avatar"),Object(a.Sc)(9,"C"),Object(a.dc)(),Object(a.Sc)(10,"Chip 4"),Object(a.dc)(),Object(a.dc)()),2&t&&Object(a.vc)("disabled",e.isDisabled)("aria-orientation","horizontal")},directives:[F,k,I,E],encapsulation:2}),t})(),nt=(()=>{class t{}return t.\u0275mod=Object(a.Wb)({type:t}),t.\u0275inj=Object(a.Vb)({factory:function(e){return new(e||t)},imports:[[n.c,s.g,o.b,V,Y.b,v.e,r.t]]}),t})()},"5+WD":function(t,e,i){"use strict";i.d(e,"a",function(){return vt}),i.d(e,"b",function(){return ut}),i.d(e,"c",function(){return _t}),i.d(e,"d",function(){return gt}),i.d(e,"e",function(){return pt}),i.d(e,"f",function(){return lt}),i.d(e,"g",function(){return wt}),i.d(e,"h",function(){return K}),i.d(e,"i",function(){return Q});var s=i("fXoL"),n=i("ofXK"),a=i("vxfF"),r=i("nLfN"),o=i("8LU1"),l=i("XNiG"),c=i("quSY"),h=i("HDdC"),d=i("D0XW"),p=i("Y7HM");function m(t){const{subscriber:e,counter:i,period:s}=t;e.next(i),this.schedule({subscriber:e,counter:i+1,period:s},s)}var u=i("eNwd"),f=i("VRyK"),_=i("1G5W"),b=i("JX91"),g=i("lJxs"),v=i("IzEk"),y=i("vkgz"),w=i("eIep"),x=i("cH1L");function O(t,e){for(let i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function C(t,e){const i=e?"":"none";O(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:i,msUserSelect:i,webkitUserSelect:i,MozUserSelect:i})}function S(t,e){const i=t.style;i.position=e?"":"fixed",i.top=i.opacity=e?"":"0",i.left=e?"":"-999em"}function D(t){const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function R(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}function E(t){const e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function k(t,e,i){const{top:s,bottom:n,left:a,right:r}=t;return i>=s&&i<=n&&e>=a&&e<=r}function I(t,e,i){t.top+=e,t.bottom=t.top+t.height,t.left+=i,t.right=t.left+t.width}function j(t,e,i,s){const{top:n,right:a,bottom:r,left:o,width:l,height:c}=t,h=l*e,d=c*e;return s>n-d&&s<r+d&&i>o-h&&i<a+h}class P{constructor(t,e){this._document=t,this._viewportRuler=e,this.positions=new Map}clear(){this.positions.clear()}cache(t){this.clear(),this.positions.set(this._document,{scrollPosition:this._viewportRuler.getViewportScrollPosition()}),t.forEach(t=>{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:E(t)})})}handleScroll(t){const e=t.target,i=this.positions.get(e);if(!i)return null;const s=e===this._document?e.documentElement:e,n=i.scrollPosition;let a,r;if(e===this._document){const t=this._viewportRuler.getViewportScrollPosition();a=t.top,r=t.left}else a=e.scrollTop,r=e.scrollLeft;const o=n.top-a,l=n.left-r;return this.positions.forEach((t,i)=>{t.clientRect&&e!==i&&s.contains(i)&&I(t.clientRect,o,l)}),n.top=a,n.left=r,{top:o,left:l}}}function L(t){const e=t.cloneNode(!0),i=e.querySelectorAll("[id]"),s=t.nodeName.toLowerCase();e.removeAttribute("id");for(let n=0;n<i.length;n++)i[n].removeAttribute("id");return"canvas"===s?M(t,e):"input"!==s&&"select"!==s&&"textarea"!==s||F(t,e),T("canvas",t,e,M),T("input, textarea, select",t,e,F),e}function T(t,e,i,s){const n=e.querySelectorAll(t);if(n.length){const e=i.querySelectorAll(t);for(let t=0;t<n.length;t++)s(n[t],e[t])}}let A=0;function F(t,e){"file"!==e.type&&(e.value=t.value),"radio"===e.type&&e.name&&(e.name=`mat-clone-${e.name}-${A++}`)}function M(t,e){const i=e.getContext("2d");if(i)try{i.drawImage(t,0,0)}catch(s){}}const z=Object(r.f)({passive:!0}),B=Object(r.f)({passive:!1});class V{constructor(t,e,i,s,n,a){this._config=e,this._document=i,this._ngZone=s,this._viewportRuler=n,this._dragDropRegistry=a,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new l.a,this._pointerMoveSubscription=c.a.EMPTY,this._pointerUpSubscription=c.a.EMPTY,this._scrollSubscription=c.a.EMPTY,this._resizeSubscription=c.a.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new l.a,this.started=new l.a,this.released=new l.a,this.ended=new l.a,this.entered=new l.a,this.exited=new l.a,this.dropped=new l.a,this.moved=this._moveEvents,this._pointerDown=t=>{if(this.beforeStarted.next(),this._handles.length){const e=this._handles.find(e=>{const i=t.target;return!!i&&(i===e||e.contains(i))});!e||this._disabledHandles.has(e)||this.disabled||this._initializeDragSequence(e,t)}else this.disabled||this._initializeDragSequence(this._rootElement,t)},this._pointerMove=t=>{t.preventDefault();const e=this._getPointerPositionOnPage(t);if(!this._hasStartedDragging){if(Math.abs(e.x-this._pickupPositionOnPage.x)+Math.abs(e.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){const e=Date.now()>=this._dragStartTime+this._getDragStartDelay(t),i=this._dropContainer;if(!e)return void this._endDragSequence(t);i&&(i.isDragging()||i.isReceiving())||(this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(t)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()));const i=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._lastKnownPointerPosition=e,this._updatePointerDirectionDelta(i),this._dropContainer)this._updateActiveDropContainer(i,e);else{const t=this._activeTransform;t.x=i.x-this._pickupPositionOnPage.x+this._passiveTransform.x,t.y=i.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(t.x,t.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${t.x} ${t.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:i,event:t,distance:this._getDragDistance(i),delta:this._pointerDirectionDelta})})},this._pointerUp=t=>{this._endDragSequence(t)},this.withRootElement(t),this._parentPositions=new P(i,n),a.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=Object(o.c)(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions(),this._handles.forEach(t=>C(t,e)))}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){this._handles=t.map(t=>Object(o.e)(t)),this._handles.forEach(t=>C(t,this.disabled)),this._toggleNativeDragInteractions();const e=new Set;return this._disabledHandles.forEach(t=>{this._handles.indexOf(t)>-1&&e.add(t)}),this._disabledHandles=e,this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=Object(o.e)(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,B),e.addEventListener("touchstart",this._pointerDown,z)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?Object(o.e)(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&G(this._rootElement),G(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){!this._disabledHandles.has(t)&&this._handles.indexOf(t)>-1&&(this._disabledHandles.add(t),C(t,!0))}enableHandle(t){this._disabledHandles.has(t)&&(this._disabledHandles.delete(t),C(t,this.disabled))}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&G(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&G(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)})):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(this._getPointerPositionOnPage(t))})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}_startDragSequence(t){H(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,i=t.parentNode,s=this._preview=this._createPreviewElement(),n=this._placeholder=this._createPlaceholderElement(),a=this._anchor=this._anchor||this._document.createComment(""),r=this._getShadowRoot();i.insertBefore(a,t),S(t,!1),this._document.body.appendChild(i.replaceChild(n,t)),function(t,e){return e||t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement||t.body}(this._document,r).appendChild(s),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){e.stopPropagation();const i=this.isDragging(),s=H(e),n=!s&&0!==e.button,a=this._rootElement,r=!s&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),i||n||r)return;this._handles.length&&(this._rootElementTapHighlight=a.style.webkitTapHighlightColor||"",a.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.subscribe(t=>{this._updateOnScroll(t)}),this._boundaryElement&&(this._boundaryRect=E(this._boundaryElement));const o=this._previewTemplate;this._pickupPositionInElement=o&&o.template&&!o.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);const l=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:l.x,y:l.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){S(this._rootElement,!0),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(()=>{const e=this._dropContainer,i=e.getItemIndex(this),s=this._getPointerPositionOnPage(t),n=this._getDragDistance(this._getPointerPositionOnPage(t)),a=e._isOverContainer(s.x,s.y);this.ended.next({source:this,distance:n}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:a,distance:n}),e.drop(this,i,this._initialIndex,this._initialContainer,a,n),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:i,y:s}){let n=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!n&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(n=this._initialContainer),n&&n!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=n,this._dropContainer.enter(this,t,e,n===this._initialContainer&&n.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:n,currentIndex:n.getItemIndex(this)})}),this._dropContainer._startScrollingIfNecessary(i,s),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._preview.style.transform=Y(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y)}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,i=t?t.template:null;let s;if(i&&t){const e=t.matchSize?this._rootElement.getBoundingClientRect():null,n=t.viewContainer.createEmbeddedView(i,t.context);n.detectChanges(),s=W(n,this._document),this._previewRef=n,t.matchSize?q(s,e):s.style.transform=Y(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const t=this._rootElement;s=L(t),q(s,t.getBoundingClientRect())}return O(s.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:""+(this._config.zIndex||1e3)}),C(s,!1),s.classList.add("cdk-drag-preview"),s.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(t=>s.classList.add(t)):s.classList.add(e)),s}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=Y(t.left,t.top);const e=function(t){const e=getComputedStyle(t),i=R(e,"transition-property"),s=i.find(t=>"transform"===t||"all"===t);if(!s)return 0;const n=i.indexOf(s),a=R(e,"transition-duration"),r=R(e,"transition-delay");return D(a[n])+D(r[n])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const i=e=>{(!e||e.target===this._preview&&"transform"===e.propertyName)&&(this._preview.removeEventListener("transitionend",i),t(),clearTimeout(s))},s=setTimeout(i,1.5*e);this._preview.addEventListener("transitionend",i)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let i;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),i=W(this._placeholderRef,this._document)):i=L(this._rootElement),i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(t,e){const i=this._rootElement.getBoundingClientRect(),s=t===this._rootElement?null:t,n=s?s.getBoundingClientRect():i,a=H(e)?e.targetTouches[0]:e,r=this._getViewportScrollPosition();return{x:n.left-i.left+(a.pageX-n.left-r.left),y:n.top-i.top+(a.pageY-n.top-r.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),i=H(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,s=i.pageX-e.left,n=i.pageY-e.top;if(this._ownerSVGElement){const t=this._ownerSVGElement.getScreenCTM();if(t){const e=this._ownerSVGElement.createSVGPoint();return e.x=s,e.y=n,e.matrixTransform(t.inverse())}}return{x:s,y:n}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:i,y:s}=this.constrainPosition?this.constrainPosition(t,this):t;if("x"===this.lockAxis||"x"===e?s=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==e||(i=this._pickupPositionOnPage.x),this._boundaryRect){const{x:t,y:e}=this._pickupPositionInElement,n=this._boundaryRect,a=this._previewRect,r=n.top+e,o=n.bottom-(a.height-e);i=N(i,n.left+t,n.right-(a.width-t)),s=N(s,r,o)}return{x:i,y:s}}_updatePointerDirectionDelta(t){const{x:e,y:i}=t,s=this._pointerDirectionDelta,n=this._pointerPositionAtLastDirectionChange,a=Math.abs(e-n.x),r=Math.abs(i-n.y);return a>this._config.pointerDirectionChangeThreshold&&(s.x=e>n.x?1:-1,n.x=e),r>this._config.pointerDirectionChangeThreshold&&(s.y=i>n.y?1:-1,n.y=i),s}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,C(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,B),t.removeEventListener("touchstart",this._pointerDown,z)}_applyRootElementTransform(t,e){const i=Y(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?i+" "+this._initialTransform:i}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const i=this._boundaryElement.getBoundingClientRect(),s=this._rootElement.getBoundingClientRect();if(0===i.width&&0===i.height||0===s.width&&0===s.height)return;const n=i.left-s.left,a=s.right-i.right,r=i.top-s.top,o=s.bottom-i.bottom;i.width>s.width?(n>0&&(t+=n),a>0&&(t-=a)):t=0,i.height>s.height?(r>0&&(e+=r),o>0&&(e-=o)):e=0,t===this._passiveTransform.x&&e===this._passiveTransform.y||this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:H(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const i=t.target;this._boundaryRect&&(i===this._document||i!==this._boundaryElement&&i.contains(this._boundaryElement))&&I(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}_getShadowRoot(){return void 0===this._cachedShadowRoot&&(this._cachedShadowRoot=Object(r.c)(this._rootElement)),this._cachedShadowRoot}}function Y(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function N(t,e,i){return Math.max(e,Math.min(i,t))}function G(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function H(t){return"t"===t.type[0]}function W(t,e){const i=t.rootNodes;if(1===i.length&&i[0].nodeType===e.ELEMENT_NODE)return i[0];const s=e.createElement("div");return i.forEach(t=>s.appendChild(t)),s}function q(t,e){t.style.width=e.width+"px",t.style.height=e.height+"px",t.style.transform=Y(e.left,e.top)}function K(t,e,i){const s=Z(e,t.length-1),n=Z(i,t.length-1);if(s===n)return;const a=t[s],r=n<s?-1:1;for(let o=s;o!==n;o+=r)t[o]=t[o+r];t[n]=a}function Q(t,e,i,s){const n=Z(i,t.length-1),a=Z(s,e.length);t.length&&e.splice(a,0,t.splice(n,1)[0])}function Z(t,e){return Math.max(0,Math.min(e,t))}class U{constructor(t,e,i,s,n){this._dragDropRegistry=e,this._ngZone=s,this._viewportRuler=n,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.beforeStarted=new l.a,this.entered=new l.a,this.exited=new l.a,this.dropped=new l.a,this.sorted=new l.a,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=c.a.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new l.a,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function(t=0,e=d.a){return(!Object(p.a)(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=d.a),new h.a(i=>(i.add(e.schedule(m,t,{subscriber:i,counter:0,period:t})),i))}(0,u.a).pipe(Object(_.a)(this._stopScrollTimers)).subscribe(()=>{const t=this._scrollNode;1===this._verticalScrollDirection?$(t,-2):2===this._verticalScrollDirection&&$(t,2),1===this._horizontalScrollDirection?J(t,-2):2===this._horizontalScrollDirection&&J(t,2)})},this.element=Object(o.e)(t),this._document=i,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new P(i,n)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){const t=Object(o.e)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._siblings.forEach(t=>t._startReceiving(this)),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}enter(t,e,i,s){let n;this.start(),null==s?(n=this.sortingDisabled?this._draggables.indexOf(t):-1,-1===n&&(n=this._getItemIndexFromPointerPosition(t,e,i))):n=s;const a=this._activeDraggables,r=a.indexOf(t),l=t.getPlaceholderElement();let c=a[n];if(c===t&&(c=a[n+1]),r>-1&&a.splice(r,1),c&&!this._dragDropRegistry.isDragging(c)){const e=c.getRootElement();e.parentElement.insertBefore(l,e),a.splice(n,0,t)}else if(this._shouldEnterAsFirstChild(e,i)){const e=a[0].getRootElement();e.parentNode.insertBefore(l,e),a.unshift(t)}else Object(o.e)(this.element).appendChild(l),a.push(t);l.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,i,s,n,a){this._reset(),this.dropped.next({item:t,currentIndex:e,previousIndex:i,container:this,previousContainer:s,isPointerOverContainer:n,distance:a})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(t=>t.isDragging()).every(e=>-1===t.indexOf(e))?this._reset():this._cacheItems()),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}withScrollableParents(t){const e=Object(o.e)(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?X("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,e=>e.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,i,s){if(this.sortingDisabled||!j(this._clientRect,.05,e,i))return;const n=this._itemPositions,a=this._getItemIndexFromPointerPosition(t,e,i,s);if(-1===a&&n.length>0)return;const r="horizontal"===this._orientation,o=X(n,e=>e.drag===t),l=n[a],c=l.clientRect,h=o>a?1:-1,d=this._getItemOffsetPx(n[o].clientRect,c,h),p=this._getSiblingOffsetPx(o,n,h),m=n.slice();K(n,o,a),this.sorted.next({previousIndex:o,currentIndex:a,container:this,item:t}),n.forEach((e,i)=>{if(m[i]===e)return;const s=e.drag===t,n=s?d:p,a=s?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=n,r?(a.style.transform=`translate3d(${Math.round(e.offset)}px, 0, 0)`,I(e.clientRect,0,n)):(a.style.transform=`translate3d(0, ${Math.round(e.offset)}px, 0)`,I(e.clientRect,n,0))}),this._previousSwap.overlaps=k(c,e,i),this._previousSwap.drag=l.drag,this._previousSwap.delta=r?s.x:s.y}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let i,s=0,n=0;if(this._parentPositions.positions.forEach((a,r)=>{r!==this._document&&a.clientRect&&!i&&j(a.clientRect,.05,t,e)&&([s,n]=function(t,e,i,s){const n=tt(e,s),a=et(e,i);let r=0,o=0;if(n){const e=t.scrollTop;1===n?e>0&&(r=1):t.scrollHeight-e>t.clientHeight&&(r=2)}if(a){const e=t.scrollLeft;1===a?e>0&&(o=1):t.scrollWidth-e>t.clientWidth&&(o=2)}return[r,o]}(r,a.clientRect,t,e),(s||n)&&(i=r))}),!s&&!n){const{width:a,height:r}=this._viewportRuler.getViewportSize(),o={width:a,height:r,top:0,right:a,bottom:r,left:0};s=tt(o,e),n=et(o,t),i=window}!i||s===this._verticalScrollDirection&&n===this._horizontalScrollDirection&&i===this._scrollNode||(this._verticalScrollDirection=s,this._horizontalScrollDirection=n,this._scrollNode=i,(s||n)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_cacheParentPositions(){const t=Object(o.e)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(t=>{const e=t.getVisibleElement();return{drag:t,offset:0,clientRect:E(e)}}).sort((e,i)=>t?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_reset(){this._isDragging=!1;const t=Object(o.e)(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(t=>{const e=t.getRootElement();e&&(e.style.transform="")}),this._siblings.forEach(t=>t._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(t,e,i){const s="horizontal"===this._orientation,n=e[t].clientRect,a=e[t+-1*i];let r=n[s?"width":"height"]*i;if(a){const t=s?"left":"top",e=s?"right":"bottom";-1===i?r-=a.clientRect[t]-n[e]:r+=n[t]-a.clientRect[e]}return r}_getItemOffsetPx(t,e,i){const s="horizontal"===this._orientation;let n=s?e.left-t.left:e.top-t.top;return-1===i&&(n+=s?e.width-t.width:e.height-t.height),n}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const i=this._itemPositions,s="horizontal"===this._orientation;if(i[0].drag!==this._activeDraggables[0]){const n=i[i.length-1].clientRect;return s?t>=n.right:e>=n.bottom}{const n=i[0].clientRect;return s?t<=n.left:e<=n.top}}_getItemIndexFromPointerPosition(t,e,i,s){const n="horizontal"===this._orientation,a=X(this._itemPositions,({drag:a,clientRect:r},o,l)=>{if(a===t)return l.length<2;if(s){const t=n?s.x:s.y;if(a===this._previousSwap.drag&&this._previousSwap.overlaps&&t===this._previousSwap.delta)return!1}return n?e>=Math.floor(r.left)&&e<Math.floor(r.right):i>=Math.floor(r.top)&&i<Math.floor(r.bottom)});return-1!==a&&this.sortPredicate(a,t,this)?a:-1}_cacheItems(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheParentPositions()}_isOverContainer(t,e){return k(this._clientRect,t,e)}_getSiblingContainerFromPosition(t,e,i){return this._siblings.find(s=>s._canReceive(t,e,i))}_canReceive(t,e,i){if(!k(this._clientRect,e,i)||!this.enterPredicate(t,this))return!1;const s=this._getShadowRoot().elementFromPoint(e,i);if(!s)return!1;const n=Object(o.e)(this.element);return s===n||n.contains(s)}_startReceiving(t){const e=this._activeSiblings;e.has(t)||(e.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&(this._itemPositions.forEach(({clientRect:t})=>{I(t,e.top,e.left)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=Object(r.c)(Object(o.e)(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}}function X(t,e){for(let i=0;i<t.length;i++)if(e(t[i],i,t))return i;return-1}function $(t,e){t===window?t.scrollBy(0,e):t.scrollTop+=e}function J(t,e){t===window?t.scrollBy(e,0):t.scrollLeft+=e}function tt(t,e){const{top:i,bottom:s,height:n}=t,a=.05*n;return e>=i-a&&e<=i+a?1:e>=s-a&&e<=s+a?2:0}function et(t,e){const{left:i,right:s,width:n}=t,a=.05*n;return e>=i-a&&e<=i+a?1:e>=s-a&&e<=s+a?2:0}const it=Object(r.f)({passive:!1,capture:!0});let st=(()=>{class t{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new l.a,this.pointerUp=new l.a,this.scroll=new l.a,this._preventDefaultWhileDragging=t=>{this._activeDragInstances.size&&t.preventDefault()},this._persistentTouchmoveListener=t=>{this._activeDragInstances.size&&(t.preventDefault(),this.pointerMove.next(t))},this._document=e}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,it)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,it)}startDragging(t,e){if(!this._activeDragInstances.has(t)&&(this._activeDragInstances.add(t),1===this._activeDragInstances.size)){const t=e.type.startsWith("touch");this._globalListeners.set(t?"touchend":"mouseup",{handler:t=>this.pointerUp.next(t),options:!0}).set("scroll",{handler:t=>this.scroll.next(t),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:it}),t||this._globalListeners.set("mousemove",{handler:t=>this.pointerMove.next(t),options:it}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((t,e)=>{this._document.addEventListener(e,t.handler,t.options)})})}}stopDragging(t){this._activeDragInstances.delete(t),0===this._activeDragInstances.size&&this._clearGlobalListeners()}isDragging(t){return this._activeDragInstances.has(t)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,e)=>{this._document.removeEventListener(e,t.handler,t.options)}),this._globalListeners.clear()}}return t.\u0275fac=function(e){return new(e||t)(s.ic(s.I),s.ic(n.e))},t.\u0275prov=Object(s.Ub)({factory:function(){return new t(Object(s.ic)(s.I),Object(s.ic)(n.e))},token:t,providedIn:"root"}),t})();const nt={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let at=(()=>{class t{constructor(t,e,i,s){this._document=t,this._ngZone=e,this._viewportRuler=i,this._dragDropRegistry=s}createDrag(t,e=nt){return new V(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new U(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return t.\u0275fac=function(e){return new(e||t)(s.ic(n.e),s.ic(s.I),s.ic(a.j),s.ic(st))},t.\u0275prov=Object(s.Ub)({factory:function(){return new t(Object(s.ic)(n.e),Object(s.ic)(s.I),Object(s.ic)(a.j),Object(s.ic)(st))},token:t,providedIn:"root"}),t})();const rt=new s.x("CDK_DRAG_PARENT"),ot=new s.x("CdkDropListGroup");let lt=(()=>{class t{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(o.c)(t)}ngOnDestroy(){this._items.clear()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=s.Tb({type:t,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"],features:[s.Lb([{provide:ot,useExisting:t}])]}),t})();const ct=new s.x("CDK_DRAG_CONFIG");let ht=0;const dt=new s.x("CdkDropList");let pt=(()=>{class t{constructor(e,i,n,a,r,o,c){this.element=e,this._changeDetectorRef=n,this._scrollDispatcher=a,this._dir=r,this._group=o,this._destroyed=new l.a,this.connectedTo=[],this.id="cdk-drop-list-"+ht++,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new s.s,this.entered=new s.s,this.exited=new s.s,this.sorted=new s.s,this._unsortedItems=new Set,this._dropListRef=i.createDropList(e),this._dropListRef.data=this,c&&this._assignDefaults(c),this._dropListRef.enterPredicate=(t,e)=>this.enterPredicate(t.data,e.data),this._dropListRef.sortPredicate=(t,e,i)=>this.sortPredicate(t,e.data,i.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),o&&o._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._dropListRef.disabled=this._disabled=Object(o.c)(t)}addItem(t){this._unsortedItems.add(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(t){this._unsortedItems.delete(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((t,e)=>t._dragRef.getVisibleElement().compareDocumentPosition(e._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=t._dropLists.indexOf(this);e>-1&&t._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(Object(b.a)(this._dir.value),Object(_.a)(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const i=Object(o.b)(this.connectedTo).map(e=>"string"==typeof e?t._dropLists.find(t=>t.id===e):e);if(this._group&&this._group._items.forEach(t=>{-1===i.indexOf(t)&&i.push(t)}),!this._scrollableParentsResolved){const t=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(t=>t.getElementRef().nativeElement);this._dropListRef.withScrollableParents(t),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=Object(o.c)(this.sortingDisabled),e.autoScrollDisabled=Object(o.c)(this.autoScrollDisabled),e.connectedTo(i.filter(t=>t&&t!==this).map(t=>t._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:this,item:t.item.data,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:this,item:t.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(t=>{this.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:this,item:t.item.data})}),t.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,item:t.item.data,isPointerOverContainer:t.isPointerOverContainer,distance:t.distance}),this._changeDetectorRef.markForCheck()})}_assignDefaults(t){const{lockAxis:e,draggingDisabled:i,sortingDisabled:s,listAutoScrollDisabled:n,listOrientation:a}=t;this.disabled=null!=i&&i,this.sortingDisabled=null!=s&&s,this.autoScrollDisabled=null!=n&&n,this.orientation=a||"vertical",e&&(this.lockAxis=e)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(t=>t._dragRef))}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.p),s.Yb(at),s.Yb(s.i),s.Yb(a.g),s.Yb(x.c,8),s.Yb(ot,12),s.Yb(ct,8))},t.\u0275dir=s.Tb({type:t,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,e){2&t&&(s.Nb("id",e.id),s.Qb("cdk-drop-list-disabled",e.disabled)("cdk-drop-list-dragging",e._dropListRef.isDragging())("cdk-drop-list-receiving",e._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],sortPredicate:["cdkDropListSortPredicate","sortPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[s.Lb([{provide:ot,useValue:void 0},{provide:dt,useExisting:t}])]}),t._dropLists=[],t})();const mt=new s.x("CdkDragHandle");let ut=(()=>{class t{constructor(t,e){this.element=t,this._stateChanges=new l.a,this._disabled=!1,this._parentDrag=e}get disabled(){return this._disabled}set disabled(t){this._disabled=Object(o.c)(t),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.p),s.Yb(rt,12))},t.\u0275dir=s.Tb({type:t,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]},features:[s.Lb([{provide:mt,useExisting:t}])]}),t})();const ft=new s.x("CdkDragPlaceholder");let _t=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.V))},t.\u0275dir=s.Tb({type:t,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"},features:[s.Lb([{provide:ft,useExisting:t}])]}),t})();const bt=new s.x("CdkDragPreview");let gt=(()=>{class t{constructor(t){this.templateRef=t,this._matchSize=!1}get matchSize(){return this._matchSize}set matchSize(t){this._matchSize=Object(o.c)(t)}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.V))},t.\u0275dir=s.Tb({type:t,selectors:[["ng-template","cdkDragPreview",""]],inputs:{matchSize:"matchSize",data:"data"},features:[s.Lb([{provide:bt,useExisting:t}])]}),t})(),vt=(()=>{class t{constructor(t,e,i,n,a,r,o,c,d,p){this.element=t,this.dropContainer=e,this._ngZone=n,this._viewContainerRef=a,this._dir=o,this._changeDetectorRef=d,this._selfHandle=p,this._destroyed=new l.a,this.started=new s.s,this.released=new s.s,this.ended=new s.s,this.entered=new s.s,this.exited=new s.s,this.dropped=new s.s,this.moved=new h.a(t=>{const e=this._dragRef.moved.pipe(Object(g.a)(t=>({source:this,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}))).subscribe(t);return()=>{e.unsubscribe()}}),this._dragRef=c.createDrag(t,{dragStartThreshold:r&&null!=r.dragStartThreshold?r.dragStartThreshold:5,pointerDirectionChangeThreshold:r&&null!=r.pointerDirectionChangeThreshold?r.pointerDirectionChangeThreshold:5,zIndex:null==r?void 0:r.zIndex}),this._dragRef.data=this,r&&this._assignDefaults(r),e&&(this._dragRef._withDropContainer(e._dropListRef),e.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=Object(o.c)(t),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.onStable.pipe(Object(v.a)(1),Object(_.a)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe(Object(b.a)(this._handles),Object(y.a)(t=>{const e=t.filter(t=>t._parentDrag===this).map(t=>t.element);this._selfHandle&&this.rootElementSelector&&e.push(this.element),this._dragRef.withHandles(e)}),Object(w.a)(t=>Object(f.a)(...t.map(t=>t._stateChanges.pipe(Object(b.a)(t))))),Object(_.a)(this._destroyed)).subscribe(t=>{const e=this._dragRef,i=t.element.nativeElement;t.disabled?e.disableHandle(i):e.enableHandle(i)}),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})}ngOnChanges(t){const e=t.rootElementSelector,i=t.freeDragPosition;e&&!e.firstChange&&this._updateRootElement(),i&&!i.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const t=this.element.nativeElement,e=this.rootElementSelector?yt(t,this.rootElementSelector):t;this._dragRef.withRootElement(e||t)}_getBoundaryElement(){const t=this.boundaryElement;return t?"string"==typeof t?yt(this.element.nativeElement,t):Object(o.e)(t):null}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const e=this._dir,i=this.dragStartDelay,s=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,n=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay="object"==typeof i&&i?i:Object(o.f)(i),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(s).withPreviewTemplate(n),e&&t.withDirection(e.value)}})}_handleEvents(t){t.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(()=>{this.released.emit({source:this})}),t.ended.subscribe(t=>{this.ended.emit({source:this,distance:t.distance}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:t.container.data,item:this,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:t.container.data,item:this})}),t.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:this,distance:t.distance})})}_assignDefaults(t){const{lockAxis:e,dragStartDelay:i,constrainPosition:s,previewClass:n,boundaryElement:a,draggingDisabled:r,rootElementSelector:o}=t;this.disabled=null!=r&&r,this.dragStartDelay=i||0,e&&(this.lockAxis=e),s&&(this.constrainPosition=s),n&&(this.previewClass=n),a&&(this.boundaryElement=a),o&&(this.rootElementSelector=o)}}return t.\u0275fac=function(e){return new(e||t)(s.Yb(s.p),s.Yb(dt,12),s.Yb(n.e),s.Yb(s.I),s.Yb(s.ab),s.Yb(ct,8),s.Yb(x.c,8),s.Yb(at),s.Yb(s.i),s.Yb(mt,10))},t.\u0275dir=s.Tb({type:t,selectors:[["","cdkDrag",""]],contentQueries:function(t,e,i){if(1&t&&(s.Rb(i,bt,!0),s.Rb(i,ft,!0),s.Rb(i,mt,!0)),2&t){let t;s.Bc(t=s.mc())&&(e._previewTemplate=t.first),s.Bc(t=s.mc())&&(e._placeholderTemplate=t.first),s.Bc(t=s.mc())&&(e._handles=t)}},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,e){2&t&&s.Qb("cdk-drag-disabled",e.disabled)("cdk-drag-dragging",e._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[s.Lb([{provide:rt,useExisting:t}]),s.Kb]}),t})();function yt(t,e){let i=t.parentElement;for(;i;){if(i.matches?i.matches(e):i.msMatchesSelector(e))return i;i=i.parentElement}return null}let wt=(()=>{class t{}return t.\u0275mod=s.Wb({type:t}),t.\u0275inj=s.Vb({factory:function(e){return new(e||t)},providers:[at],imports:[a.c]}),t})()},kmnG:function(t,e,i){"use strict";i.d(e,"a",function(){return et}),i.d(e,"b",function(){return M}),i.d(e,"c",function(){return it}),i.d(e,"d",function(){return B}),i.d(e,"e",function(){return st}),i.d(e,"f",function(){return H}),i.d(e,"g",function(){return W}),i.d(e,"h",function(){return Q}),i.d(e,"i",function(){return U}),i.d(e,"j",function(){return V}),i.d(e,"k",function(){return Y}),i.d(e,"l",function(){return z});var s=i("GU7r"),n=i("ofXK"),a=i("fXoL"),r=i("FKr1"),o=i("8LU1"),l=i("XNiG"),c=i("VRyK"),h=i("xgIS"),d=i("JX91"),p=i("1G5W"),m=i("IzEk"),u=i("R0Ic"),f=i("R1ws"),_=i("cH1L"),b=i("nLfN");const g=["underline"],v=["connectionContainer"],y=["inputContainer"],w=["label"];function x(t,e){1&t&&(a.cc(0),a.ec(1,"div",14),a.Zb(2,"div",15),a.Zb(3,"div",16),a.Zb(4,"div",17),a.dc(),a.ec(5,"div",18),a.Zb(6,"div",15),a.Zb(7,"div",16),a.Zb(8,"div",17),a.dc(),a.bc())}function O(t,e){1&t&&(a.ec(0,"div",19),a.tc(1,1),a.dc())}function C(t,e){if(1&t&&(a.cc(0),a.tc(1,2),a.ec(2,"span"),a.Sc(3),a.dc(),a.bc()),2&t){const t=a.pc(2);a.Mb(3),a.Tc(t._control.placeholder)}}function S(t,e){1&t&&a.tc(0,3,["*ngSwitchCase","true"])}function D(t,e){1&t&&(a.ec(0,"span",23),a.Sc(1," *"),a.dc())}function R(t,e){if(1&t){const t=a.fc();a.ec(0,"label",20,21),a.lc("cdkObserveContent",function(){return a.Gc(t),a.pc().updateOutlineGap()}),a.Qc(2,C,4,1,"ng-container",12),a.Qc(3,S,1,0,"ng-content",12),a.Qc(4,D,2,0,"span",22),a.dc()}if(2&t){const t=a.pc();a.Qb("mat-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-form-field-empty",t._control.empty&&!t._shouldAlwaysFloat())("mat-accent","accent"==t.color)("mat-warn","warn"==t.color),a.vc("cdkObserveContentDisabled","outline"!=t.appearance)("id",t._labelId)("ngSwitch",t._hasLabel()),a.Nb("for",t._control.id)("aria-owns",t._control.id),a.Mb(2),a.vc("ngSwitchCase",!1),a.Mb(1),a.vc("ngSwitchCase",!0),a.Mb(1),a.vc("ngIf",!t.hideRequiredMarker&&t._control.required&&!t._control.disabled)}}function E(t,e){1&t&&(a.ec(0,"div",24),a.tc(1,4),a.dc())}function k(t,e){if(1&t&&(a.ec(0,"div",25,26),a.Zb(2,"span",27),a.dc()),2&t){const t=a.pc();a.Mb(2),a.Qb("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function I(t,e){if(1&t&&(a.ec(0,"div"),a.tc(1,5),a.dc()),2&t){const t=a.pc();a.vc("@transitionMessages",t._subscriptAnimationState)}}function j(t,e){if(1&t&&(a.ec(0,"div",31),a.Sc(1),a.dc()),2&t){const t=a.pc(2);a.vc("id",t._hintLabelId),a.Mb(1),a.Tc(t.hintLabel)}}function P(t,e){if(1&t&&(a.ec(0,"div",28),a.Qc(1,j,2,2,"div",29),a.tc(2,6),a.Zb(3,"div",30),a.tc(4,7),a.dc()),2&t){const t=a.pc();a.vc("@transitionMessages",t._subscriptAnimationState),a.Mb(1),a.vc("ngIf",t.hintLabel)}}const L=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],T=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"];let A=0;const F=new a.x("MatError");let M=(()=>{class t{constructor(){this.id="mat-error-"+A++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Tb({type:t,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&a.Nb("id",e.id)},inputs:{id:"id"},features:[a.Lb([{provide:F,useExisting:t}])]}),t})();const z={transitionMessages:Object(u.m)("transitionMessages",[Object(u.j)("enter",Object(u.k)({opacity:1,transform:"translateY(0%)"})),Object(u.l)("void => enter",[Object(u.k)({opacity:0,transform:"translateY(-100%)"}),Object(u.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let B=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Tb({type:t}),t})();function V(t){return Error(`A hint was already declared for 'align="${t}"'.`)}function Y(){return Error("mat-form-field must contain a MatFormFieldControl.")}let N=0;const G=new a.x("MatHint");let H=(()=>{class t{constructor(){this.align="start",this.id="mat-hint-"+N++}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Tb({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(a.Nb("id",e.id)("align",null),a.Qb("mat-form-field-hint-end","end"===e.align))},inputs:{align:"align",id:"id"},features:[a.Lb([{provide:G,useExisting:t}])]}),t})(),W=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Tb({type:t,selectors:[["mat-label"]]}),t})(),q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Tb({type:t,selectors:[["mat-placeholder"]]}),t})();const K=new a.x("MatPrefix");let Q=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Tb({type:t,selectors:[["","matPrefix",""]],features:[a.Lb([{provide:K,useExisting:t}])]}),t})();const Z=new a.x("MatSuffix");let U=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=a.Tb({type:t,selectors:[["","matSuffix",""]],features:[a.Lb([{provide:Z,useExisting:t}])]}),t})(),X=0;class ${constructor(t){this._elementRef=t}}const J=Object(r.z)($,"primary"),tt=new a.x("MAT_FORM_FIELD_DEFAULT_OPTIONS"),et=new a.x("MatFormField");let it=(()=>{class t extends J{constructor(t,e,i,s,n,a,r,o){super(t),this._elementRef=t,this._changeDetectorRef=e,this._dir=s,this._defaults=n,this._platform=a,this._ngZone=r,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new l.a,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+X++,this._labelId="mat-form-field-label-"+X++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==o,this.appearance=n&&n.appearance?n.appearance:"legacy",this._hideRequiredMarker=!(!n||null==n.hideRequiredMarker)&&n.hideRequiredMarker}get appearance(){return this._appearance}set appearance(t){const e=this._appearance;this._appearance=t||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&e!==t&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(t){this._hideRequiredMarker=Object(o.c)(t)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(t){this._hintLabel=t,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(t){t!==this._floatLabel&&(this._floatLabel=t||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(t){this._explicitFormFieldControl=t}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+t.controlType),t.stateChanges.pipe(Object(d.a)(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(p.a)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(Object(p.a)(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),Object(c.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(d.a)(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(d.a)(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(p.a)(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(t){const e=this._control?this._control.ngControl:null;return e&&e[t]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Object(h.a)(this._label.nativeElement,"transitionend").pipe(Object(m.a)(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let t=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&t.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const e=this._hintChildren?this._hintChildren.find(t=>"start"===t.align):null,i=this._hintChildren?this._hintChildren.find(t=>"end"===t.align):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),i&&t.push(i.id)}else this._errorChildren&&t.push(...this._errorChildren.map(t=>t.id));this._control.setDescribedByIds(t)}}_validateControlChild(){}updateOutlineGap(){const t=this._label?this._label.nativeElement:null;if("outline"!==this.appearance||!t||!t.children.length||!t.textContent.trim())return;if(!this._platform.isBrowser)return;if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);let e=0,i=0;const s=this._connectionContainerRef.nativeElement,n=s.querySelectorAll(".mat-form-field-outline-start"),a=s.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){const n=s.getBoundingClientRect();if(0===n.width&&0===n.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);const a=this._getStartEnd(n),r=t.children,o=this._getStartEnd(r[0].getBoundingClientRect());let l=0;for(let t=0;t<r.length;t++)l+=r[t].offsetWidth;e=Math.abs(o-a)-5,i=l>0?.75*l+10:0}for(let r=0;r<n.length;r++)n[r].style.width=e+"px";for(let r=0;r<a.length;r++)a[r].style.width=i+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}_getStartEnd(t){return this._dir&&"rtl"===this._dir.value?t.right:t.left}_isAttachedToDOM(){const t=this._elementRef.nativeElement;if(t.getRootNode){const e=t.getRootNode();return e&&e!==t}return document.documentElement.contains(t)}}return t.\u0275fac=function(e){return new(e||t)(a.Yb(a.p),a.Yb(a.i),a.Yb(a.p),a.Yb(_.c,8),a.Yb(tt,8),a.Yb(b.a),a.Yb(a.I),a.Yb(f.a,8))},t.\u0275cmp=a.Sb({type:t,selectors:[["mat-form-field"]],contentQueries:function(t,e,i){if(1&t&&(a.Rb(i,B,!0),a.Lc(i,B,!0),a.Rb(i,W,!0),a.Lc(i,W,!0),a.Rb(i,q,!0),a.Rb(i,F,!0),a.Rb(i,G,!0),a.Rb(i,K,!0),a.Rb(i,Z,!0)),2&t){let t;a.Bc(t=a.mc())&&(e._controlNonStatic=t.first),a.Bc(t=a.mc())&&(e._controlStatic=t.first),a.Bc(t=a.mc())&&(e._labelChildNonStatic=t.first),a.Bc(t=a.mc())&&(e._labelChildStatic=t.first),a.Bc(t=a.mc())&&(e._placeholderChild=t.first),a.Bc(t=a.mc())&&(e._errorChildren=t),a.Bc(t=a.mc())&&(e._hintChildren=t),a.Bc(t=a.mc())&&(e._prefixChildren=t),a.Bc(t=a.mc())&&(e._suffixChildren=t)}},viewQuery:function(t,e){if(1&t&&(a.Wc(g,!0),a.Mc(v,!0),a.Wc(y,!0),a.Wc(w,!0)),2&t){let t;a.Bc(t=a.mc())&&(e.underlineRef=t.first),a.Bc(t=a.mc())&&(e._connectionContainerRef=t.first),a.Bc(t=a.mc())&&(e._inputContainerRef=t.first),a.Bc(t=a.mc())&&(e._label=t.first)}},hostAttrs:[1,"mat-form-field"],hostVars:44,hostBindings:function(t,e){2&t&&a.Qb("mat-form-field-appearance-standard","standard"==e.appearance)("mat-form-field-appearance-fill","fill"==e.appearance)("mat-form-field-appearance-outline","outline"==e.appearance)("mat-form-field-appearance-legacy","legacy"==e.appearance)("mat-form-field-invalid",e._control.errorState)("mat-form-field-can-float",e._canLabelFloat())("mat-form-field-should-float",e._shouldLabelFloat())("mat-form-field-has-label",e._hasFloatingLabel())("mat-form-field-hide-placeholder",e._hideControlPlaceholder())("mat-form-field-disabled",e._control.disabled)("mat-form-field-autofilled",e._control.autofilled)("mat-focused",e._control.focused)("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)("ng-untouched",e._shouldForward("untouched"))("ng-touched",e._shouldForward("touched"))("ng-pristine",e._shouldForward("pristine"))("ng-dirty",e._shouldForward("dirty"))("ng-valid",e._shouldForward("valid"))("ng-invalid",e._shouldForward("invalid"))("ng-pending",e._shouldForward("pending"))("_mat-animation-noopable",!e._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[a.Lb([{provide:et,useExisting:t}]),a.Jb],ngContentSelectors:T,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(t,e){1&t&&(a.uc(L),a.ec(0,"div",0),a.ec(1,"div",1,2),a.lc("click",function(t){return e._control.onContainerClick&&e._control.onContainerClick(t)}),a.Qc(3,x,9,0,"ng-container",3),a.Qc(4,O,2,0,"div",4),a.ec(5,"div",5,6),a.tc(7),a.ec(8,"span",7),a.Qc(9,R,5,16,"label",8),a.dc(),a.dc(),a.Qc(10,E,2,0,"div",9),a.dc(),a.Qc(11,k,3,4,"div",10),a.ec(12,"div",11),a.Qc(13,I,2,1,"div",12),a.Qc(14,P,5,2,"div",13),a.dc(),a.dc()),2&t&&(a.Mb(3),a.vc("ngIf","outline"==e.appearance),a.Mb(1),a.vc("ngIf",e._prefixChildren.length),a.Mb(5),a.vc("ngIf",e._hasFloatingLabel()),a.Mb(1),a.vc("ngIf",e._suffixChildren.length),a.Mb(1),a.vc("ngIf","outline"!=e.appearance),a.Mb(1),a.vc("ngSwitch",e._getDisplayedMessages()),a.Mb(1),a.vc("ngSwitchCase","error"),a.Mb(1),a.vc("ngSwitchCase","hint"))},directives:[n.t,n.x,n.y,s.a],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[z.transitionMessages]},changeDetection:0}),t})(),st=(()=>{class t{}return t.\u0275mod=a.Wb({type:t}),t.\u0275inj=a.Vb({factory:function(e){return new(e||t)},imports:[[n.c,r.j,s.c],r.j]}),t})()}}]);