@smals-belgium-shared/vidis-diarynote 3.3.0 → 3.3.1-snapshot.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -36,23 +36,23 @@ ${t.map((n,i)=>`${i+1}) ${n.toString()}`).join(`
|
|
|
36
36
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})();function Ole(e,t,n){if(n.length){let i=t.toArray(),a=n.toArray(),r=0;for(let s=0;s<e+1;s++)i[s].group&&i[s].group===a[r]&&r++;return r}return 0}function Tle(e,t,n,i){return e<n?e:e+t>n+i?Math.max(0,e-i+t):n}var mf=(()=>{const t=class t{isErrorState(i,a){return!!(i&&i.invalid&&(i.touched||a&&a.submitted))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),rS=class{constructor(e,t,n,i,a){o(this,"_defaultMatcher");o(this,"ngControl");o(this,"_parentFormGroup");o(this,"_parentForm");o(this,"_stateChanges");o(this,"errorState",!1);o(this,"matcher");this._defaultMatcher=e,this.ngControl=t,this._parentFormGroup=n,this._parentForm=i,this._stateChanges=a}updateErrorState(){let e=this.errorState,t=this._parentFormGroup||this._parentForm,n=this.matcher||this._defaultMatcher,i=this.ngControl?this.ngControl.control:null,a=(n==null?void 0:n.isErrorState(i,t))??!1;a!==e&&(this.errorState=a,this._stateChanges.next())}},Nle=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",wt({type:t})),o(t,"ɵinj",xt({imports:[ai]}));let e=t;return e})(),cp=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",wt({type:t})),o(t,"ɵinj",xt({imports:[Gm,ai,Nle]}));let e=t;return e})(),Ss=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",wt({type:t})),o(t,"ɵinj",xt({imports:[ai,tw,ai]}));let e=t;return e})(),Rle=["trigger"],Mle=["panel"],Ple=[[["mat-select-trigger"]],"*"],Fle=["mat-select-trigger","*"];function Lle(e,t){if(e&1&&(I(0,"span",4),B(1),N()),e&2){let n=V();D(),Ee(n.placeholder)}}function Vle(e,t){e&1&&dt(0)}function zle(e,t){if(e&1&&(I(0,"span",11),B(1),N()),e&2){let n=V(2);D(),Ee(n.triggerValue)}}function jle(e,t){if(e&1&&(I(0,"span",5),se(1,Vle,1,0)(2,zle,2,1,"span",11),N()),e&2){let n=V();D(),oe(n.customTrigger?1:2)}}function Ble(e,t){if(e&1){let n=Ke();I(0,"div",12,1),de("keydown",function(i){ve(n);let a=V();return ye(a._handleKeydown(i))}),dt(2,1),N()}if(e&2){let n=V();nie("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",n._getPanelTheme(),""),We("mat-select-panel-animations-enabled",!n._animationsDisabled),X("ngClass",n.panelClass),_e("id",n.id+"-panel")("aria-multiselectable",n.multiple)("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby())}}var oS=new $("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let e=S(xi);return()=>e.scrollStrategies.reposition()}});function Hle(e){return()=>e.scrollStrategies.reposition()}var $le=new $("MAT_SELECT_CONFIG"),qle={provide:oS,deps:[xi],useFactory:Hle},Ule=new $("MatSelectTrigger"),Gle=class{constructor(e,t){o(this,"source");o(this,"value");this.source=e,this.value=t}},ff=(()=>{var t,n,i,a;const r=class r{constructor(){o(this,"_viewportRuler",S(Km));o(this,"_changeDetectorRef",S($t));o(this,"_elementRef",S(ze));o(this,"_dir",S($i,{optional:!0}));o(this,"_idGenerator",S(_i));o(this,"_renderer",S(na));o(this,"_parentFormField",S(Bd,{optional:!0}));o(this,"ngControl",S(ul,{self:!0,optional:!0}));o(this,"_liveAnnouncer",S(rw));o(this,"_defaultOptions",S($le,{optional:!0}));o(this,"_animationsDisabled",S(Ui,{optional:!0})==="NoopAnimations");o(this,"_initialized",new le);o(this,"_cleanupDetach");o(this,"options");o(this,"optionGroups");o(this,"customTrigger");o(this,"_positions",[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}]);o(this,"_scrollStrategyFactory",S(oS));o(this,"_panelOpen",!1);o(this,"_compareWith",(l,c)=>l===c);o(this,"_uid",this._idGenerator.getId("mat-select-"));o(this,"_triggerAriaLabelledBy",null);o(this,"_previousControl");o(this,"_destroy",new le);o(this,"_errorStateTracker");o(this,"stateChanges",new le);o(this,"disableAutomaticLabeling",!0);o(this,"userAriaDescribedBy");o(this,"_selectionModel");o(this,"_keyManager");o(this,"_preferredOverlayOrigin");o(this,"_overlayWidth");o(this,"_onChange",()=>{});o(this,"_onTouched",()=>{});o(this,"_valueId",this._idGenerator.getId("mat-select-value-"));o(this,"_scrollStrategy");o(this,"_overlayPanelClass",((t=this._defaultOptions)==null?void 0:t.overlayPanelClass)||"");o(this,"_focused",!1);o(this,"controlType","mat-select");o(this,"trigger");o(this,"panel");o(this,"_overlayDir");o(this,"panelClass");o(this,"disabled",!1);o(this,"disableRipple",!1);o(this,"tabIndex",0);o(this,"_hideSingleSelectionIndicator",((n=this._defaultOptions)==null?void 0:n.hideSingleSelectionIndicator)??!1);o(this,"_placeholder");o(this,"_required");o(this,"_multiple",!1);o(this,"disableOptionCentering",((i=this._defaultOptions)==null?void 0:i.disableOptionCentering)??!1);o(this,"_value");o(this,"ariaLabel","");o(this,"ariaLabelledby");o(this,"typeaheadDebounceInterval");o(this,"sortComparator");o(this,"_id");o(this,"panelWidth",this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto");o(this,"canSelectNullableOptions",((a=this._defaultOptions)==null?void 0:a.canSelectNullableOptions)??!1);o(this,"optionSelectionChanges",ls(()=>{let l=this.options;return l?l.changes.pipe(Qi(l),cr(()=>Xi(...l.map(c=>c.onSelectionChange)))):this._initialized.pipe(cr(()=>this.optionSelectionChanges))}));o(this,"openedChange",new ce);o(this,"_openedStream",this.openedChange.pipe(oi(l=>l),Dt(()=>{})));o(this,"_closedStream",this.openedChange.pipe(oi(l=>!l),Dt(()=>{})));o(this,"selectionChange",new ce);o(this,"valueChange",new ce);o(this,"_trackedModal",null);o(this,"_skipPredicate",l=>this.panelOpen?!1:l.disabled);var p;let l=S(mf),c=S(Gd,{optional:!0}),d=S(pf,{optional:!0}),u=S(new lm("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),((p=this._defaultOptions)==null?void 0:p.typeaheadDebounceInterval)!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new rS(l,this.ngControl,d,c,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=u==null?0:parseInt(u)||0,this.id=this.id}_scrollOptionIntoView(l){let c=this.options.toArray()[l];if(c){let d=this.panel.nativeElement,u=Ole(l,this.options,this.optionGroups),p=c._getHostElement();l===0&&u===1?d.scrollTop=0:d.scrollTop=Tle(p.offsetTop,p.offsetHeight,d.scrollTop,d.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(l){return new Gle(this,l)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(l){this._hideSingleSelectionIndicator=l,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(l){this._placeholder=l,this.stateChanges.next()}get required(){var l,c;return this._required??((c=(l=this.ngControl)==null?void 0:l.control)==null?void 0:c.hasValidator(sf.required))??!1}set required(l){this._required=l,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(l){this._selectionModel,this._multiple=l}get compareWith(){return this._compareWith}set compareWith(l){this._compareWith=l,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(l){this._assignValue(l)&&this._onChange(l)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(l){this._errorStateTracker.matcher=l}get id(){return this._id}set id(l){this._id=l||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(l){this._errorStateTracker.errorState=l}ngOnInit(){this._selectionModel=new Lse(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Ct(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(Ct(this._destroy)).subscribe(l=>{l.added.forEach(c=>c.select()),l.removed.forEach(c=>c.deselect())}),this.options.changes.pipe(Qi(null),Ct(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let l=this._getTriggerAriaLabelledby(),c=this.ngControl;if(l!==this._triggerAriaLabelledBy){let d=this._elementRef.nativeElement;this._triggerAriaLabelledBy=l,l?d.setAttribute("aria-labelledby",l):d.removeAttribute("aria-labelledby")}c&&(this._previousControl!==c.control&&(this._previousControl!==void 0&&c.disabled!==null&&c.disabled!==this.disabled&&(this.disabled=c.disabled),this._previousControl=c.control),this.updateErrorState())}ngOnChanges(l){(l.disabled||l.userAriaDescribedBy)&&this.stateChanges.next(),l.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){var l,c;(l=this._cleanupDetach)==null||l.call(this),(c=this._keyManager)==null||c.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){var l;this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),(l=this._cleanupDetach)==null||l.call(this),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(Ei(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_applyModalPanelOwnership(){let l=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!l)return;let c=`${this.id}-panel`;this._trackedModal&&np(this._trackedModal,"aria-owns",c),dw(l,"aria-owns",c),this._trackedModal=l}_clearFromModal(){if(!this._trackedModal)return;let l=`${this.id}-panel`;np(this._trackedModal,"aria-owns",l),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){var u;if(this._animationsDisabled||!this.panel){this._detachOverlay();return}(u=this._cleanupDetach)==null||u.call(this),this._cleanupDetach=()=>{c(),clearTimeout(d),this._cleanupDetach=void 0};let l=this.panel.nativeElement,c=this._renderer.listen(l,"animationend",p=>{var v;p.animationName==="_mat-select-exit"&&((v=this._cleanupDetach)==null||v.call(this),this._detachOverlay())}),d=setTimeout(()=>{var p;(p=this._cleanupDetach)==null||p.call(this),this._detachOverlay()},200);l.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(l){this._assignValue(l)}registerOnChange(l){this._onChange=l}registerOnTouched(l){this._onTouched=l}setDisabledState(l){this.disabled=l,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var l,c;return this.multiple?((l=this._selectionModel)==null?void 0:l.selected)||[]:(c=this._selectionModel)==null?void 0:c.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let l=this._selectionModel.selected.map(c=>c.viewValue);return this._isRtl()&&l.reverse(),l.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(l){this.disabled||(this.panelOpen?this._handleOpenKeydown(l):this._handleClosedKeydown(l))}_handleClosedKeydown(l){let c=l.keyCode,d=c===40||c===38||c===37||c===39,u=c===13||c===32,p=this._keyManager;if(!p.isTyping()&&u&&!Di(l)||(this.multiple||l.altKey)&&d)l.preventDefault(),this.open();else if(!this.multiple){let v=this.selected;p.onKeydown(l);let f=this.selected;f&&v!==f&&this._liveAnnouncer.announce(f.viewValue,1e4)}}_handleOpenKeydown(l){let c=this._keyManager,d=l.keyCode,u=d===40||d===38,p=c.isTyping();if(u&&l.altKey)l.preventDefault(),this.close();else if(!p&&(d===13||d===32)&&c.activeItem&&!Di(l))l.preventDefault(),c.activeItem._selectViaInteraction();else if(!p&&this._multiple&&d===65&&l.ctrlKey){l.preventDefault();let v=this.options.some(f=>!f.disabled&&!f.selected);this.options.forEach(f=>{f.disabled||(v?f.select():f.deselect())})}else{let v=c.activeItemIndex;c.onKeydown(l),this._multiple&&u&&l.shiftKey&&c.activeItem&&c.activeItemIndex!==v&&c.activeItem._selectViaInteraction()}}_handleOverlayKeydown(l){l.keyCode===27&&!Di(l)&&(l.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){var l;this._focused=!1,(l=this._keyManager)==null||l.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(l){if(this.options.forEach(c=>c.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&l)l.forEach(c=>this._selectOptionByValue(c)),this._sortValues();else{let c=this._selectOptionByValue(l);c?this._keyManager.updateActiveItem(c):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(l){let c=this.options.find(d=>{if(this._selectionModel.isSelected(d))return!1;try{return(d.value!=null||this.canSelectNullableOptions)&&this._compareWith(d.value,l)}catch{return!1}});return c&&this._selectionModel.select(c),c}_assignValue(l){return l!==this._value||this._multiple&&Array.isArray(l)?(this.options&&this._setSelectionByValue(l),this._value=l,!0):!1}_getOverlayWidth(l){return this.panelWidth==="auto"?(l instanceof $c?l.elementRef:l||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let l of this.options)l._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Kre(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let l=Xi(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ct(l)).subscribe(c=>{this._onSelect(c.source,c.isUserInput),c.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Xi(...this.options.map(c=>c._stateChanges)).pipe(Ct(l)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(l,c){let d=this._selectionModel.isSelected(l);!this.canSelectNullableOptions&&l.value==null&&!this._multiple?(l.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(l.value)):(d!==l.selected&&(l.selected?this._selectionModel.select(l):this._selectionModel.deselect(l)),c&&this._keyManager.setActiveItem(l),this.multiple&&(this._sortValues(),c&&this.focus())),d!==this._selectionModel.isSelected(l)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let l=this.options.toArray();this._selectionModel.sort((c,d)=>this.sortComparator?this.sortComparator(c,d,l):l.indexOf(c)-l.indexOf(d)),this.stateChanges.next()}}_propagateChanges(l){let c;this.multiple?c=this.selected.map(d=>d.value):c=this.selected?this.selected.value:l,this._value=c,this.valueChange.emit(c),this._onChange(c),this.selectionChange.emit(this._getChangeEvent(c)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let l=-1;for(let c=0;c<this.options.length;c++)if(!this.options.get(c).disabled){l=c;break}this._keyManager.setActiveItem(l)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){var l;return!this._panelOpen&&!this.disabled&&((l=this.options)==null?void 0:l.length)>0&&!!this._overlayDir}focus(l){this._elementRef.nativeElement.focus(l)}_getPanelAriaLabelledby(){var d;if(this.ariaLabel)return null;let l=((d=this._parentFormField)==null?void 0:d.getLabelId())||null,c=l?l+" ":"";return this.ariaLabelledby?c+this.ariaLabelledby:l}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var c;if(this.ariaLabel)return null;let l=((c=this._parentFormField)==null?void 0:c.getLabelId())||"";return this.ariaLabelledby&&(l+=" "+this.ariaLabelledby),l||(l=this._valueId),l}setDescribedByIds(l){l.length?this._elementRef.nativeElement.setAttribute("aria-describedby",l.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};o(r,"ɵfac",function(l){return new(l||r)}),o(r,"ɵcmp",Ce({type:r,selectors:[["mat-select"]],contentQueries:function(l,c,d){if(l&1&&(pi(d,Ule,5),pi(d,Yd,5),pi(d,nS,5)),l&2){let u;Pe(u=Fe())&&(c.customTrigger=u.first),Pe(u=Fe())&&(c.options=u),Pe(u=Fe())&&(c.optionGroups=u)}},viewQuery:function(l,c){if(l&1&&(mt(Rle,5),mt(Mle,5),mt(jv,5)),l&2){let d;Pe(d=Fe())&&(c.trigger=d.first),Pe(d=Fe())&&(c.panel=d.first),Pe(d=Fe())&&(c._overlayDir=d.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(l,c){l&1&&de("keydown",function(d){return c._handleKeydown(d)})("focus",function(){return c._onFocus()})("blur",function(){return c._onBlur()}),l&2&&(_e("id",c.id)("tabindex",c.disabled?-1:c.tabIndex)("aria-controls",c.panelOpen?c.id+"-panel":null)("aria-expanded",c.panelOpen)("aria-label",c.ariaLabel||null)("aria-required",c.required.toString())("aria-disabled",c.disabled.toString())("aria-invalid",c.errorState)("aria-activedescendant",c._getAriaActiveDescendant()),We("mat-mdc-select-disabled",c.disabled)("mat-mdc-select-invalid",c.errorState)("mat-mdc-select-required",c.required)("mat-mdc-select-empty",c.empty)("mat-mdc-select-multiple",c.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",qe],disableRipple:[2,"disableRipple","disableRipple",qe],tabIndex:[2,"tabIndex","tabIndex",l=>l==null?0:on(l)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",qe],placeholder:"placeholder",required:[2,"required","required",qe],multiple:[2,"multiple","multiple",qe],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",qe],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",on],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",qe]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[bi([{provide:tf,useExisting:r},{provide:aS,useExisting:r}]),vi],ngContentSelectors:Fle,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(l,c){if(l&1){let d=Ke();Fi(Ple),I(0,"div",2,0),de("click",function(){return ve(d),ye(c.open())}),I(3,"div",3),se(4,Lle,2,1,"span",4)(5,jle,3,1,"span",5),N(),I(6,"div",6)(7,"div",7),dn(),I(8,"svg",8),he(9,"path",9),N()()()(),se(10,Ble,3,10,"ng-template",10),de("detach",function(){return ve(d),ye(c.close())})("backdropClick",function(){return ve(d),ye(c.close())})("overlayKeydown",function(u){return ve(d),ye(c._handleOverlayKeydown(u))})}if(l&2){let d=Dn(1);D(3),_e("id",c._valueId),D(),oe(c.empty?4:5),D(6),X("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",c._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",c._scrollStrategy)("cdkConnectedOverlayOrigin",c._preferredOverlayOrigin||d)("cdkConnectedOverlayPositions",c._positions)("cdkConnectedOverlayWidth",c._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[$c,jv,Qs],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}
|
|
37
37
|
`],encapsulation:2,changeDetection:0}));let e=r;return e})(),sS=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",wt({type:t})),o(t,"ɵinj",xt({providers:[qle],imports:[jd,cp,ai,Hc,Ss,cp,ai]}));let e=t;return e})(),Yle=["tooltip"],Wle=20,Kle=new $("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let e=S(xi);return()=>e.scrollStrategies.reposition({scrollThrottle:Wle})}});function Zle(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var Xle=new $("mat-tooltip-default-options",{providedIn:"root",factory:Zle}),hy="tooltip-panel",py=Ld({passive:!0}),Qle=8,Jle=8,ece=24,tce=200,ice=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_ngZone",S(Ne));o(this,"_platform",S(qt));o(this,"_ariaDescriber",S(Xre));o(this,"_focusMonitor",S(al));o(this,"_dir",S($i));o(this,"_injector",S(lt));o(this,"_viewContainerRef",S(jn));o(this,"_defaultOptions",S(Xle,{optional:!0}));o(this,"_overlayRef");o(this,"_tooltipInstance");o(this,"_portal");o(this,"_position","below");o(this,"_positionAtOrigin",!1);o(this,"_disabled",!1);o(this,"_tooltipClass");o(this,"_viewInitialized",!1);o(this,"_pointerExitEventsInitialized",!1);o(this,"_tooltipComponent",ace);o(this,"_viewportMargin",8);o(this,"_currentPosition");o(this,"_cssClassPrefix","mat-mdc");o(this,"_ariaDescriptionPending");o(this,"_dirSubscribed",!1);o(this,"_showDelay");o(this,"_hideDelay");o(this,"touchGestures","auto");o(this,"_message","");o(this,"_passiveListeners",[]);o(this,"_touchstartTimeout",null);o(this,"_destroyed",new le);o(this,"_isDestroyed",!1);let i=this._defaultOptions;i&&(this._showDelay=i.showDelay,this._hideDelay=i.hideDelay,i.position&&(this.position=i.position),i.positionAtOrigin&&(this.positionAtOrigin=i.positionAtOrigin),i.touchGestures&&(this.touchGestures=i.touchGestures),i.tooltipClass&&(this.tooltipClass=i.tooltipClass)),this._viewportMargin=Qle}get position(){return this._position}set position(i){var a;i!==this._position&&(this._position=i,this._overlayRef&&(this._updatePosition(this._overlayRef),(a=this._tooltipInstance)==null||a.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(i){this._positionAtOrigin=Jr(i),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(i){let a=Jr(i);this._disabled!==a&&(this._disabled=a,a?this.hide(0):this._setupPointerEnterEventsIfNeeded(),this._syncAriaDescription(this.message))}get showDelay(){return this._showDelay}set showDelay(i){this._showDelay=Vc(i)}get hideDelay(){return this._hideDelay}set hideDelay(i){this._hideDelay=Vc(i),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(i){let a=this._message;this._message=i!=null?String(i).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage()),this._syncAriaDescription(a)}get tooltipClass(){return this._tooltipClass}set tooltipClass(i){this._tooltipClass=i,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Ct(this._destroyed)).subscribe(i=>{i?i==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let i=this._elementRef.nativeElement;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([a,r])=>{i.removeEventListener(a,r,py)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0,this._ariaDescriber.removeDescription(i,this.message,"tooltip"),this._focusMonitor.stopMonitoring(i)}show(i=this.showDelay,a){var l;if(this.disabled||!this.message||this._isTooltipVisible()){(l=this._tooltipInstance)==null||l._cancelPendingAnimations();return}let r=this._createOverlay(a);this._detach(),this._portal=this._portal||new Ln(this._tooltipComponent,this._viewContainerRef);let s=this._tooltipInstance=r.attach(this._portal).instance;s._triggerElement=this._elementRef.nativeElement,s._mouseLeaveHideDelay=this._hideDelay,s.afterHidden().pipe(Ct(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),s.show(i)}hide(i=this.hideDelay){let a=this._tooltipInstance;a&&(a.isVisible()?a.hide(i):(a._cancelPendingAnimations(),this._detach()))}toggle(i){this._isTooltipVisible()?this.hide():this.show(void 0,i)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(i){var l;if(this._overlayRef){let c=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!i)&&c._origin instanceof ze)return this._overlayRef;this._detach()}let a=this._injector.get(Wm).getAncestorScrollContainers(this._elementRef),r=this._injector.get(xi),s=r.position().flexibleConnectedTo(this.positionAtOrigin?i||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(a);return s.positionChanges.pipe(Ct(this._destroyed)).subscribe(c=>{this._updateCurrentPositionClass(c.connectionPair),this._tooltipInstance&&c.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=r.create({direction:this._dir,positionStrategy:s,panelClass:`${this._cssClassPrefix}-${hy}`,scrollStrategy:this._injector.get(Kle)()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Ct(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Ct(this._destroyed)).subscribe(()=>{var c;return(c=this._tooltipInstance)==null?void 0:c._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(Ct(this._destroyed)).subscribe(c=>{this._isTooltipVisible()&&c.keyCode===27&&!Di(c)&&(c.preventDefault(),c.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(l=this._defaultOptions)!=null&&l.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._dirSubscribed||(this._dirSubscribed=!0,this._dir.change.pipe(Ct(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(i){let a=i.getConfig().positionStrategy,r=this._getOrigin(),s=this._getOverlayPosition();a.withPositions([this._addOffset(Q(Q({},r.main),s.main)),this._addOffset(Q(Q({},r.fallback),s.fallback))])}_addOffset(i){let a=Jle,r=!this._dir||this._dir.value=="ltr";return i.originY==="top"?i.offsetY=-8:i.originY==="bottom"?i.offsetY=a:i.originX==="start"?i.offsetX=r?-8:a:i.originX==="end"&&(i.offsetX=r?a:-8),i}_getOrigin(){let i=!this._dir||this._dir.value=="ltr",a=this.position,r;a=="above"||a=="below"?r={originX:"center",originY:a=="above"?"top":"bottom"}:a=="before"||a=="left"&&i||a=="right"&&!i?r={originX:"start",originY:"center"}:(a=="after"||a=="right"&&i||a=="left"&&!i)&&(r={originX:"end",originY:"center"});let{x:s,y:l}=this._invertPosition(r.originX,r.originY);return{main:r,fallback:{originX:s,originY:l}}}_getOverlayPosition(){let i=!this._dir||this._dir.value=="ltr",a=this.position,r;a=="above"?r={overlayX:"center",overlayY:"bottom"}:a=="below"?r={overlayX:"center",overlayY:"top"}:a=="before"||a=="left"&&i||a=="right"&&!i?r={overlayX:"end",overlayY:"center"}:(a=="after"||a=="right"&&i||a=="left"&&!i)&&(r={overlayX:"start",overlayY:"center"});let{x:s,y:l}=this._invertPosition(r.overlayX,r.overlayY);return{main:r,fallback:{overlayX:s,overlayY:l}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),gr(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()},{injector:this._injector}))}_setTooltipClass(i){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=i,this._tooltipInstance._markForCheck())}_invertPosition(i,a){return this.position==="above"||this.position==="below"?a==="top"?a="bottom":a==="bottom"&&(a="top"):i==="end"?i="start":i==="start"&&(i="end"),{x:i,y:a}}_updateCurrentPositionClass(i){let{overlayY:a,originX:r,originY:s}=i,l;if(a==="center"?this._dir&&this._dir.value==="rtl"?l=r==="end"?"left":"right":l=r==="start"?"left":"right":l=a==="bottom"&&s==="top"?"above":"below",l!==this._currentPosition){let c=this._overlayRef;if(c){let d=`${this._cssClassPrefix}-${hy}-`;c.removePanelClass(d+this._currentPosition),c.addPanelClass(d+l)}this._currentPosition=l}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",i=>{this._setupPointerExitEventsIfNeeded();let a;i.x!==void 0&&i.y!==void 0&&(a=i),this.show(void 0,a)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",i=>{var l,c;let a=(l=i.targetTouches)==null?void 0:l[0],r=a?{x:a.clientX,y:a.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),this._touchstartTimeout&&clearTimeout(this._touchstartTimeout);let s=500;this._touchstartTimeout=setTimeout(()=>{this._touchstartTimeout=null,this.show(void 0,r)},((c=this._defaultOptions)==null?void 0:c.touchLongPressShowDelay)??s)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let i=[];if(this._platformSupportsMouseEvents())i.push(["mouseleave",a=>{var s;let r=a.relatedTarget;(!r||!((s=this._overlayRef)!=null&&s.overlayElement.contains(r)))&&this.hide()}],["wheel",a=>this._wheelListener(a)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let a=()=>{var r;this._touchstartTimeout&&clearTimeout(this._touchstartTimeout),this.hide((r=this._defaultOptions)==null?void 0:r.touchendHideDelay)};i.push(["touchend",a],["touchcancel",a])}this._addListeners(i),this._passiveListeners.push(...i)}_addListeners(i){i.forEach(([a,r])=>{this._elementRef.nativeElement.addEventListener(a,r,py)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(i){if(this._isTooltipVisible()){let a=this._injector.get(et).elementFromPoint(i.clientX,i.clientY),r=this._elementRef.nativeElement;a!==r&&!r.contains(a)&&this.hide()}}_disableNativeGesturesIfNecessary(){let i=this.touchGestures;if(i!=="off"){let a=this._elementRef.nativeElement,r=a.style;(i==="on"||a.nodeName!=="INPUT"&&a.nodeName!=="TEXTAREA")&&(r.userSelect=r.msUserSelect=r.webkitUserSelect=r.MozUserSelect="none"),(i==="on"||!a.draggable)&&(r.webkitUserDrag="none"),r.touchAction="none",r.webkitTapHighlightColor="transparent"}}_syncAriaDescription(i){this._ariaDescriptionPending||(this._ariaDescriptionPending=!0,this._ariaDescriber.removeDescription(this._elementRef.nativeElement,i,"tooltip"),this._isDestroyed||gr({write:()=>{this._ariaDescriptionPending=!1,this.message&&!this.disabled&&this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")}},{injector:this._injector}))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(i,a){i&2&&We("mat-mdc-tooltip-disabled",a.disabled)},inputs:{position:[0,"matTooltipPosition","position"],positionAtOrigin:[0,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[0,"matTooltipDisabled","disabled"],showDelay:[0,"matTooltipShowDelay","showDelay"],hideDelay:[0,"matTooltipHideDelay","hideDelay"],touchGestures:[0,"matTooltipTouchGestures","touchGestures"],message:[0,"matTooltip","message"],tooltipClass:[0,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}));let e=t;return e})(),ace=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",S($t));o(this,"_elementRef",S(ze));o(this,"_isMultiline",!1);o(this,"message");o(this,"tooltipClass");o(this,"_showTimeoutId");o(this,"_hideTimeoutId");o(this,"_triggerElement");o(this,"_mouseLeaveHideDelay");o(this,"_animationsDisabled");o(this,"_tooltip");o(this,"_closeOnInteraction",!1);o(this,"_isVisible",!1);o(this,"_onHide",new le);o(this,"_showAnimation","mat-mdc-tooltip-show");o(this,"_hideAnimation","mat-mdc-tooltip-hide");let i=S(Ui,{optional:!0});this._animationsDisabled=i==="NoopAnimations"}show(i){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},i)}hide(i){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},i)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){this._cancelPendingAnimations(),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:i}){(!i||!this._triggerElement.contains(i))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let i=this._elementRef.nativeElement.getBoundingClientRect();return i.height>ece&&i.width>=tce}_handleAnimationEnd({animationName:i}){(i===this._showAnimation||i===this._hideAnimation)&&this._finalizeAnimation(i===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(i){i?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(i){let a=this._tooltip.nativeElement,r=this._showAnimation,s=this._hideAnimation;if(a.classList.remove(i?s:r),a.classList.add(i?r:s),this._isVisible!==i&&(this._isVisible=i,this._changeDetectorRef.markForCheck()),i&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let l=getComputedStyle(a);(l.getPropertyValue("animation-duration")==="0s"||l.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}i&&this._onShow(),this._animationsDisabled&&(a.classList.add("_mat-animation-noopable"),this._finalizeAnimation(i))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(i,a){if(i&1&&mt(Yle,7),i&2){let r;Pe(r=Fe())&&(a._tooltip=r.first)}},hostAttrs:["aria-hidden","true"],hostBindings:function(i,a){i&1&&de("mouseleave",function(r){return a._handleMouseLeave(r)})},decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mat-mdc-tooltip-surface","mdc-tooltip__surface"]],template:function(i,a){if(i&1){let r=Ke();I(0,"div",1,0),de("animationend",function(s){return ve(r),ye(a._handleAnimationEnd(s))}),I(2,"div",2),B(3),N()()}i&2&&(We("mdc-tooltip--multiline",a._isMultiline),X("ngClass",a.tooltipClass),D(3),Ee(a.message))},dependencies:[Qs],styles:[`.mat-mdc-tooltip{position:relative;transform:scale(0);display:inline-flex}.mat-mdc-tooltip::before{content:"";top:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-surface{word-break:normal;overflow-wrap:anywhere;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center;will-change:transform,opacity;background-color:var(--mdc-plain-tooltip-container-color, var(--mat-sys-inverse-surface));color:var(--mdc-plain-tooltip-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-plain-tooltip-container-shape, var(--mat-sys-corner-extra-small));font-family:var(--mdc-plain-tooltip-supporting-text-font, var(--mat-sys-body-small-font));font-size:var(--mdc-plain-tooltip-supporting-text-size, var(--mat-sys-body-small-size));font-weight:var(--mdc-plain-tooltip-supporting-text-weight, var(--mat-sys-body-small-weight));line-height:var(--mdc-plain-tooltip-supporting-text-line-height, var(--mat-sys-body-small-line-height));letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, var(--mat-sys-body-small-tracking))}.mat-mdc-tooltip-surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mat-mdc-tooltip-surface{text-align:right}.mat-mdc-tooltip-panel{line-height:normal}.mat-mdc-tooltip-panel.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}
|
|
38
38
|
`],encapsulation:2,changeDetection:0}));let e=t;return e})();function nce(e,t){if(e&1&&(I(0,"mat-option",17),B(1),N()),e&2){let n=t.$implicit;X("value",n),D(),Ie(" ",n," ")}}function rce(e,t){if(e&1){let n=Ke();I(0,"mat-form-field",14)(1,"mat-select",16,0),de("selectionChange",function(i){ve(n);let a=V(2);return ye(a._changePageSize(i.value))}),Mi(3,nce,2,2,"mat-option",17,va),N(),I(5,"div",18),de("click",function(){ve(n);let i=Dn(2);return ye(i.open())}),N()()}if(e&2){let n=V(2);X("appearance",n._formFieldAppearance)("color",n.color),D(),X("value",n.pageSize)("disabled",n.disabled)("aria-labelledby",n._pageSizeLabelId)("panelClass",n.selectConfig.panelClass||"")("disableOptionCentering",n.selectConfig.disableOptionCentering),D(2),Pi(n._displayedPageSizeOptions)}}function oce(e,t){if(e&1&&(I(0,"div",15),B(1),N()),e&2){let n=V(2);D(),Ee(n.pageSize)}}function sce(e,t){if(e&1&&(I(0,"div",3)(1,"div",13),B(2),N(),se(3,rce,6,7,"mat-form-field",14)(4,oce,2,1,"div",15),N()),e&2){let n=V();D(),_e("id",n._pageSizeLabelId),D(),Ie(" ",n._intl.itemsPerPageLabel," "),D(),oe(n._displayedPageSizeOptions.length>1?3:-1),D(),oe(n._displayedPageSizeOptions.length<=1?4:-1)}}function lce(e,t){if(e&1){let n=Ke();I(0,"button",19),de("click",function(){ve(n);let i=V();return ye(i._buttonClicked(0,i._previousButtonsDisabled()))}),dn(),I(1,"svg",8),he(2,"path",20),N()()}if(e&2){let n=V();X("matTooltip",n._intl.firstPageLabel)("matTooltipDisabled",n._previousButtonsDisabled())("disabled",n._previousButtonsDisabled())("tabindex",n._previousButtonsDisabled()?-1:null),_e("aria-label",n._intl.firstPageLabel)}}function cce(e,t){if(e&1){let n=Ke();I(0,"button",21),de("click",function(){ve(n);let i=V();return ye(i._buttonClicked(i.getNumberOfPages()-1,i._nextButtonsDisabled()))}),dn(),I(1,"svg",8),he(2,"path",22),N()()}if(e&2){let n=V();X("matTooltip",n._intl.lastPageLabel)("matTooltipDisabled",n._nextButtonsDisabled())("disabled",n._nextButtonsDisabled())("tabindex",n._nextButtonsDisabled()?-1:null),_e("aria-label",n._intl.lastPageLabel)}}var gf=(()=>{const t=class t{constructor(){o(this,"changes",new le);o(this,"itemsPerPageLabel","Items per page:");o(this,"nextPageLabel","Next page");o(this,"previousPageLabel","Previous page");o(this,"firstPageLabel","First page");o(this,"lastPageLabel","Last page");o(this,"getRangeLabel",(i,a,r)=>{if(r==0||a==0)return`0 of ${r}`;r=Math.max(r,0);let s=i*a,l=s<r?Math.min(s+a,r):s+a;return`${s+1} – ${l} of ${r}`})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),dce=50,uce=new $("MAT_PAGINATOR_DEFAULT_OPTIONS"),hce=(()=>{const t=class t{constructor(){o(this,"_intl",S(gf));o(this,"_changeDetectorRef",S($t));o(this,"_formFieldAppearance");o(this,"_pageSizeLabelId",S(_i).getId("mat-paginator-page-size-label-"));o(this,"_intlChanges");o(this,"_isInitialized",!1);o(this,"_initializedStream",new Pp(1));o(this,"color");o(this,"_pageIndex",0);o(this,"_length",0);o(this,"_pageSize");o(this,"_pageSizeOptions",[]);o(this,"hidePageSize",!1);o(this,"showFirstLastButtons",!1);o(this,"selectConfig",{});o(this,"disabled",!1);o(this,"page",new ce);o(this,"_displayedPageSizeOptions");o(this,"initialized",this._initializedStream);let i=this._intl,a=S(uce,{optional:!0});if(this._intlChanges=i.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),a){let{pageSize:r,pageSizeOptions:s,hidePageSize:l,showFirstLastButtons:c}=a;r!=null&&(this._pageSize=r),s!=null&&(this._pageSizeOptions=s),l!=null&&(this.hidePageSize=l),c!=null&&(this.showFirstLastButtons=c)}this._formFieldAppearance=(a==null?void 0:a.formFieldAppearance)||"outline"}get pageIndex(){return this._pageIndex}set pageIndex(i){this._pageIndex=Math.max(i||0,0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(i){this._length=i||0,this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(i){this._pageSize=Math.max(i||0,0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(i){this._pageSizeOptions=(i||[]).map(a=>on(a,0)),this._updateDisplayedPageSizeOptions()}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){this.hasNextPage()&&this._navigate(this.pageIndex+1)}previousPage(){this.hasPreviousPage()&&this._navigate(this.pageIndex-1)}firstPage(){this.hasPreviousPage()&&this._navigate(0)}lastPage(){this.hasNextPage()&&this._navigate(this.getNumberOfPages()-1)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let i=this.getNumberOfPages()-1;return this.pageIndex<i&&this.pageSize!=0}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(i){let a=this.pageIndex*this.pageSize,r=this.pageIndex;this.pageIndex=Math.floor(a/i)||0,this.pageSize=i,this._emitPageEvent(r)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){this._isInitialized&&(this.pageSize||(this._pageSize=this.pageSizeOptions.length!=0?this.pageSizeOptions[0]:dce),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),this._displayedPageSizeOptions.indexOf(this.pageSize)===-1&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((i,a)=>i-a),this._changeDetectorRef.markForCheck())}_emitPageEvent(i){this.page.emit({previousPageIndex:i,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}_navigate(i){let a=this.pageIndex;i!==a&&(this.pageIndex=i,this._emitPageEvent(a))}_buttonClicked(i,a){a||this._navigate(i)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",on],length:[2,"length","length",on],pageSize:[2,"pageSize","pageSize",on],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",qe],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",qe],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",qe]},outputs:{page:"page"},exportAs:["matPaginator"],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","disabled","tabindex"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button","matTooltipPosition","above","disabledInteractive","",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","disabled","tabindex"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(i,a){i&1&&(I(0,"div",1)(1,"div",2),se(2,sce,5,4,"div",3),I(3,"div",4)(4,"div",5),B(5),N(),se(6,lce,3,5,"button",6),I(7,"button",7),de("click",function(){return a._buttonClicked(a.pageIndex-1,a._previousButtonsDisabled())}),dn(),I(8,"svg",8),he(9,"path",9),N()(),Dh(),I(10,"button",10),de("click",function(){return a._buttonClicked(a.pageIndex+1,a._nextButtonsDisabled())}),dn(),I(11,"svg",8),he(12,"path",11),N()(),se(13,cce,3,5,"button",12),N()()()),i&2&&(D(2),oe(a.hidePageSize?-1:2),D(3),Ie(" ",a._intl.getRangeLabel(a.pageIndex,a.pageSize,a.length)," "),D(),oe(a.showFirstLastButtons?6:-1),D(),X("matTooltip",a._intl.previousPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("disabled",a._previousButtonsDisabled())("tabindex",a._previousButtonsDisabled()?-1:null),_e("aria-label",a._intl.previousPageLabel),D(3),X("matTooltip",a._intl.nextPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("disabled",a._nextButtonsDisabled())("tabindex",a._nextButtonsDisabled()?-1:null),_e("aria-label",a._intl.nextPageLabel),D(3),oe(a.showFirstLastButtons?13:-1))},dependencies:[Hd,ff,Yd,So,ice],styles:[`.mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-sys-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-sys-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-sys-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-sys-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-sys-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-sys-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-sys-body-small-tracking));--mat-form-field-container-height:var(--mat-paginator-form-field-container-height, 40px);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding, 8px)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-sys-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size, 56px)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}@media(forced-colors: active){.mat-mdc-icon-button[aria-disabled] .mat-mdc-paginator-icon,.mat-mdc-paginator-icon{fill:currentColor}.mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-range-actions .mat-mdc-icon-button[aria-disabled]{color:GrayText}}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display, block);position:absolute;top:50%;left:50%;width:84px;height:48px;background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}
|
|
39
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})();Dp(dK());var pce=(()=>{const t=class t{constructor(){this.message=zt.required()}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-error-display"]],inputs:{message:[1,"message"]},decls:3,vars:3,consts:[["fontIcon","info"]],template:function(i,a){i&1&&(he(0,"mat-icon",0),B(1),H(2,"translate")),i&2&&(D(),Ie(" ",W(2,1,"commons.errors."+a.message())," "))},dependencies:[Hn,ba],styles:["[_nghost-%COMP%]{display:flex;align-items:center;background:#c41c0d0d;color:#c41c0d;font-weight:700;padding:16px}mat-icon[_ngcontent-%COMP%]{margin-right:8px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),Wd=(()=>{const t=class t{setServices(i){this.services=i}getServices(){if(!this.services)throw new Error("ComponentServices has not been set yet.");return this.services}hasServices(){return!!this.services}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),mce="4.0",dp=mce,Sn=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(Sn||{}),fce=(()=>{const t=class t{constructor(){o(this,"version");o(this,"language");o(this,"configName");o(this,"services");o(this,"onPrint",new ce);o(this,"_ngInitDone",!1);o(this,"correctlySetup",!1);o(this,"extraRequiredFields",[])}validateVersion(){let i=dp.split(".").map(r=>parseInt(r)),a=(this.version||"").split(".").map(r=>parseInt(r));return a.length!==2?(console.error(`[BaseWebComponent] The given version (${this.version}) has the wrong format <major>.<minor>!`),!1):a[0]!==i[0]?(console.error(`[BaseWebComponent] The given version (${this.version})'s major is not compatible with this component's major version (${dp})!`),!1):!0}validateInputs(){let i=this,a=["language","configName","services","version",...this.extraRequiredFields],{missingFields:r,presentFields:s}=a.reduce((l,c)=>(i[c]===void 0?l.missingFields.push(c):l.presentFields.push(c),l),{missingFields:[],presentFields:[]});return r.length?(console.log(`[BaseWebComponent] Waiting for missing inputs: ${r.join(", ")}; Present inputs: ${s.join(", ")}`),!1):(console.log("[BaseWebComponent] All required inputs are present"),this.validateVersion()?this.services.cacheDataStorage==null?(console.error("[BaseWebComponent] The given services input does not contain a cache service!"),!1):this.services.getAccessToken==null?(console.error("[BaseWebComponent] The given services input does not contain a getAccessToken() function!"),!1):this.services.registerRefreshCallback==null?(console.error("[BaseWebComponent] The given services input does not contain a registerRefreshCallback() function!"),!1):!0:!1)}ngOnChanges(i){this.correctlySetup=this.validateInputs(),this.correctlySetup&&(this._ngInitDone?this.onPropsChanged(i):(this.onInitialized(),this._ngInitDone=!0))}isCorrectlySetup(){return this.correctlySetup}onInitialized(){}onPropsChanged(i){}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[vi],decls:0,vars:0,template:function(i,a){},encapsulation:2}));let e=t;return e})(),lS=class{constructor(e,t,n,i,a){o(this,"logId");o(this,"services");o(this,"key");o(this,"cacheFetchingKey");o(this,"offlineDataStorageEnabled");o(this,"isOfflineAuthenticated");this.logId=a,this.services=e,this.key=t,this.cacheFetchingKey=`fetching-${this.key}`,this.offlineDataStorageEnabled=i,this.isOfflineAuthenticated=n}fetchBackendData(){return Et(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return Et(this,null,function*(){if(this.services.offlineDataStorage==null)return null;let e=yield this.services.offlineDataStorage.get(this.key);return e==null&&this.logId&&console.log("[%s] Offline data not found for key [%s]",this.logId,this.key),this.logId&&console.log("[%s] Found valid data in offline store for key [%s]: [%s]",this.logId,this.key,e),this.storeDataInCache(e),e})}storeDataOffline(e){return Et(this,null,function*(){this.offlineDataStorageEnabled&&this.services.offlineDataStorage&&e&&(yield this.services.offlineDataStorage.set(this.key,e),this.logId&&console.log("[%s] Updated data in the offline store",this.logId))})}storeDataInCache(e){e&&(this.logId&&console.log("[%s] updating data in cache at [%s]",this.logId,this.key),this.services.cacheDataStorage.set(this.key,e))}getDataFromCache(){return Et(this,null,function*(){let e=t=>{this.services.cacheDataStorage.get(this.cacheFetchingKey)?(this.logId&&console.log("[%s] Another WC is fetching data... Waiting a bit.",this.logId),setTimeout(()=>{e(t)},500)):t(this.services.cacheDataStorage.get(this.key))};return this.logId&&console.log("[%s] Trying to get data from cache...",this.logId),new Promise(t=>{e(t)})})}getData(e=!1){return Et(this,null,function*(){let t=null;if(this.isOfflineAuthenticated){if(this.offlineDataStorageEnabled&&this.services.offlineDataStorage)return yield this.fetchOfflineData();throw new Error(`[${this.logId}] Trying to access offline store while it is not present or not enabled`)}if(!e){if(t=yield this.getDataFromCache(),t)return this.logId&&console.log("[%s] Data pulled from cache: ",this.logId,t),t;this.logId&&console.log("[%s] No data in cache",this.logId)}try{return this.services.cacheDataStorage.set(this.cacheFetchingKey,!0),yield this.fetchBackendData()}finally{this.services.cacheDataStorage.remove(this.cacheFetchingKey)}})}updateStoredData(e){return Et(this,null,function*(){this.storeDataInCache(e),yield this.storeDataOffline(e)})}},cS=()=>{let e=["WebView","(iPhone|iPod|iPad)(?!.*Safari)","Android.*(;\\s+wv|Version/\\d.\\d\\s+Chrome/\\d+(\\.0){3})","Linux; U; Android"],t=new RegExp("("+e.join("|")+")","ig");return!!navigator.userAgent.match(t)},ks=function(e){return e.DIARY_NOTES="diarynotes",e.PRESCRIPTIONS="prescriptions",e.MEDICATION_SCHEME="medicationScheme",e.MEDICATION_SCHEME_PAGE_STATE="medicationSchemePageState",e.DELIVERED_MEDICATIONS="deliveredMedications",e.USER_INFOS="userInfos",e.MANDATE_TYPE="mandateType",e}(ks||{}),h=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(h||{}),Kd=function(e){return e.ascending="asc",e.descending="desc",e}(Kd||{});h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE;var rr={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},eo={exchangeClientId:"exchange-client-id",authorization:"Authorization",userType:"user-type",clientType:"client-type"},Ko=class extends Error{};Ko.prototype.name="InvalidTokenError";function gce(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let i=n.charCodeAt(0).toString(16).toUpperCase();return i.length<2&&(i="0"+i),"%"+i}))}function vce(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return gce(t)}catch{return atob(t)}}function yce(e,t){if(typeof e!="string")throw new Ko("Invalid token specified: must be a string");t||(t={});let n=t.header===!0?0:1,i=e.split(".")[n];if(typeof i!="string")throw new Ko(`Invalid token specified: missing part #${n+1}`);let a;try{a=vce(i)}catch(r){throw new Ko(`Invalid token specified: invalid base64 for part #${n+1} (${r.message})`)}try{return JSON.parse(a)}catch(r){throw new Ko(`Invalid token specified: invalid json for part #${n+1} (${r.message})`)}}var bce=class extends lS{constructor(e,t,n){super(e,ks.USER_INFOS,t,n,ks.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return Et(this,null,function*(){return yce(yield this.getLocalAccessToken("")).userProfile})}},dS=(()=>{const t=class t{get isProfessional(){return this._isProfessional}set isProfessional(i){this._isProfessional=i}get patientSsin(){return this._patientSsin}set patientSsin(i){this._patientSsin=i}get isOfflineDataStorageEnabled(){return this._offlineDataStorageEnabled}set isOfflineDataStorageEnabled(i){this._offlineDataStorageEnabled=i}get isOfflineAuthenticated(){return this._isOfflineAuthenticated}set isOfflineAuthenticated(i){this._isOfflineAuthenticated=i}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function _ce(e){var t,n;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((n=e==null?void 0:e.mandators)==null?void 0:n.length)>0?e.mandators[0].ssin:e.ssin}var xce=(()=>{const t=class t extends dS{constructor(){super(...arguments),this.servicesStore=S(Wd)}resolveSsin(){return Et(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let i=yield this.fetchUserProfileToken();return _ce(i)})}resolvePatientInfo(){return Et(this,null,function*(){return yield this.fetchUserProfileToken()})}resolveUserInfo(){return Et(this,null,function*(){var u,p,v,f;let i=yield this.fetchUserProfileToken(),a=i.lastName,r=i.firstName,s=this.extractProfessionalRole(i),l=((u=i==null?void 0:i.organizations)==null?void 0:u.length)>0&&((p=i==null?void 0:i.organizations[0])!=null&&p.pharmacy)?"pharmacist":void 0,c=(v=i==null?void 0:i.organizations)!=null&&v.length&&l!==void 0?i==null?void 0:i.organizations[0]:void 0,d=this.resolveProfessional(i,s)?i[s]:void 0;return{firstName:r,ssin:i.ssin,lastName:a,role:l||s,organization:c&&l?c:void 0,professional:d,mandator:((f=i==null?void 0:i.mandators)==null?void 0:f.length)>0}})}isMandator(){return Et(this,null,function*(){var i,a;return((a=(i=yield this.fetchUserProfileToken())==null?void 0:i.mandators)==null?void 0:a.length)>0})}resolveProfessional(i,a){return a?i[a]:void 0}extractProfessionalRole(i){let a=["physician","nurse","midwife","dentist"],r="patient";return a.forEach(s=>{i[s]&&(r=s)}),r}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(i,a){this.isOfflineAuthenticated=i,this.isOfflineDataStorageEnabled=a,this.accessTokenService=new bce(this.servicesStore.getServices(),i,a)}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),wce=(()=>{const t=class t extends dS{resolveSsin(){return Et(this,null,function*(){return Promise.resolve("00000000097")})}resolvePatientInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097"})}resolveUserInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097",role:"patient",organization:void 0,professional:void 0,mandator:!1})}isMandator(){return Et(this,null,function*(){return Promise.resolve(!1)})}registerAccessTokenService(i,a){this.isOfflineAuthenticated=i,this.isOfflineDataStorageEnabled=a}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Sce=(()=>{const t=class t{constructor(){this.http=S(Js)}get(i,a,r){return ql()?this.http.get(i,{headers:r}):yt(a)}patch(i,a,r){return ql()?this.http.patch(i,{},{headers:r}):yt(a)}post(i,a,r){return ql()?this.http.post(i,{},{headers:r}):yt(a)}delete(i,a,r){return ql()?this.http.delete(i,{headers:r}):yt(a)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ql=()=>window.Cypress,Pn=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(Pn||{}),sn=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(sn||{});function kce(e,t){return Et(this,null,function*(){t.next({status:Pn.LOADING});try{let n=yield e,i={status:Pn.SUCCESS,data:n};return t.next(i),i}catch(n){let i={status:Pn.ERROR,error:Dce(n)};return t.next(i),i}})}var my={[sn.NO_DATA]:["VIDIS_0140"],[sn.TEMP_UNAVAILABLE]:["VIDIS_0121","VIDIS_0122","VIDIS_0123","VIDIS_0124","VIDIS_0125","VIDIS_0126","VIDIS_0131","VIDIS_0132","VIDIS_0133","VIDIS_0134","VIDIS_0135","VIDIS_0136"],[sn.NOT_AUTHORIZED]:["VIDIS_3150","VIDIS_3090","VIDIS_3140","VIDIS_3100","VIDIS_3120","VIDIS_0400","VIDIS_3030","VIDIS_0100","VIDIS_0120","VIDIS_0110","VIDIS_0200","VIDIS_0340","VIDIS_0341"],[sn.OTHER]:[]};function Ece(e){for(let t of Object.keys(my))if(my[t].includes(e))return t;return sn.OTHER}function Cce(e,t,n){let i=e||"UNKNOWN",a=Ece(i);return{code:i,message:n??"An unexpected error occurred",group:a,traceId:t}}function Dce(e){var a,r,s;let t=((a=e.error)==null?void 0:a.code)??void 0,n=((r=e.error)==null?void 0:r.message)??e.message,i=(s=e.headers)==null?void 0:s.get("trace-id");return Cce(t,i,n)}var Ice={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function Ace(e,t){if(e&1){let n=Ke();I(0,"div",1)(1,"button",2),de("click",function(){ve(n);let i=V();return ye(i.action())}),B(2),N()()}if(e&2){let n=V();D(2),Ie(" ",n.data.action," ")}}var Oce=["label"];function Tce(e,t){}var Nce=Math.pow(2,31)-1,up=class{constructor(e,t){o(this,"_overlayRef");o(this,"instance");o(this,"containerInstance");o(this,"_afterDismissed",new le);o(this,"_afterOpened",new le);o(this,"_onAction",new le);o(this,"_durationTimeoutId");o(this,"_dismissedByAction",!1);this._overlayRef=t,this.containerInstance=e,e._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,Nce))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},uS=new $("MatSnackBarData"),Kc=class{constructor(){o(this,"politeness","assertive");o(this,"announcementMessage","");o(this,"viewContainerRef");o(this,"duration",0);o(this,"panelClass");o(this,"direction");o(this,"data",null);o(this,"horizontalPosition","center");o(this,"verticalPosition","bottom")}},Rce=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),Mce=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),Pce=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),Fce=(()=>{const t=class t{constructor(){o(this,"snackBarRef",S(up));o(this,"data",S(uS))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,a){i&1&&(I(0,"div",0),B(1),N(),se(2,Ace,3,1,"div",1)),i&2&&(D(),Ie(" ",a.data.message,`
|
|
40
|
-
`),D(),oe(a.hasAction?2:-1))},dependencies:[_a,
|
|
41
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Hu="_mat-snack-bar-enter",$u="_mat-snack-bar-exit",
|
|
42
|
-
`],encapsulation:2}));let e=t;return e})();function Vce(){return new Kc}var zce=new $("mat-snack-bar-default-options",{providedIn:"root",factory:Vce}),jce=(()=>{const t=class t{constructor(){o(this,"_overlay",S(xi));o(this,"_live",S(rw));o(this,"_injector",S(lt));o(this,"_breakpointObserver",S(ew));o(this,"_parentSnackBar",S(t,{optional:!0,skipSelf:!0}));o(this,"_defaultConfig",S(zce));o(this,"_snackBarRefAtThisLevel",null);o(this,"simpleSnackBarComponent",Fce);o(this,"snackBarContainerComponent",Lce);o(this,"handsetCssClass","mat-mdc-snack-bar-handset")}get _openedSnackBarRef(){let i=this._parentSnackBar;return i?i._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(i){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=i:this._snackBarRefAtThisLevel=i}openFromComponent(i,a){return this._attach(i,a)}openFromTemplate(i,a){return this._attach(i,a)}open(i,a="",r){let s=Q(Q({},this._defaultConfig),r);return s.data={message:i,action:a},s.announcementMessage===i&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(i,a){let r=a&&a.viewContainerRef&&a.viewContainerRef.injector,s=lt.create({parent:r||this._injector,providers:[{provide:Kc,useValue:a}]}),l=new Ln(this.snackBarContainerComponent,a.viewContainerRef,s),c=i.attach(l);return c.instance.snackBarConfig=a,c.instance}_attach(i,a){let r=Q(Q(Q({},new Kc),this._defaultConfig),a),s=this._createOverlay(r),l=this._attachSnackBarContainer(s,r),c=new up(l,s);if(i instanceof vr){let d=new Vd(i,null,{$implicit:r.data,snackBarRef:c});c.instance=l.attachTemplatePortal(d)}else{let d=this._createInjector(r,c),u=new Ln(i,void 0,d),p=l.attachComponentPortal(u);c.instance=p.instance}return this._breakpointObserver.observe(Ice.HandsetPortrait).pipe(Ct(s.detachments())).subscribe(d=>{s.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),r.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(c,r),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(i,a){i.afterDismissed().subscribe(()=>{this._openedSnackBarRef==i&&(this._openedSnackBarRef=null),a.announcementMessage&&this._live.clear()}),a.duration&&a.duration>0&&i.afterOpened().subscribe(()=>i._dismissAfter(a.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{i.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):i.containerInstance.enter()}_createOverlay(i){let a=new rl;a.direction=i.direction;let r=this._overlay.position().global(),s=i.direction==="rtl",l=i.horizontalPosition==="left"||i.horizontalPosition==="start"&&!s||i.horizontalPosition==="end"&&s,c=!l&&i.horizontalPosition!=="center";return l?r.left("0"):c?r.right("0"):r.centerHorizontally(),i.verticalPosition==="top"?r.top("0"):r.bottom("0"),a.positionStrategy=r,this._overlay.create(a)}_createInjector(i,a){let r=i&&i.viewContainerRef&&i.viewContainerRef.injector;return lt.create({parent:r||this._injector,providers:[{provide:up,useValue:a},{provide:uS,useValue:i.data}]})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),hS=(()=>{const t=class t{constructor(){this.snackbar=S(jce),this.translate=S(Bn)}showSuccess(i,a="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(i),this.translate.instant(a),{duration:r,panelClass:"mh-snackbar--success"})}showError(i,a="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(i),this.translate.instant(a),{duration:r,panelClass:"mh-snackbar--error"})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Bce={demo:{env:Sn.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:Sn.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:Sn.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:Sn.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:Sn.PROD}},Do=(()=>{const t=class t{setEnvironment(i){this.configVariables=Bce[Sn[i.toUpperCase()]]||{}}getEnvironmentVariable(i){return this.configVariables[i]}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Es=(()=>{const t=class t{constructor(){this.config=S(Do),this.injector=S(lt),this._instance=null}getInstance(){if(!this._instance){let i=this.config.getEnvironmentVariable("env")==="demo";this._instance=i?this.injector.get(wce):this.injector.get(xce)}return this._instance}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Hce=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-report-error-dialog"]],decls:24,vars:23,consts:[["mat-dialog-title",""],["target","_blank",3,"href"],["mat-flat-button","","type","button",3,"mat-dialog-close"],["mat-stroked-button","","type","button",3,"mat-dialog-close"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),N(),I(3,"mat-dialog-content")(4,"p")(5,"span"),B(6),H(7,"translate"),N()(),I(8,"p")(9,"span"),B(10),H(11,"translate"),N(),I(12,"a",1),H(13,"translate"),B(14),H(15,"translate"),N(),B(16,"."),N()(),I(17,"mat-dialog-actions")(18,"button",2),B(19),H(20,"translate"),N(),I(21,"button",3),B(22),H(23,"translate"),N()()),i&2&&(D(),Ee(W(2,9,"commons.errors.report-message-title")),D(5),Ee(W(7,11,"commons.errors.report-message-explanation")),D(4),Ee(W(11,13,"commons.errors.report-message-content")),D(2),X("href",W(13,15,"commons.errors.report-message-link"),eJ),D(2),Ee(W(15,17,"commons.errors.report-message-term-use")),D(4),X("mat-dialog-close",!0),D(),Ie(" ",W(20,19,"commons.errors.report-message-report-button")," "),D(2),X("mat-dialog-close",!1),D(),Ie(" ",W(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[ef,ol,sl,cl,ll,ko,_a,ba],encapsulation:2});let e=t;return e})(),$ce=(()=>{const t=class t{constructor(){this.vidisErrorCode=S(Jm)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-not-authorized-dialog"]],decls:12,vars:10,consts:[["mat-dialog-title",""],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),N(),I(3,"mat-dialog-content")(4,"p")(5,"span"),B(6),H(7,"translate"),N()()(),I(8,"mat-dialog-actions")(9,"button",1),B(10),H(11,"translate"),N()()),i&2&&(D(),Ee(W(2,4,"commons.errors.action-not-authorized-title")),D(5),Ee(W(7,6,"commons.errors."+a.vidisErrorCode)),D(3),X("mat-dialog-close",!1),D(),Ie(" ",W(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[ef,ol,sl,cl,ll,ko,_a,ba],encapsulation:2});let e=t;return e})(),qce={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Uce=(e,t,n)=>{let i,a=qce[e];return typeof a=="string"?i=a:t===1?i=a.one:i=a.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function qu(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var Gce={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Yce={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Wce={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Kce={date:qu({formats:Gce,defaultWidth:"full"}),time:qu({formats:Yce,defaultWidth:"full"}),dateTime:qu({formats:Wce,defaultWidth:"full"})},Zce={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Xce=(e,t,n,i)=>Zce[e];function $o(e){return(t,n)=>{let i=n!=null&&n.context?String(n.context):"standalone",a;if(i==="formatting"&&e.formattingValues){let s=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):s;a=e.formattingValues[l]||e.formattingValues[s]}else{let s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;a=e.values[l]||e.values[s]}let r=e.argumentCallback?e.argumentCallback(t):t;return a[r]}}var Qce={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Jce={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ede={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},tde={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},ide={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},ade={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},nde=(e,t)=>{let n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},rde={ordinalNumber:nde,era:$o({values:Qce,defaultWidth:"wide"}),quarter:$o({values:Jce,defaultWidth:"wide",argumentCallback:e=>e-1}),month:$o({values:ede,defaultWidth:"wide"}),day:$o({values:tde,defaultWidth:"wide"}),dayPeriod:$o({values:ide,defaultWidth:"wide",formattingValues:ade,defaultFormattingWidth:"wide"})};function qo(e){return(t,n={})=>{let i=n.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],r=t.match(a);if(!r)return null;let s=r[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?sde(l,p=>p.test(s)):ode(l,p=>p.test(s)),d;d=e.valueCallback?e.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;let u=t.slice(s.length);return{value:d,rest:u}}}function ode(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function sde(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function lde(e){return(t,n={})=>{let i=t.match(e.matchPattern);if(!i)return null;let a=i[0],r=t.match(e.parsePattern);if(!r)return null;let s=e.valueCallback?e.valueCallback(r[0]):r[0];s=n.valueCallback?n.valueCallback(s):s;let l=t.slice(a.length);return{value:s,rest:l}}}var cde=/^(\d+)(th|st|nd|rd)?/i,dde=/\d+/i,ude={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},hde={any:[/^b/i,/^(a|c)/i]},pde={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},mde={any:[/1/i,/2/i,/3/i,/4/i]},fde={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},gde={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},vde={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},yde={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},bde={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},_de={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},xde={ordinalNumber:lde({matchPattern:cde,parsePattern:dde,valueCallback:e=>parseInt(e,10)}),era:qo({matchPatterns:ude,defaultMatchWidth:"wide",parsePatterns:hde,defaultParseWidth:"any"}),quarter:qo({matchPatterns:pde,defaultMatchWidth:"wide",parsePatterns:mde,defaultParseWidth:"any",valueCallback:e=>e+1}),month:qo({matchPatterns:fde,defaultMatchWidth:"wide",parsePatterns:gde,defaultParseWidth:"any"}),day:qo({matchPatterns:vde,defaultMatchWidth:"wide",parsePatterns:yde,defaultParseWidth:"any"}),dayPeriod:qo({matchPatterns:bde,defaultMatchWidth:"any",parsePatterns:_de,defaultParseWidth:"any"})},pS={code:"en-US",formatDistance:Uce,formatLong:Kce,formatRelative:Xce,localize:rde,match:xde,options:{weekStartsOn:0,firstWeekContainsDate:1}},wde={};function Io(){return wde}var mS=6048e5,Sde=864e5,kde=6e4,Ede=36e5,Cde=1e3,fy=Symbol.for("constructDateFrom");function si(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&fy in e?e[fy](t):e instanceof Date?new e.constructor(t):new Date(t)}function ni(e,t){return si(t||e,e)}function Zc(e){let t=ni(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Dde(e,...t){let n=si.bind(null,t.find(i=>typeof i=="object"));return t.map(n)}function gy(e,t){let n=ni(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function Ide(e,t,n){let[i,a]=Dde(n==null?void 0:n.in,e,t),r=gy(i),s=gy(a),l=+r-Zc(r),c=+s-Zc(s);return Math.round((l-c)/Sde)}function Ade(e,t){let n=ni(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Ode(e,t){let n=ni(e,t==null?void 0:t.in);return Ide(n,Ade(n))+1}function Vn(e,t){var l,c,d,u;let n=Io(),i=(t==null?void 0:t.weekStartsOn)??((c=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.weekStartsOn)??0,a=ni(e,t==null?void 0:t.in),r=a.getDay(),s=(r<i?7:0)+r-i;return a.setDate(a.getDate()-s),a.setHours(0,0,0,0),a}function co(e,t){return Vn(e,Qe(Q({},t),{weekStartsOn:1}))}function fS(e,t){let n=ni(e,t==null?void 0:t.in),i=n.getFullYear(),a=si(n,0);a.setFullYear(i+1,0,4),a.setHours(0,0,0,0);let r=co(a),s=si(n,0);s.setFullYear(i,0,4),s.setHours(0,0,0,0);let l=co(s);return n.getTime()>=r.getTime()?i+1:n.getTime()>=l.getTime()?i:i-1}function Tde(e,t){let n=fS(e,t),i=si(e,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),co(i)}function gS(e,t){let n=ni(e,t==null?void 0:t.in),i=+co(n)-+Tde(n);return Math.round(i/mS)+1}function vf(e,t){var u,p,v,f;let n=ni(e,t==null?void 0:t.in),i=n.getFullYear(),a=Io(),r=(t==null?void 0:t.firstWeekContainsDate)??((p=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??a.firstWeekContainsDate??((f=(v=a.locale)==null?void 0:v.options)==null?void 0:f.firstWeekContainsDate)??1,s=si((t==null?void 0:t.in)||e,0);s.setFullYear(i+1,0,r),s.setHours(0,0,0,0);let l=Vn(s,t),c=si((t==null?void 0:t.in)||e,0);c.setFullYear(i,0,r),c.setHours(0,0,0,0);let d=Vn(c,t);return+n>=+l?i+1:+n>=+d?i:i-1}function Nde(e,t){var s,l,c,d;let n=Io(),i=(t==null?void 0:t.firstWeekContainsDate)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((d=(c=n.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??1,a=vf(e,t),r=si((t==null?void 0:t.in)||e,0);return r.setFullYear(a,0,i),r.setHours(0,0,0,0),Vn(r,t)}function vS(e,t){let n=ni(e,t==null?void 0:t.in),i=+Vn(n,t)-+Nde(n,t);return Math.round(i/mS)+1}function st(e,t){let n=e<0?"-":"",i=Math.abs(e).toString().padStart(t,"0");return n+i}var xn={y(e,t){let n=e.getFullYear(),i=n>0?n:1-n;return st(t==="yy"?i%100:i,t.length)},M(e,t){let n=e.getMonth();return t==="M"?String(n+1):st(n+1,2)},d(e,t){return st(e.getDate(),t.length)},a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return st(e.getHours()%12||12,t.length)},H(e,t){return st(e.getHours(),t.length)},m(e,t){return st(e.getMinutes(),t.length)},s(e,t){return st(e.getSeconds(),t.length)},S(e,t){let n=t.length,i=e.getMilliseconds(),a=Math.trunc(i*Math.pow(10,n-3));return st(a,t.length)}},Lr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},vy={G:function(e,t,n){let i=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){let i=e.getFullYear(),a=i>0?i:1-i;return n.ordinalNumber(a,{unit:"year"})}return xn.y(e,t)},Y:function(e,t,n,i){let a=vf(e,i),r=a>0?a:1-a;if(t==="YY"){let s=r%100;return st(s,2)}return t==="Yo"?n.ordinalNumber(r,{unit:"year"}):st(r,t.length)},R:function(e,t){let n=fS(e);return st(n,t.length)},u:function(e,t){let n=e.getFullYear();return st(n,t.length)},Q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return st(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return st(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){let i=e.getMonth();switch(t){case"M":case"MM":return xn.M(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){let i=e.getMonth();switch(t){case"L":return String(i+1);case"LL":return st(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){let a=vS(e,i);return t==="wo"?n.ordinalNumber(a,{unit:"week"}):st(a,t.length)},I:function(e,t,n){let i=gS(e);return t==="Io"?n.ordinalNumber(i,{unit:"week"}):st(i,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):xn.d(e,t)},D:function(e,t,n){let i=Ode(e);return t==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):st(i,t.length)},E:function(e,t,n){let i=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,i){let a=e.getDay(),r=(a-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return st(r,2);case"eo":return n.ordinalNumber(r,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,i){let a=e.getDay(),r=(a-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return st(r,t.length);case"co":return n.ordinalNumber(r,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let i=e.getDay(),a=i===0?7:i;switch(t){case"i":return String(a);case"ii":return st(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){let i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){let i=e.getHours(),a;switch(i===12?a=Lr.noon:i===0?a=Lr.midnight:a=i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){let i=e.getHours(),a;switch(i>=17?a=Lr.evening:i>=12?a=Lr.afternoon:i>=4?a=Lr.morning:a=Lr.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let i=e.getHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return xn.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):xn.H(e,t)},K:function(e,t,n){let i=e.getHours()%12;return t==="Ko"?n.ordinalNumber(i,{unit:"hour"}):st(i,t.length)},k:function(e,t,n){let i=e.getHours();return i===0&&(i=24),t==="ko"?n.ordinalNumber(i,{unit:"hour"}):st(i,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):xn.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):xn.s(e,t)},S:function(e,t){return xn.S(e,t)},X:function(e,t,n){let i=e.getTimezoneOffset();if(i===0)return"Z";switch(t){case"X":return by(i);case"XXXX":case"XX":return Jn(i);case"XXXXX":case"XXX":default:return Jn(i,":")}},x:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"x":return by(i);case"xxxx":case"xx":return Jn(i);case"xxxxx":case"xxx":default:return Jn(i,":")}},O:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+yy(i,":");case"OOOO":default:return"GMT"+Jn(i,":")}},z:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+yy(i,":");case"zzzz":default:return"GMT"+Jn(i,":")}},t:function(e,t,n){let i=Math.trunc(+e/1e3);return st(i,t.length)},T:function(e,t,n){return st(+e,t.length)}};function yy(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=Math.trunc(i/60),r=i%60;return r===0?n+String(a):n+String(a)+t+st(r,2)}function by(e,t){return e%60===0?(e>0?"-":"+")+st(Math.abs(e)/60,2):Jn(e,t)}function Jn(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=st(Math.trunc(i/60),2),r=st(i%60,2);return n+a+t+r}var _y=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},yS=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Rde=(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return _y(e,t);let r;switch(i){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;case"PPPP":default:r=t.dateTime({width:"full"});break}return r.replace("{{date}}",_y(i,t)).replace("{{time}}",yS(a,t))},hp={p:yS,P:Rde},Mde=/^D+$/,Pde=/^Y+$/,Fde=["D","DD","YY","YYYY"];function bS(e){return Mde.test(e)}function _S(e){return Pde.test(e)}function pp(e,t,n){let i=Lde(e,t,n);if(console.warn(i),Fde.includes(e))throw new RangeError(i)}function Lde(e,t,n){let i=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${i} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function Vde(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function zde(e){return!(!Vde(e)&&typeof e!="number"||isNaN(+ni(e)))}var jde=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Bde=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Hde=/^'([^]*?)'?$/,$de=/''/g,qde=/[a-zA-Z]/;function Xc(e,t,n){var u,p,v,f,x,w,E,A;let i=Io(),a=(n==null?void 0:n.locale)??i.locale??pS,r=(n==null?void 0:n.firstWeekContainsDate)??((p=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??i.firstWeekContainsDate??((f=(v=i.locale)==null?void 0:v.options)==null?void 0:f.firstWeekContainsDate)??1,s=(n==null?void 0:n.weekStartsOn)??((w=(x=n==null?void 0:n.locale)==null?void 0:x.options)==null?void 0:w.weekStartsOn)??i.weekStartsOn??((A=(E=i.locale)==null?void 0:E.options)==null?void 0:A.weekStartsOn)??0,l=ni(e,n==null?void 0:n.in);if(!zde(l))throw new RangeError("Invalid time value");let c=t.match(Bde).map(L=>{let M=L[0];if(M==="p"||M==="P"){let re=hp[M];return re(L,a.formatLong)}return L}).join("").match(jde).map(L=>{if(L==="''")return{isToken:!1,value:"'"};let M=L[0];if(M==="'")return{isToken:!1,value:Ude(L)};if(vy[M])return{isToken:!0,value:L};if(M.match(qde))throw new RangeError("Format string contains an unescaped latin alphabet character `"+M+"`");return{isToken:!1,value:L}});a.localize.preprocessor&&(c=a.localize.preprocessor(l,c));let d={firstWeekContainsDate:r,weekStartsOn:s,locale:a};return c.map(L=>{if(!L.isToken)return L.value;let M=L.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&_S(M)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&bS(M))&&pp(M,t,String(e));let re=vy[M[0]];return re(l,M,a.localize,d)}).join("")}function Ude(e){let t=e.match(Hde);return t?t[1].replace($de,"'"):e}function xS(e,t,n){let i=ni(e,n==null?void 0:n.in);return isNaN(t)?si((n==null?void 0:n.in)||e,NaN):(t&&i.setDate(i.getDate()+t),i)}function wS(){return Object.assign({},Io())}function Gde(e,t){let n=ni(e,t==null?void 0:t.in).getDay();return n===0?7:n}function Yde(e,t){let n=Wde(t)?new t(0):si(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}function Wde(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var Kde=10,SS=class{constructor(){o(this,"subPriority",0)}validate(e,t){return!0}},Zde=class extends SS{constructor(e,t,n,i,a){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=i,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}},Xde=class extends SS{constructor(t,n){super();o(this,"priority",Kde);o(this,"subPriority",-1);this.context=t||(i=>si(n,i))}set(t,n){return n.timestampIsSet?t:si(t,Yde(t,this.context))}},rt=class{run(e,t,n,i){let a=this.parse(e,t,n,i);return a?{setter:new Zde(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,n){return!0}},Qde=class extends rt{constructor(){super(...arguments);o(this,"priority",140);o(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,i){switch(n){case"G":case"GG":case"GGG":return i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"});case"GGGGG":return i.era(t,{width:"narrow"});case"GGGG":default:return i.era(t,{width:"wide"})||i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"})}}set(t,n,i){return n.era=i,t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},jt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Da={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Bt(e,t){return e&&{value:t(e.value),rest:e.rest}}function Tt(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Ia(e,t){let n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};let i=n[1]==="+"?1:-1,a=n[2]?parseInt(n[2],10):0,r=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:i*(a*Ede+r*kde+s*Cde),rest:t.slice(n[0].length)}}function kS(e){return Tt(jt.anyDigitsSigned,e)}function Mt(e,t){switch(e){case 1:return Tt(jt.singleDigit,t);case 2:return Tt(jt.twoDigits,t);case 3:return Tt(jt.threeDigits,t);case 4:return Tt(jt.fourDigits,t);default:return Tt(new RegExp("^\\d{1,"+e+"}"),t)}}function Qc(e,t){switch(e){case 1:return Tt(jt.singleDigitSigned,t);case 2:return Tt(jt.twoDigitsSigned,t);case 3:return Tt(jt.threeDigitsSigned,t);case 4:return Tt(jt.fourDigitsSigned,t);default:return Tt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function yf(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function ES(e,t){let n=t>0,i=n?t:1-t,a;if(i<=50)a=e||100;else{let r=i+50,s=Math.trunc(r/100)*100,l=e>=r%100;a=e+s-(l?100:0)}return n?a:1-a}function CS(e){return e%400===0||e%4===0&&e%100!==0}var Jde=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,i){let a=r=>({year:r,isTwoDigitYear:n==="yy"});switch(n){case"y":return Bt(Mt(4,t),a);case"yo":return Bt(i.ordinalNumber(t,{unit:"year"}),a);default:return Bt(Mt(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,i){let a=t.getFullYear();if(i.isTwoDigitYear){let s=ES(i.year,a);return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}let r=!("era"in n)||n.era===1?i.year:1-i.year;return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}},eue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,i){let a=r=>({year:r,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Bt(Mt(4,t),a);case"Yo":return Bt(i.ordinalNumber(t,{unit:"year"}),a);default:return Bt(Mt(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,i,a){let r=vf(t,a);if(i.isTwoDigitYear){let l=ES(i.year,r);return t.setFullYear(l,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Vn(t,a)}let s=!("era"in n)||n.era===1?i.year:1-i.year;return t.setFullYear(s,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Vn(t,a)}},tue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Qc(n==="R"?4:n.length,t)}set(t,n,i){let a=si(t,0);return a.setFullYear(i,0,4),a.setHours(0,0,0,0),co(a)}},iue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Qc(n==="u"?4:n.length,t)}set(t,n,i){return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},aue=class extends rt{constructor(){super(...arguments);o(this,"priority",120);o(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"Q":case"QQ":return Mt(n.length,t);case"Qo":return i.ordinalNumber(t,{unit:"quarter"});case"QQQ":return i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(t,{width:"wide",context:"formatting"})||i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,i){return t.setMonth((i-1)*3,1),t.setHours(0,0,0,0),t}},nue=class extends rt{constructor(){super(...arguments);o(this,"priority",120);o(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"q":case"qq":return Mt(n.length,t);case"qo":return i.ordinalNumber(t,{unit:"quarter"});case"qqq":return i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(t,{width:"wide",context:"standalone"})||i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,i){return t.setMonth((i-1)*3,1),t.setHours(0,0,0,0),t}},rue=class extends rt{constructor(){super(...arguments);o(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);o(this,"priority",110)}parse(t,n,i){let a=r=>r-1;switch(n){case"M":return Bt(Tt(jt.month,t),a);case"MM":return Bt(Mt(2,t),a);case"Mo":return Bt(i.ordinalNumber(t,{unit:"month"}),a);case"MMM":return i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(t,{width:"wide",context:"formatting"})||i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}},oue=class extends rt{constructor(){super(...arguments);o(this,"priority",110);o(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,i){let a=r=>r-1;switch(n){case"L":return Bt(Tt(jt.month,t),a);case"LL":return Bt(Mt(2,t),a);case"Lo":return Bt(i.ordinalNumber(t,{unit:"month"}),a);case"LLL":return i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(t,{width:"wide",context:"standalone"})||i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}};function sue(e,t,n){let i=ni(e,n==null?void 0:n.in),a=vS(i,n)-t;return i.setDate(i.getDate()-a*7),ni(i,n==null?void 0:n.in)}var lue=class extends rt{constructor(){super(...arguments);o(this,"priority",100);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,i){switch(n){case"w":return Tt(jt.week,t);case"wo":return i.ordinalNumber(t,{unit:"week"});default:return Mt(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,i,a){return Vn(sue(t,i,a),a)}};function cue(e,t,n){let i=ni(e,n==null?void 0:n.in),a=gS(i,n)-t;return i.setDate(i.getDate()-a*7),i}var due=class extends rt{constructor(){super(...arguments);o(this,"priority",100);o(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,i){switch(n){case"I":return Tt(jt.week,t);case"Io":return i.ordinalNumber(t,{unit:"week"});default:return Mt(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,i){return co(cue(t,i))}},uue=[31,28,31,30,31,30,31,31,30,31,30,31],hue=[31,29,31,30,31,30,31,31,30,31,30,31],pue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"subPriority",1);o(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"d":return Tt(jt.date,t);case"do":return i.ordinalNumber(t,{unit:"date"});default:return Mt(n.length,t)}}validate(t,n){let i=t.getFullYear(),a=CS(i),r=t.getMonth();return a?n>=1&&n<=hue[r]:n>=1&&n<=uue[r]}set(t,n,i){return t.setDate(i),t.setHours(0,0,0,0),t}},mue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"subpriority",1);o(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,i){switch(n){case"D":case"DD":return Tt(jt.dayOfYear,t);case"Do":return i.ordinalNumber(t,{unit:"date"});default:return Mt(n.length,t)}}validate(t,n){let i=t.getFullYear();return CS(i)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,i){return t.setMonth(0,i),t.setHours(0,0,0,0),t}};function bf(e,t,n){var u,p,v,f;let i=Io(),a=(n==null?void 0:n.weekStartsOn)??((p=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:p.weekStartsOn)??i.weekStartsOn??((f=(v=i.locale)==null?void 0:v.options)==null?void 0:f.weekStartsOn)??0,r=ni(e,n==null?void 0:n.in),s=r.getDay(),l=(t%7+7)%7,c=7-a,d=t<0||t>6?t-(s+c)%7:(l+c)%7-(s+c)%7;return xS(r,d,n)}var fue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"E":case"EE":case"EEE":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=bf(t,i,a),t.setHours(0,0,0,0),t}},gue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,i,a){let r=s=>{let l=Math.floor((s-1)/7)*7;return(s+a.weekStartsOn+6)%7+l};switch(n){case"e":case"ee":return Bt(Mt(n.length,t),r);case"eo":return Bt(i.ordinalNumber(t,{unit:"day"}),r);case"eee":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeeee":return i.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=bf(t,i,a),t.setHours(0,0,0,0),t}},vue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,i,a){let r=s=>{let l=Math.floor((s-1)/7)*7;return(s+a.weekStartsOn+6)%7+l};switch(n){case"c":case"cc":return Bt(Mt(n.length,t),r);case"co":return Bt(i.ordinalNumber(t,{unit:"day"}),r);case"ccc":return i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"ccccc":return i.day(t,{width:"narrow",context:"standalone"});case"cccccc":return i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return i.day(t,{width:"wide",context:"standalone"})||i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=bf(t,i,a),t.setHours(0,0,0,0),t}};function yue(e,t,n){let i=ni(e,n==null?void 0:n.in),a=Gde(i,n),r=t-a;return xS(i,r,n)}var bue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,i){let a=r=>r===0?7:r;switch(n){case"i":case"ii":return Mt(n.length,t);case"io":return i.ordinalNumber(t,{unit:"day"});case"iii":return Bt(i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a);case"iiiii":return Bt(i.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return Bt(i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return Bt(i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a)}}validate(t,n){return n>=1&&n<=7}set(t,n,i){return t=yue(t,i),t.setHours(0,0,0,0),t}},_ue=class extends rt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,i){switch(n){case"a":case"aa":case"aaa":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(yf(i),0,0,0),t}},xue=class extends rt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,i){switch(n){case"b":case"bb":case"bbb":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(yf(i),0,0,0),t}},wue=class extends rt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,i){switch(n){case"B":case"BB":case"BBB":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(yf(i),0,0,0),t}},Sue=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,i){switch(n){case"h":return Tt(jt.hour12h,t);case"ho":return i.ordinalNumber(t,{unit:"hour"});default:return Mt(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,i){let a=t.getHours()>=12;return a&&i<12?t.setHours(i+12,0,0,0):!a&&i===12?t.setHours(0,0,0,0):t.setHours(i,0,0,0),t}},kue=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,i){switch(n){case"H":return Tt(jt.hour23h,t);case"Ho":return i.ordinalNumber(t,{unit:"hour"});default:return Mt(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,i){return t.setHours(i,0,0,0),t}},Eue=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,i){switch(n){case"K":return Tt(jt.hour11h,t);case"Ko":return i.ordinalNumber(t,{unit:"hour"});default:return Mt(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.getHours()>=12&&i<12?t.setHours(i+12,0,0,0):t.setHours(i,0,0,0),t}},Cue=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,i){switch(n){case"k":return Tt(jt.hour24h,t);case"ko":return i.ordinalNumber(t,{unit:"hour"});default:return Mt(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,i){let a=i<=24?i%24:i;return t.setHours(a,0,0,0),t}},Due=class extends rt{constructor(){super(...arguments);o(this,"priority",60);o(this,"incompatibleTokens",["t","T"])}parse(t,n,i){switch(n){case"m":return Tt(jt.minute,t);case"mo":return i.ordinalNumber(t,{unit:"minute"});default:return Mt(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,i){return t.setMinutes(i,0,0),t}},Iue=class extends rt{constructor(){super(...arguments);o(this,"priority",50);o(this,"incompatibleTokens",["t","T"])}parse(t,n,i){switch(n){case"s":return Tt(jt.second,t);case"so":return i.ordinalNumber(t,{unit:"second"});default:return Mt(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,i){return t.setSeconds(i,0),t}},Aue=class extends rt{constructor(){super(...arguments);o(this,"priority",30);o(this,"incompatibleTokens",["t","T"])}parse(t,n){let i=a=>Math.trunc(a*Math.pow(10,-n.length+3));return Bt(Mt(n.length,t),i)}set(t,n,i){return t.setMilliseconds(i),t}},Oue=class extends rt{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Ia(Da.basicOptionalMinutes,t);case"XX":return Ia(Da.basic,t);case"XXXX":return Ia(Da.basicOptionalSeconds,t);case"XXXXX":return Ia(Da.extendedOptionalSeconds,t);case"XXX":default:return Ia(Da.extended,t)}}set(t,n,i){return n.timestampIsSet?t:si(t,t.getTime()-Zc(t)-i)}},Tue=class extends rt{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Ia(Da.basicOptionalMinutes,t);case"xx":return Ia(Da.basic,t);case"xxxx":return Ia(Da.basicOptionalSeconds,t);case"xxxxx":return Ia(Da.extendedOptionalSeconds,t);case"xxx":default:return Ia(Da.extended,t)}}set(t,n,i){return n.timestampIsSet?t:si(t,t.getTime()-Zc(t)-i)}},Nue=class extends rt{constructor(){super(...arguments);o(this,"priority",40);o(this,"incompatibleTokens","*")}parse(t){return kS(t)}set(t,n,i){return[si(t,i*1e3),{timestampIsSet:!0}]}},Rue=class extends rt{constructor(){super(...arguments);o(this,"priority",20);o(this,"incompatibleTokens","*")}parse(t){return kS(t)}set(t,n,i){return[si(t,i),{timestampIsSet:!0}]}},Mue={G:new Qde,y:new Jde,Y:new eue,R:new tue,u:new iue,Q:new aue,q:new nue,M:new rue,L:new oue,w:new lue,I:new due,d:new pue,D:new mue,E:new fue,e:new gue,c:new vue,i:new bue,a:new _ue,b:new xue,B:new wue,h:new Sue,H:new kue,K:new Eue,k:new Cue,m:new Due,s:new Iue,S:new Aue,X:new Oue,x:new Tue,t:new Nue,T:new Rue},Pue=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Fue=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Lue=/^'([^]*?)'?$/,Vue=/''/g,zue=/\S/,jue=/[a-zA-Z]/;function Bue(e,t,n,i){var E,A,L,M;let a=()=>si(n,NaN),r=wS(),s=r.locale??pS,l=r.firstWeekContainsDate??((A=(E=r.locale)==null?void 0:E.options)==null?void 0:A.firstWeekContainsDate)??1,c=r.weekStartsOn??((M=(L=r.locale)==null?void 0:L.options)==null?void 0:M.weekStartsOn)??0,d={firstWeekContainsDate:l,weekStartsOn:c,locale:s},u=[new Xde(i==null?void 0:i.in,n)],p=t.match(Fue).map(re=>{let xe=re[0];if(xe in hp){let Re=hp[xe];return Re(re,s.formatLong)}return re}).join("").match(Pue),v=[];for(let re of p){_S(re)&&pp(re,t,e),bS(re)&&pp(re,t,e);let xe=re[0],Re=Mue[xe];if(Re){let{incompatibleTokens:Jt}=Re;if(Array.isArray(Jt)){let ft=v.find(Ut=>Jt.includes(Ut.token)||Ut.token===xe);if(ft)throw new RangeError(`The format string mustn't contain \`${ft.fullToken}\` and \`${re}\` at the same time`)}else if(Re.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${re}\` and any other token at the same time`);v.push({token:xe,fullToken:re});let Ft=Re.run(e,re,s.match,d);if(!Ft)return a();u.push(Ft.setter),e=Ft.rest}else{if(xe.match(jue))throw new RangeError("Format string contains an unescaped latin alphabet character `"+xe+"`");if(re==="''"?re="'":xe==="'"&&(re=Hue(re)),e.indexOf(re)===0)e=e.slice(re.length);else return a()}}if(e.length>0&&zue.test(e))return a();let f=u.map(re=>re.priority).sort((re,xe)=>xe-re).filter((re,xe,Re)=>Re.indexOf(re)===xe).map(re=>u.filter(xe=>xe.priority===re).sort((xe,Re)=>Re.subPriority-xe.subPriority)).map(re=>re[0]),x=ni(n,i==null?void 0:i.in);if(isNaN(+x))return a();let w={};for(let re of f){if(!re.validate(x,d))return a();let xe=re.set(x,w,d);Array.isArray(xe)?(x=xe[0],Object.assign(w,xe[1])):x=xe}return x}function Hue(e){return e.match(Lue)[1].replace(Vue,"'")}function xy(e,t,n){let i=wS(),a=Uue(e,n.timeZone,n.locale??i.locale);return"formatToParts"in a?$ue(a,t):que(a,t)}function $ue(e,t){let n=e.formatToParts(t);for(let i=n.length-1;i>=0;--i)if(n[i].type==="timeZoneName")return n[i].value}function que(e,t){let n=e.format(t).replace(/\u200E/g,""),i=/ [\w-+ ]+$/.exec(n);return i?i[0].substr(1):""}function Uue(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function Gue(e,t){let n=Xue(t);return"formatToParts"in n?Wue(n,e):Kue(n,e)}var Yue={year:0,month:1,day:2,hour:3,minute:4,second:5};function Wue(e,t){try{let n=e.formatToParts(t),i=[];for(let a=0;a<n.length;a++){let r=Yue[n[a].type];r!==void 0&&(i[r]=parseInt(n[a].value,10))}return i}catch(n){if(n instanceof RangeError)return[NaN];throw n}}function Kue(e,t){let n=e.format(t),i=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[parseInt(i[3],10),parseInt(i[1],10),parseInt(i[2],10),parseInt(i[4],10),parseInt(i[5],10),parseInt(i[6],10)]}var Uu={},wy=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),Zue=wy==="06/25/2014, 00:00:00"||wy==="06/25/2014 00:00:00";function Xue(e){return Uu[e]||(Uu[e]=Zue?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Uu[e]}function DS(e,t,n,i,a,r,s){let l=new Date(0);return l.setUTCFullYear(e,t,n),l.setUTCHours(i,a,r,s),l}var Sy=36e5,Que=6e4,Gu={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function IS(e,t,n){if(!e)return 0;let i=Gu.timezoneZ.exec(e);if(i)return 0;let a,r;if(i=Gu.timezoneHH.exec(e),i)return a=parseInt(i[1],10),ky(a)?-(a*Sy):NaN;if(i=Gu.timezoneHHMM.exec(e),i){a=parseInt(i[2],10);let s=parseInt(i[3],10);return ky(a,s)?(r=Math.abs(a)*Sy+s*Que,i[1]==="+"?-r:r):NaN}if(the(e)){t=new Date(t||Date.now());let s=n?t:Jue(t),l=mp(s,e);return-(n?l:ehe(t,l,e))}return NaN}function Jue(e){return DS(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function mp(e,t){let n=Gue(e,t),i=DS(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),a=e.getTime(),r=a%1e3;return a-=r>=0?r:1e3+r,i-a}function ehe(e,t,n){let i=e.getTime()-t,a=mp(new Date(i),n);if(t===a)return t;i-=a-t;let r=mp(new Date(i),n);return a===r?a:Math.max(a,r)}function ky(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var Ey={};function the(e){if(Ey[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Ey[e]=!0,!0}catch{return!1}}var ihe=60*1e3,ahe={X:function(e,t,n){let i=Yu(n.timeZone,e);if(i===0)return"Z";switch(t){case"X":return Cy(i);case"XXXX":case"XX":return zr(i);case"XXXXX":case"XXX":default:return zr(i,":")}},x:function(e,t,n){let i=Yu(n.timeZone,e);switch(t){case"x":return Cy(i);case"xxxx":case"xx":return zr(i);case"xxxxx":case"xxx":default:return zr(i,":")}},O:function(e,t,n){let i=Yu(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+nhe(i,":");case"OOOO":default:return"GMT"+zr(i,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return xy("short",e,n);case"zzzz":default:return xy("long",e,n)}}};function Yu(e,t){let n=e?IS(e,t,!0)/ihe:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function Jc(e,t){let n=e<0?"-":"",i=Math.abs(e).toString();for(;i.length<t;)i="0"+i;return n+i}function zr(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=Jc(Math.floor(i/60),2),r=Jc(Math.floor(i%60),2);return n+a+t+r}function Cy(e,t){return e%60===0?(e>0?"-":"+")+Jc(Math.abs(e)/60,2):zr(e,t)}function nhe(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=Math.floor(i/60),r=i%60;return r===0?n+String(a):n+String(a)+t+Jc(r,2)}function Dy(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}var rhe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,Wu=36e5,Iy=6e4,ohe=2,ki={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:rhe};function she(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);let n=t.additionalDigits==null?ohe:Number(t.additionalDigits);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(Object.prototype.toString.call(e)!=="[object String]")return new Date(NaN);let i=lhe(e),{year:a,restDateString:r}=che(i.date,n),s=dhe(r,a);if(s===null||isNaN(s.getTime()))return new Date(NaN);if(s){let l=s.getTime(),c=0,d;if(i.time&&(c=uhe(i.time),c===null||isNaN(c)))return new Date(NaN);if(i.timeZone||t.timeZone){if(d=IS(i.timeZone||t.timeZone,new Date(l+c)),isNaN(d))return new Date(NaN)}else d=Dy(new Date(l+c)),d=Dy(new Date(l+c+d));return new Date(l+c+d)}else return new Date(NaN)}function lhe(e){let t={},n=ki.dateTimePattern.exec(e),i;if(n?(t.date=n[1],i=n[3]):(n=ki.datePattern.exec(e),n?(t.date=n[1],i=n[2]):(t.date=null,i=e)),i){let a=ki.timeZone.exec(i);a?(t.time=i.replace(a[1],""),t.timeZone=a[1].trim()):t.time=i}return t}function che(e,t){if(e){let n=ki.YYY[t],i=ki.YYYYY[t],a=ki.YYYY.exec(e)||i.exec(e);if(a){let r=a[1];return{year:parseInt(r,10),restDateString:e.slice(r.length)}}if(a=ki.YY.exec(e)||n.exec(e),a){let r=a[1];return{year:parseInt(r,10)*100,restDateString:e.slice(r.length)}}}return{year:null}}function dhe(e,t){if(t===null)return null;let n,i,a;if(!e||!e.length)return n=new Date(0),n.setUTCFullYear(t),n;let r=ki.MM.exec(e);if(r)return n=new Date(0),i=parseInt(r[1],10)-1,Oy(t,i)?(n.setUTCFullYear(t,i),n):new Date(NaN);if(r=ki.DDD.exec(e),r){n=new Date(0);let s=parseInt(r[1],10);return mhe(t,s)?(n.setUTCFullYear(t,0,s),n):new Date(NaN)}if(r=ki.MMDD.exec(e),r){n=new Date(0),i=parseInt(r[1],10)-1;let s=parseInt(r[2],10);return Oy(t,i,s)?(n.setUTCFullYear(t,i,s),n):new Date(NaN)}if(r=ki.Www.exec(e),r)return a=parseInt(r[1],10)-1,Ty(a)?Ay(t,a):new Date(NaN);if(r=ki.WwwD.exec(e),r){a=parseInt(r[1],10)-1;let s=parseInt(r[2],10)-1;return Ty(a,s)?Ay(t,a,s):new Date(NaN)}return null}function uhe(e){let t,n,i=ki.HH.exec(e);if(i)return t=parseFloat(i[1].replace(",",".")),Ku(t)?t%24*Wu:NaN;if(i=ki.HHMM.exec(e),i)return t=parseInt(i[1],10),n=parseFloat(i[2].replace(",",".")),Ku(t,n)?t%24*Wu+n*Iy:NaN;if(i=ki.HHMMSS.exec(e),i){t=parseInt(i[1],10),n=parseInt(i[2],10);let a=parseFloat(i[3].replace(",","."));return Ku(t,n,a)?t%24*Wu+n*Iy+a*1e3:NaN}return null}function Ay(e,t,n){t=t||0,n=n||0;let i=new Date(0);i.setUTCFullYear(e,0,4);let a=i.getUTCDay()||7,r=t*7+n+1-a;return i.setUTCDate(i.getUTCDate()+r),i}var hhe=[31,28,31,30,31,30,31,31,30,31,30,31],phe=[31,29,31,30,31,30,31,31,30,31,30,31];function AS(e){return e%400===0||e%4===0&&e%100!==0}function Oy(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;let i=AS(e);if(i&&n>phe[t]||!i&&n>hhe[t])return!1}return!0}function mhe(e,t){if(t<1)return!1;let n=AS(e);return!(n&&t>366||!n&&t>365)}function Ty(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function Ku(e,t,n){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}var fhe=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function ghe(e,t,n={}){t=String(t);let i=t.match(fhe);if(i){let a=she(n.originalDate||e,n);t=i.reduce(function(r,s){if(s[0]==="'")return r;let l=r.indexOf(s),c=r[l-1]==="'",d=r.replace(s,"'"+ahe[s[0]](a,s,n)+"'");return c?d.substring(0,l-1)+d.substring(l+1):d},t)}return Xc(e,t,n)}var vhe=(()=>{const t=class t{reportError(i){return yt({status:"ok"})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),yhe=(()=>{const t=class t{constructor(){this.http=S(Js),this.authService=S(Es).getInstance(),this.apiUrl=S(Do).getEnvironmentVariable("apiUrl")}reportError(i){return this.http.post(`${this.apiUrl}/v2/report/error`,i,{headers:{[eo.userType]:rr.getUserType({isProfessional:this.authService.isProfessional}),[eo.clientType]:cS()?rr.clientType.mobileApp:rr.clientType.webApp}})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),bhe=(()=>{const t=class t{constructor(){this.config=S(Do),this.injector=S(lt),this._instance=null}getInstance(){if(!this._instance){let i=this.config.getEnvironmentVariable("env")==="demo";this._instance=i?this.injector.get(vhe):this.injector.get(yhe)}return this._instance}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),_he=(()=>{const t=class t extends fce{constructor(){super(...arguments),this.version=dp,this.authServiceSelector=S(Es),this.translateService=S(Bn),this.webComponentConfig=S(Do),this.injector=S(lt),this.servicesStore=S(Wd),this.matDialog=S(Ar),this.destroyRef=S(Hi),this.errorServiceSelector=S(bhe),this.snackbarService=S(hS),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return Et(this,null,function*(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.servicesStore.setServices(this.services),this.authServiceSelector.getInstance().isProfessional=this.professional,this.authServiceSelector.getInstance().patientSsin=this.ssin,this.authServiceSelector.getInstance().registerAccessTokenService(this.isOfflineAuthenticated,this.offlineDataStorageEnabled),this.injectService(),yield this.fetchData(!0),this.services.registerRefreshCallback(i=>Et(this,null,function*(){yield this.fetchData(!0),i()}))})}onPropsChanged(i){i.language&&this.translateService.use(this.language)}checkError(i){(i==null?void 0:i.group)===sn.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(i.code):(i==null?void 0:i.group)===sn.OTHER&&this.showTechnicalErrorPopup(i)}showTechnicalErrorPopup(i){this.matDialog.open(Hce,{data:{error:i}}).beforeClosed().pipe(oi(a=>a),wo(this.destroyRef)).subscribe(()=>{this.reportVidisError(i)})}reportVidisError(i){let a={backendTraceId:"",errorMessage:i.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(a).subscribe({next:r=>{r.status==="ok"?this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast"):this.snackbarService.showError("commons.errors..general")},error:()=>{this.snackbarService.showError("commons.errors.general")}})}showNotAuthorizedErrorPopup(i){this.matDialog.open($ce,{data:i})}formatDateWithZone(){return ghe(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[Pt],decls:0,vars:0,template:function(i,a){},encapsulation:2});let e=t;return e})();function xhe(e,t){if(e&1&&(I(0,"mat-option",4),B(1),H(2,"translate"),N()),e&2){let n=t.$implicit;X("value",n),D(),Ee(W(2,2,"commons.sortDropdown."+n))}}function whe(e,t){if(e&1){let n=Ke();I(0,"button",6),H(1,"translate"),de("click",function(){ve(n);let i=V();return ye(i.emitNewData({sort:i.sortData().sort,order:i.sortDirection.descending}))}),he(2,"mat-icon",7),N()}if(e&2){let n=V();X("disabled",n.disabled()),_e("aria-label",W(1,2,"commons.sortDropdown.sorting-ascendant"))}}function She(e,t){if(e&1){let n=Ke();I(0,"button",6),H(1,"translate"),de("click",function(){ve(n);let i=V();return ye(i.emitNewData({sort:i.sortData().sort,order:i.sortDirection.ascending}))}),he(2,"mat-icon",8),N()}if(e&2){let n=V();X("disabled",n.disabled()),_e("aria-label",W(1,2,"commons.sortDropdown.sorting-descendent"))}}var khe=(()=>{const t=class t{constructor(){this.sortData=cte.required(),this.sortItems=zt.required(),this.disabled=zt(!1),this.sortDirection=Kd}emitNewData(i){this.sortData.set(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-sort-dropdown"]],inputs:{sortData:[1,"sortData"],sortItems:[1,"sortItems"],disabled:[1,"disabled"]},outputs:{sortData:"sortDataChange"},decls:8,vars:3,consts:[[1,"wrap"],[1,"mh-form-field"],["appearance","outline"],[3,"valueChange","value","disabled"],[3,"value"],["mat-icon-button","",3,"disabled"],["mat-icon-button","",3,"click","disabled"],["fontIcon","sort",1,"ascending"],["fontIcon","sort"]],template:function(i,a){i&1&&(I(0,"div",0)(1,"div",1)(2,"mat-form-field",2)(3,"mat-select",3),de("valueChange",function(r){return a.emitNewData({sort:r,order:a.sortData().order})}),Mi(4,xhe,3,4,"mat-option",4,va),N()()(),se(6,whe,3,4,"button",5)(7,She,3,4,"button",5),N()),i&2&&(D(3),X("value",a.sortData().sort)("disabled",a.disabled()),D(),Pi(a.sortItems()),D(2),oe(a.sortData().order===a.sortDirection.ascending?6:7))},dependencies:[Hn,ko,So,Ss,Hd,sS,ff,Yd,ba],styles:[".wrap[_ngcontent-%COMP%]{margin-bottom:16px;display:flex;gap:16px;align-items:baseline}.wrap[_ngcontent-%COMP%] .mh-form-field[_ngcontent-%COMP%]{width:100%}.wrap[_ngcontent-%COMP%] .ascending[_ngcontent-%COMP%]{transform:rotateX(180deg)}"]});let e=t;return e})(),Ehe=[[["","alert-details",""]]],Che=["[alert-details]"];function Dhe(e,t){if(e&1&&(I(0,"h2"),B(1),N()),e&2){let n=V();D(),Ie(" ",n.alertTitle()," ")}}function Ihe(e,t){if(e&1){let n=Ke();I(0,"button",7),de("click",function(){ve(n);let i=V(2);return ye(i.onActionButtonClicked())}),B(1),N()}if(e&2){let n=V(2);X("disabled",n.buttonDisabled()),D(),Ie(" ",n.buttonLabel()," ")}}function Ahe(e,t){if(e&1&&(I(0,"span",5),dt(1),N(),se(2,Ihe,2,2,"button",6)),e&2){let n=V();D(2),oe(n.actionButton()?2:-1)}}function Ohe(e,t){if(e&1){let n=Ke();I(0,"mat-icon",8),de("click",function(){ve(n);let i=V();return ye(i.onCloseButtonClick())})("keydown.enter",function(){ve(n);let i=V();return ye(i.onCloseButtonClick())})("keydown.space",function(){ve(n);let i=V();return ye(i.onCloseButtonClick())}),N()}if(e&2){let n=V();_e("aria-label",n.closeButtonAriaLabel())}}function The(e,t){if(e&1){let n=Ke();I(0,"mat-icon",9),de("click",function(){ve(n);let i=V();return ye(i.toggleExpanded())})("keydown.enter",function(){ve(n);let i=V();return ye(i.toggleExpanded())})("keydown.space",function(){ve(n);let i=V();return ye(i.toggleExpanded())}),N()}if(e&2){let n=V();X("fontIcon",n.expanded()?"keyboard_arrow_up":"keyboard_arrow_down"),_e("aria-label",n.currentExpandIconAriaLabel)}}var Nhe=(()=>{const t=class t{constructor(){o(this,"usage",zt("info"));o(this,"backgroundColor",zt("color"));o(this,"alertTitle",zt());o(this,"actionButton",zt(!1));o(this,"buttonDisabled",zt(!1));o(this,"buttonLabel",zt());o(this,"dismissMode",zt("pinned"));o(this,"closeButtonAriaLabel",zt(""));o(this,"startExpanded",zt(!1));o(this,"expandedButtonAriaLabel",zt(""));o(this,"collapsedButtonAriaLabel",zt(""));o(this,"closeButtonClicked",yg());o(this,"actionButtonClicked",yg());o(this,"expanded",oae(()=>this.startExpanded()));o(this,"currentExpandIconAriaLabel",ta(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));o(this,"toggleExpanded",()=>{this.expanded.update(i=>!i)});o(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});o(this,"fontIcon",ta(()=>({info:"info",success:"check_circle",warning:"warning",error:"emergency_home",notification:"notifications"})[this.usage()]??"info"))}onCloseButtonClick(){this.closeButtonClicked.emit()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mh-alert"]],inputs:{usage:[1,"usage"],backgroundColor:[1,"backgroundColor"],alertTitle:[1,"alertTitle"],actionButton:[1,"actionButton"],buttonDisabled:[1,"buttonDisabled"],buttonLabel:[1,"buttonLabel"],dismissMode:[1,"dismissMode"],closeButtonAriaLabel:[1,"closeButtonAriaLabel"],startExpanded:[1,"startExpanded"],expandedButtonAriaLabel:[1,"expandedButtonAriaLabel"],collapsedButtonAriaLabel:[1,"collapsedButtonAriaLabel"]},outputs:{closeButtonClicked:"closeButtonClicked",actionButtonClicked:"actionButtonClicked"},ngContentSelectors:Che,decls:7,vars:8,consts:[["role","alert","aria-live","assertive"],[3,"fontIcon"],[1,"flex-grow"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon"],["type","button","tabindex","0",1,"top-right-icon",3,"fontIcon"],[1,"alert-details"],["type","button","mat-flat-button","",3,"disabled"],["type","button","mat-flat-button","",3,"click","disabled"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon",3,"click","keydown.enter","keydown.space"],["type","button","tabindex","0",1,"top-right-icon",3,"click","keydown.enter","keydown.space","fontIcon"]],template:function(i,a){i&1&&(Fi(Ehe),I(0,"div",0),he(1,"mat-icon",1),I(2,"div",2),se(3,Dhe,2,1,"h2")(4,Ahe,3,1),N(),se(5,Ohe,1,1,"mat-icon",3)(6,The,1,2,"mat-icon",4),N()),i&2&&(br(a.usage()),We("white",a.backgroundColor()==="white"),D(),X("fontIcon",a.fontIcon()),D(2),oe(a.alertTitle()?3:-1),D(),oe(a.dismissMode()!=="expandable"||a.expanded()?4:-1),D(),oe(a.dismissMode()==="closable"?5:a.dismissMode()==="expandable"?6:-1))},dependencies:[w1,Hn,_a],styles:[".info[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f2f7fd}.info[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#1d5caf;margin:0}.info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#1d5caf;margin:0}.info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#1d5caf;flex-shrink:0}.info[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.success[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f2fcf8}.success[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#1d8657;margin:0}.success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#1d8657;margin:0}.success[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#1d8657;flex-shrink:0}.success[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#1d8657;width:max-content}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#145c3c}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#145c3c}.warning[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#ffeee0}.warning[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#662e00;margin:0}.warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#662e00;margin:0}.warning[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#662e00;flex-shrink:0}.warning[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#994500;width:max-content}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#662e00}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#662e00}.error[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#fff6f5}.error[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#c41c0d;margin:0}.error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#c41c0d;margin:0}.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#c41c0d;flex-shrink:0}.error[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#c41c0d;width:max-content}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#8f0c00}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#8f0c00}.notification[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f5f5f5}.notification[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#c41c0d;flex-shrink:0}.notification[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.notification[_ngcontent-%COMP%] mat-icon.close[_ngcontent-%COMP%]{color:#0d0d0d}.white[_ngcontent-%COMP%]{background:#fff}.white[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d}"]}));let e=t;return e})();function Rhe(e,t){if(e&1&&(I(0,"mh-alert",0),H(1,"translate"),I(2,"div",1),B(3),H(4,"translate"),N()()),e&2){let n=V();X("alertTitle",W(1,2,"commons.errors.data-not-available-title")),D(3),Ee(W(4,4,"commons.errors."+n.error().code))}}var Mhe=(()=>{const t=class t{constructor(){this.error=zt.required(),this.vidisErrorGroup=sn}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(i,a){i&1&&se(0,Rhe,5,6,"mh-alert",0),i&2&&oe(a.error().group===a.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[ba,Nhe],styles:["mat-card-header[_ngcontent-%COMP%]{color:#c41c0d}mat-card-header[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px}span[_ngcontent-%COMP%]{white-space:pre-line}"]});let e=t;return e})(),Phe=["*"],Fhe=(e,t,n,i,a)=>({"custom-content":e,circle:t,progress:n,"progress-dark":i,pulse:a});function Lhe(e,t){e&1&&dt(0)}function Vhe(e,t){if(e&1&&(I(0,"div",0),se(1,Lhe,1,0),N()),e&2){let n=V(),i=Zg(0),a=Zg(1);X("ngClass",Oie(5,Fhe,i==="custom-content",i==="circle",a==="progress",a==="progress-dark",a==="pulse"))("ngStyle",n.styles()),_e("aria-label",n.ariaLabel())("aria-valuetext",n.loadingText()),D(),oe(i==="custom-content"?1:-1)}}var OS=new $("ngx-skeleton-loader.config"),zhe=(()=>{var t;const n=class n{constructor(){Wf(this,t);var a,r,s,l,c,d;Kf(this,t,S(OS,{optional:!0})),this.count=zt(((a=Ja(this,t))==null?void 0:a.count)||1,{transform:on}),this.loadingText=zt(((r=Ja(this,t))==null?void 0:r.loadingText)||"Loading..."),this.appearance=zt(((s=Ja(this,t))==null?void 0:s.appearance)||"line"),this.animation=zt(((l=Ja(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=zt(((c=Ja(this,t))==null?void 0:c.ariaLabel)||"loading"),this.theme=zt(((d=Ja(this,t))==null?void 0:d.theme)||null),this.items=ta(()=>{let u=this.count()||1;return this.appearance()==="custom-content"&&Yie(),[...Array(u)].map((p,v)=>v)}),this.styles=ta(()=>{var p,v,f;let u=this.theme();return(v=(p=Ja(this,t))==null?void 0:p.theme)!=null&&v.extendsFromRoot?Q(Q({},(f=Ja(this,t))==null?void 0:f.theme),u):u})}};t=new WeakMap,n.ɵfac=function(a){return new(a||n)},n.ɵcmp=Ce({type:n,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:Phe,decls:4,vars:2,consts:[["aria-busy","true","aria-valuemin","0","aria-valuemax","100","role","progressbar","tabindex","-1",1,"skeleton-loader",3,"ngClass","ngStyle"]],template:function(a,r){a&1&&(Fi(),Pm(0)(1),Mi(2,Vhe,2,11,"div",0,va)),a&2&&(Kg(r.appearance()),D(),Kg(r.animation()),D(),Pi(r.items()))},dependencies:[Qs,Wae],styles:['.skeleton-loader[_ngcontent-%COMP%]{box-sizing:border-box;overflow:hidden;position:relative;background:#eff1f6 no-repeat;border-radius:4px;width:100%;height:20px;display:inline-block;margin-bottom:10px;will-change:transform}.skeleton-loader[_ngcontent-%COMP%]:after, .skeleton-loader[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.circle[_ngcontent-%COMP%]{width:40px;height:40px;margin:5px;border-radius:50%}.skeleton-loader.progress[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%]{transform:translateZ(0)}.skeleton-loader.progress[_ngcontent-%COMP%]:after, .skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:after, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_progress 2s ease-in-out infinite;background-size:200px 100%;position:absolute;z-index:1;top:0;left:0;width:200px;height:100%;content:""}.skeleton-loader.progress[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,#fff0,#fff9,#fff0)}.skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.2),transparent)}.skeleton-loader.pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1.5s cubic-bezier(.4,0,.2,1) infinite;animation-delay:.5s}.skeleton-loader.custom-content[_ngcontent-%COMP%]{height:100%;background:none}@media (prefers-reduced-motion: reduce){.skeleton-loader.pulse[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%], .skeleton-loader.progress[_ngcontent-%COMP%]:before{animation:none}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-device-width: 1200px){.skeleton-loader[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;cursor:wait}}@keyframes _ngcontent-%COMP%_progress{0%{transform:translate3d(-200px,0,0)}to{transform:translate3d(calc(200px + 100vw),0,0)}}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}'],changeDetection:0});let e=n;return e})(),jhe=(()=>{const t=class t{static forRoot(i){return{ngModule:t,providers:[{provide:OS,useValue:i}]}}};t.ɵfac=function(i){return new(i||t)},t.ɵmod=wt({type:t}),t.ɵinj=xt({imports:[w1]});let e=t;return e})(),Bhe=Dp(uK()),TS={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.blockfact.facti":["facti"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(TS);var Hhe=TS,NS={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/dicom":["dcm"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg","one","onea"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"application/zip+dotlottie":["lottie"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a","m4b"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime","mht","mhtml"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step":["step","stp","stpnc","p21","210"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(NS);var $he=NS,Wi=function(e,t,n,i){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(e):i?i.value:t.get(e)},jr,Zo,er,qhe=class{constructor(...e){jr.set(this,new Map),Zo.set(this,new Map),er.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[n,i]of Object.entries(e)){n=n.toLowerCase(),i=i.map(s=>s.toLowerCase()),Wi(this,er,"f").has(n)||Wi(this,er,"f").set(n,new Set);let a=Wi(this,er,"f").get(n),r=!0;for(let s of i){let l=s.startsWith("*");if(s=l?s.slice(1):s,a==null||a.add(s),r&&Wi(this,Zo,"f").set(n,s),r=!1,l)continue;let c=Wi(this,jr,"f").get(s);if(c&&c!=n&&!t)throw new Error(`"${n} -> ${s}" conflicts with "${c} -> ${s}". Pass \`force=true\` to override this definition.`);Wi(this,jr,"f").set(s,n)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),n=t.replace(/^.*\./s,"").toLowerCase(),i=t.length<e.length;return!(n.length<t.length-1)&&i?null:Wi(this,jr,"f").get(n)??null}getExtension(e){var t;return typeof e!="string"?null:(e=(t=e==null?void 0:e.split)==null?void 0:t.call(e,";")[0],(e&&Wi(this,Zo,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:Wi(this,er,"f").get(e.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(let e of Wi(this,er,"f").values())Object.freeze(e);return this}_getTestState(){return{types:Wi(this,jr,"f"),extensions:Wi(this,Zo,"f")}}};jr=new WeakMap,Zo=new WeakMap,er=new WeakMap;var Uhe=qhe,RS=new Uhe($he,Hhe)._freeze(),_f=function(e){return e.author="author",e.date="date",e.role="role",e}(_f||{}),Zd=(()=>{const t=class t{setClientId(i){this.clientId=i}buildClientIdHeader(){return this.clientId&&new wr().set(eo.exchangeClientId,this.clientId)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Cs=(()=>{const t=class t extends lS{constructor(i,a){super(i.getServices(),ks.DIARY_NOTES,a.getInstance().isOfflineAuthenticated,a.getInstance().isOfflineDataStorageEnabled,ks.DIARY_NOTES),this.diarynoteApiService=S(Zd),this.snackbarService=S(hS),this.translate=S(Bn),this.authServiceSelector=S(Es),this.diarynotesStateSubject$=new tr({status:Pn.INITIAL}),this.filterStateSubject$=new tr({dateRange:{from:null,until:null}}),this.paginationStateSubject$=new tr({page:0,pageSize:10,totalPages:void 0}),this.sortStateSubject$=new tr({sort:_f.date,order:Kd.descending}),this.patientSubject$=new tr(void 0),this.diarynotesState$=this.diarynotesStateSubject$.asObservable(),this.filterState$=this.filterStateSubject$.asObservable(),this.paginationState$=this.paginationStateSubject$.asObservable(),this.sortState$=this.sortStateSubject$.asObservable()}setClientId(i){this.diarynoteApiService.setClientId(i)}fetchDiarynotes(i=!0){return Et(this,null,function*(){return kce(this.getData(i),this.diarynotesStateSubject$)})}getDataFromBackend(){return Et(this,null,function*(){let i=yield this.authServiceSelector.getInstance().resolvePatientInfo(),a=this.authServiceSelector.getInstance().isProfessional?yield this.authServiceSelector.getInstance().resolveSsin():"";this.patientSubject$.next(i);let r=this.diarynoteApiService.search(this.filterStateSubject$.getValue(),this.paginationStateSubject$.getValue(),this.sortStateSubject$.getValue(),a);return iZ(r)})}static isDiaryNoteCompleted(i){return(i==null?void 0:i.toLowerCase())==="completed"}updatePagination(i){return Et(this,null,function*(){let a=this.paginationStateSubject$.getValue(),r=Qe(Q({},a),{page:(i==null?void 0:i.page)!==void 0?i.page:a.page,pageSize:(i==null?void 0:i.pageSize)||a.pageSize});this.paginationStateSubject$.next(r),yield this.fetchDiarynotes(!0)})}updateSorting(i){return Et(this,null,function*(){let a=this.sortStateSubject$.getValue(),r={sort:(i==null?void 0:i.sort)!==void 0?i.sort:a.sort,order:(i==null?void 0:i.order)||a.order};this.sortStateSubject$.next(r),yield this.fetchDiarynotes(!0)})}updateFilter(i){return Et(this,null,function*(){this.filterStateSubject$.next(i);let a=this.paginationStateSubject$.getValue();this.paginationStateSubject$.next(Qe(Q({},a),{page:void 0})),yield this.fetchDiarynotes(!0)})}clearFilter(){return Et(this,null,function*(){this.filterStateSubject$.next({dateRange:{from:null,until:null},author:"",role:"",tags:[]}),yield this.fetchDiarynotes(!0)})}clearFilterByKey(i){return Et(this,null,function*(){let a=this.filterStateSubject$.getValue(),r;i==="range"?r=Qe(Q({},a),{dateRange:{from:null,until:null}}):r=Qe(Q({},a),{[i]:void 0}),this.filterStateSubject$.next(r),yield this.fetchDiarynotes(!0)})}downloadSpecificDiaryNoteAttachment(i,a,r,s,l){this.diarynoteApiService.fetchSpecificDiaryNote(i,a,r,s).subscribe({next:c=>{var u,p;let d=c.attachments[l];if(d)if(d.url)window.open(d.url,"_blank");else{let v=d.contentType||"text/plain",f=this.getAttachmentFileName(l,v),x=this.b64toBlob(d.data,v);(0,Bhe.saveAs)(x,f)}else{let v;switch((p=(u=c.note)==null?void 0:u.error)==null?void 0:p.code){case"VIDIS_1000":case"VIDIS_1005":v="diaryNotesPage.add-note-error."+c.note.error.code;break;default:v="commons.errors.general";break}this.snackbarService.showError(v)}},error:()=>{this.snackbarService.showError("commons.errors.general")}})}b64toBlob(i,a="",r=512){let s=atob(i),l=[];for(let c=0;c<s.length;c+=r){let d=s.slice(c,c+r),u=new Array(d.length);for(let v=0;v<d.length;v++)u[v]=d.charCodeAt(v);let p=new Uint8Array(u);l.push(p)}return new Blob(l,{type:a})}getAttachmentFileName(i,a){let r=a?RS.getExtension(a):"unknown";return this.translate.instant("commons.file")+"_"+(i+1)+"."+r}postDiarynote(i,a){this.diarynoteApiService.postDiaryNote(i,a,this.patientSubject$.getValue(),this.translate.currentLang).subscribe({next:()=>{this.fetchDiarynotes(!0).catch(r=>{console.error("Error fetching diary note:",r)})},error:r=>{console.error("Error posting diary note:",r),this.handleDiaryNoteError(r)}})}handleDiaryNoteError(i){let a="diaryNotesPage.add-note-error.default";["VIDIS_0410","VIDIS_0415","VIDIS_0420","VIDIS_0425","VIDIS_1005","VIDIS_1000"].includes(i==null?void 0:i.code)&&(a="diaryNotesPage.add-note-error."+i.code),this.snackbarService.showError(a)}deleteDiaryNote(i,a,r,s){this.diarynoteApiService.deleteDiaryNote(i,a,r,s).subscribe({next:l=>{var d,u;let c=this.diarynotesStateSubject$.getValue();if(l.statusCode===204){let p=((d=c.data)==null?void 0:d.items.filter(v=>v.id!==i))||[];this.diarynotesStateSubject$.next(Qe(Q({},c),{data:Qe(Q({},c.data),{items:p}),status:Pn.SUCCESS}))}else{let p=((u=c.data)==null?void 0:u.items.map(v=>v.id===l.diaryNote.note.id?l.diaryNote.note:v))||[];this.diarynotesStateSubject$.next(Qe(Q({},c),{data:Qe(Q({},c.data),{items:p}),status:Pn.SUCCESS}))}this.updateStoredData(this.diarynotesStateSubject$.getValue().data)},error:l=>{var c;this.snackbarService.showError(((c=l.error)==null?void 0:c.code)==="VIDIS_0500"?"commons.errors.general":"commons.errors.VIDIS_0400")}})}};t.ɵfac=function(i){return new(i||t)(pe(Wd),pe(Es))},t.ɵprov=q({token:t,factory:t.ɵfac});let e=t;return e})(),MS=(()=>{const t=class t extends Zd{constructor(){super(...arguments),this.http=S(Js)}search(i,a,r,s){let l={};return s&&(l.ssin=s),i.dateRange.from&&(l.fromDate=Xc(i.dateRange.from,"yyyy-MM-dd")),i.dateRange.until&&(l.toDate=Xc(i.dateRange.until,"yyyy-MM-dd")),i.role&&(l.roles=[i.role]),i.tags&&(l.tags=i.tags),i.author&&(l.authors=[i.author]),r.sort&&(l.sort=_f[r.sort]),r.order===Kd.ascending&&(l.sortDirection="ascending"),a.page&&(l.page=a.page),a.pageSize&&(l.pageSize=a.pageSize),this.http.get("/v1/mydiarynotes",{params:Q({},l),headers:this.buildClientIdHeader()})}fetchSpecificDiaryNote(i,a,r,s){return this.http.get(`/v1/diarynotes/${i}`,{params:{patientSsin:s,source:r??"vitalink",version:a},headers:this.buildClientIdHeader()}).pipe(Bp(l=>(console.error("Error fetching diary note with attachement:",l),qb(()=>l))))}postDiaryNote(i,a,r,s){return this.http.post("/v1/diarynotes",this.buildFormData(i,a,r,s),{headers:this.buildClientIdHeader()})}deleteDiaryNote(i,a,r,s){return this.http.delete(`/v1/diarynotes/${i}`,{params:{version:a,source:r??"vitalink",patientSsin:s},observe:"response",headers:this.buildClientIdHeader()}).pipe(Dt(l=>({diaryNote:l.body,statusCode:l.status})))}buildFormData(i,a,r,s){let l=new FormData,c={language:s,subject:{firstName:r.firstName,lastName:r.lastName,ssin:r.ssin},content:i,contentType:"plaintext"};return l.append("attachments",a),l.append("diaryNote",new Blob([JSON.stringify(c)],{type:"application/json"})),l}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Ghe={items:[{language:"fr",id:"7530f63b-7e82-4884-8ddd-fa137e0a9b42",creation:"2021-02-10T15:38:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"Mickey",lastName:"Mouse",nihdi:"10000000004",role:"persphysician"},subject:{ssin:"00000000097",firstName:"John",lastName:"Doe"},content:"Ce matin, après la prise de son médicament, le patient avait le ventre gonflé",contentType:"plaintext",attachments:[],tags:["medication"]},{language:"fr",id:"7a82de0a-ab8e-4985-bb3d-6aed1c8e7894",creation:"2020-12-31T15:38:16.176194+02:00",version:1,source:"vitalink",status:"deleted",author:{firstName:"Mickey",lastName:"Mouse",nihdi:"10000000004",role:"persphysician"},subject:{ssin:"00000000097",firstName:"John",lastName:"Doe"},content:"<strike>Ceci est une note supprimée</strike>",contentType:"html",attachments:[],tags:[]},{language:"nl",id:"b394a649-c91c-4088-a2d1-45e2f54cf071",creation:"2018-04-13T15:38:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"Goof",lastName:"Goofy",ssin:"12345678902",nihdi:"20000000001",role:"perspharmacist"},subject:{ssin:"00000000097",firstName:"John",lastName:"Doe"},content:"Inhoud van het journaal item, in Vitalink beperkt tot maximaal 320 karakters.",contentType:"plaintext",attachments:[],tags:[]}],availableFilters:{authors:["Mickey Mouse","Goof Goofy"],roles:["pharmacist","physician"],tags:["medication"]},errors:[],page:0,totalItems:3,totalPages:1},PS={note:{language:"nl",id:"7530f63b-7e82-4884-8ddd-fa137e0a9b42",creation:"2021-03-10T15:38:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"Nadia",lastName:"Hassan",ssin:"82012419934",nihdi:"10025840123",role:"persorthopedist"},subject:{ssin:"80120532330",firstName:"Benjamin",lastName:"Van Rietvelde"},content:"Fis parturient montes, nascetur ridiculus mus. Donec quam felis... (demo)",contentType:"plaintext",tags:[]},attachments:[]},Yhe={diaryNote:PS,statusCode:200},FS=(()=>{const t=class t extends Zd{constructor(){super(...arguments),this.demoService=S(Sce)}search(i,a,r,s){return this.demoService.get("/v1/mydiarynotes",Ghe,this.buildClientIdHeader())}fetchSpecificDiaryNote(i,a,r,s){return this.demoService.get(`/v1/diarynotes/${i}`,PS,this.buildClientIdHeader())}postDiaryNote(i,a,r,s){return this.demoService.post("/v1/diarynotes",{},this.buildClientIdHeader())}deleteDiaryNote(i,a,r,s){return this.demoService.delete(`/v1/diarynotes/${i}`,Yhe,this.buildClientIdHeader())}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Whe=(e,t)=>e.getEnvironmentVariable("env")===Sn.DEMO?t.get(FS):t.get(MS),Khe={provide:Zd,useFactory:Whe,deps:[Do,lt]},Zhe=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Xhe=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Qhe(e,t){e&1&&(I(0,"span",3),dt(1,1),N())}function Jhe(e,t){e&1&&(I(0,"span",6),dt(1,2),N())}var epe=["*"],tpe=new $("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),Ny=new $("MatChipAvatar"),Ry=new $("MatChipTrailingIcon"),fp=new $("MatChipRemove"),LS=new $("MatChip"),gp=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_parentChip",S(LS));o(this,"isInteractive",!0);o(this,"_isPrimary",!0);o(this,"_disabled",!1);o(this,"tabIndex",-1);o(this,"_allowFocusWhenDisabled",!1);S(Li).load(nl),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}get disabled(){var i;return this._disabled||((i=this._parentChip)==null?void 0:i.disabled)||!1}set disabled(i){this._disabled=i}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}focus(){this._elementRef.nativeElement.focus()}_handleClick(i){!this.disabled&&this.isInteractive&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(i,a){i&1&&de("click",function(r){return a._handleClick(r)})("keydown",function(r){return a._handleKeydown(r)}),i&2&&(_e("tabindex",a._getTabindex())("disabled",a._getDisabledAttribute())("aria-disabled",a.disabled),We("mdc-evolution-chip__action--primary",a._isPrimary)("mdc-evolution-chip__action--presentational",!a.isInteractive)("mdc-evolution-chip__action--trailing",!a._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",qe],tabIndex:[2,"tabIndex","tabIndex",i=>i==null?-1:on(i)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}}));let e=t;return e})(),VS=(()=>{const t=class t extends gp{constructor(){super(...arguments);o(this,"_isPrimary",!1)}_handleClick(a){this.disabled||(a.stopPropagation(),a.preventDefault(),this._parentChip.remove())}_handleKeydown(a){(a.keyCode===13||a.keyCode===32)&&!this.disabled&&(a.stopPropagation(),a.preventDefault(),this._parentChip.remove())}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Qt(t)))(r||t)}})()),o(t,"ɵdir",Se({type:t,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(a,r){a&2&&_e("aria-hidden",null)},features:[bi([{provide:fp,useExisting:t}]),Pt]}));let e=t;return e})(),Xd=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",S($t));o(this,"_elementRef",S(ze));o(this,"_ngZone",S(Ne));o(this,"_focusMonitor",S(al));o(this,"_globalRippleOptions",S(Um,{optional:!0}));o(this,"_document",S(et));o(this,"_onFocus",new le);o(this,"_onBlur",new le);o(this,"_isBasicChip");o(this,"role",null);o(this,"_hasFocusInternal",!1);o(this,"_pendingFocus");o(this,"_actionChanges");o(this,"_animationsDisabled");o(this,"_allLeadingIcons");o(this,"_allTrailingIcons");o(this,"_allRemoveIcons");o(this,"id",S(_i).getId("mat-mdc-chip-"));o(this,"ariaLabel",null);o(this,"ariaDescription",null);o(this,"_ariaDescriptionId",`${this.id}-aria-description`);o(this,"_chipListDisabled",!1);o(this,"_textElement");o(this,"_value");o(this,"color");o(this,"removable",!0);o(this,"highlighted",!1);o(this,"disableRipple",!1);o(this,"_disabled",!1);o(this,"removed",new ce);o(this,"destroyed",new ce);o(this,"basicChipAttrName","mat-basic-chip");o(this,"leadingIcon");o(this,"trailingIcon");o(this,"removeIcon");o(this,"primaryAction");o(this,"_rippleLoader",S(mw));o(this,"_injector",S(lt));var r;let i=S(Li);i.load(nl),i.load(Ir);let a=S(Ui,{optional:!0});this._animationsDisabled=a==="NoopAnimations",this._monitorFocus(),(r=this._rippleLoader)==null||r.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(i){this._value=i}get disabled(){return this._disabled||this._chipListDisabled}set disabled(i){this._disabled=i}ngOnInit(){let i=this._elementRef.nativeElement;this._isBasicChip=i.hasAttribute(this.basicChipAttrName)||i.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Xi(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){var i,a;this._focusMonitor.stopMonitoring(this._elementRef),(i=this._rippleLoader)==null||i.destroyRipple(this._elementRef.nativeElement),(a=this._actionChanges)==null||a.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){var i;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!((i=this._globalRippleOptions)!=null&&i.disabled)}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(i){(i.keyCode===8&&!i.repeat||i.keyCode===46)&&(i.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(i){return this._getActions().find(a=>{let r=a._elementRef.nativeElement;return r===i||r.contains(i)})}_getActions(){let i=[];return this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),this.trailingIcon&&i.push(this.trailingIcon),i}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{let a=i!==null;a!==this._hasFocusInternal&&(this._hasFocusInternal=a,a?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,a,r){if(i&1&&(pi(r,Ny,5),pi(r,Ry,5),pi(r,fp,5),pi(r,Ny,5),pi(r,Ry,5),pi(r,fp,5)),i&2){let s;Pe(s=Fe())&&(a.leadingIcon=s.first),Pe(s=Fe())&&(a.trailingIcon=s.first),Pe(s=Fe())&&(a.removeIcon=s.first),Pe(s=Fe())&&(a._allLeadingIcons=s),Pe(s=Fe())&&(a._allTrailingIcons=s),Pe(s=Fe())&&(a._allRemoveIcons=s)}},viewQuery:function(i,a){if(i&1&&mt(gp,5),i&2){let r;Pe(r=Fe())&&(a.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(i,a){i&1&&de("keydown",function(r){return a._handleKeydown(r)}),i&2&&(vn("id",a.id),_e("role",a.role)("aria-label",a.ariaLabel),br("mat-"+(a.color||"primary")),We("mdc-evolution-chip",!a._isBasicChip)("mdc-evolution-chip--disabled",a.disabled)("mdc-evolution-chip--with-trailing-action",a._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",a.leadingIcon)("mdc-evolution-chip--with-primary-icon",a.leadingIcon)("mdc-evolution-chip--with-avatar",a.leadingIcon)("mat-mdc-chip-with-avatar",a.leadingIcon)("mat-mdc-chip-highlighted",a.highlighted)("mat-mdc-chip-disabled",a.disabled)("mat-mdc-basic-chip",a._isBasicChip)("mat-mdc-standard-chip",!a._isBasicChip)("mat-mdc-chip-with-trailing-icon",a._hasTrailingIcon())("_mat-animation-noopable",a._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",qe],highlighted:[2,"highlighted","highlighted",qe],disableRipple:[2,"disableRipple","disableRipple",qe],disabled:[2,"disabled","disabled",qe]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[bi([{provide:LS,useExisting:t}])],ngContentSelectors:Xhe,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,a){i&1&&(Fi(Zhe),he(0,"span",0),I(1,"span",1)(2,"span",2),se(3,Qhe,2,0,"span",3),I(4,"span",4),dt(5),he(6,"span",5),N()()(),se(7,Jhe,2,0,"span",6)),i&2&&(D(2),X("isInteractive",!1),D(),oe(a.leadingIcon?3:-1),D(4),oe(a._hasTrailingIcon()?7:-1))},dependencies:[gp],styles:[`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}
|
|
43
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),
|
|
44
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),
|
|
45
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),rpe={passive:!0},ope=(()=>{const t=class t{constructor(){o(this,"_platform",S(qt));o(this,"_ngZone",S(Ne));o(this,"_renderer",S(aa).createRenderer(null,null));o(this,"_styleLoader",S(Li));o(this,"_monitoredElements",new Map)}monitor(i){if(!this._platform.isBrowser)return Lp;this._styleLoader.load(npe);let a=Mn(i),r=this._monitoredElements.get(a);if(r)return r.subject;let s=new le,l="cdk-text-field-autofilled",c=u=>{u.animationName==="cdk-text-field-autofill-start"&&!a.classList.contains(l)?(a.classList.add(l),this._ngZone.run(()=>s.next({target:u.target,isAutofilled:!0}))):u.animationName==="cdk-text-field-autofill-end"&&a.classList.contains(l)&&(a.classList.remove(l),this._ngZone.run(()=>s.next({target:u.target,isAutofilled:!1})))},d=this._ngZone.runOutsideAngular(()=>(a.classList.add("cdk-text-field-autofill-monitored"),hi(this._renderer,a,"animationstart",c,rpe)));return this._monitoredElements.set(a,{subject:s,unlisten:d}),s}stopMonitoring(i){let a=Mn(i),r=this._monitoredElements.get(a);r&&(r.unlisten(),r.subject.complete(),a.classList.remove("cdk-text-field-autofill-monitored"),a.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(a))}ngOnDestroy(){this._monitoredElements.forEach((i,a)=>this.stopMonitoring(a))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),spe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",wt({type:t})),o(t,"ɵinj",xt({}));let e=t;return e})(),zS=new $("MAT_INPUT_VALUE_ACCESSOR"),lpe=["button","checkbox","file","hidden","image","radio","range","reset","submit"],cpe=new $("MAT_INPUT_CONFIG"),jS=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_platform",S(qt));o(this,"ngControl",S(ul,{optional:!0,self:!0}));o(this,"_autofillMonitor",S(ope));o(this,"_ngZone",S(Ne));o(this,"_formField",S(Bd,{optional:!0}));o(this,"_renderer",S(na));o(this,"_uid",S(_i).getId("mat-input-"));o(this,"_previousNativeValue");o(this,"_inputValueAccessor");o(this,"_signalBasedValueAccessor");o(this,"_previousPlaceholder");o(this,"_errorStateTracker");o(this,"_config",S(cpe,{optional:!0}));o(this,"_cleanupIosKeyup");o(this,"_cleanupWebkitWheel");o(this,"_formFieldDescribedBy");o(this,"_isServer");o(this,"_isNativeSelect");o(this,"_isTextarea");o(this,"_isInFormField");o(this,"focused",!1);o(this,"stateChanges",new le);o(this,"controlType","mat-input");o(this,"autofilled",!1);o(this,"_disabled",!1);o(this,"_id");o(this,"placeholder");o(this,"name");o(this,"_required");o(this,"_type","text");o(this,"userAriaDescribedBy");o(this,"_readonly",!1);o(this,"disabledInteractive");o(this,"_neverEmptyInputTypes",["date","datetime","datetime-local","month","time","week"].filter(i=>Cv().has(i)));o(this,"_iOSKeyupListener",i=>{let a=i.target;!a.value&&a.selectionStart===0&&a.selectionEnd===0&&(a.setSelectionRange(1,1),a.setSelectionRange(0,0))});o(this,"_webkitBlinkWheelListener",()=>{});var d;let i=S(Gd,{optional:!0}),a=S(pf,{optional:!0}),r=S(mf),s=S(zS,{optional:!0,self:!0}),l=this._elementRef.nativeElement,c=l.nodeName.toLowerCase();s?ms(s.value)?this._signalBasedValueAccessor=s:this._inputValueAccessor=s:this._inputValueAccessor=l,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(l,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new rS(r,this.ngControl,a,i,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=c==="select",this._isTextarea=c==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=((d=this._config)==null?void 0:d.disabledInteractive)||!1,this._isNativeSelect&&(this.controlType=l.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&c1(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}get disabled(){return this._disabled}set disabled(i){this._disabled=Jr(i),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(i){this._id=i||this._uid}get required(){var i,a;return this._required??((a=(i=this.ngControl)==null?void 0:i.control)==null?void 0:a.hasValidator(sf.required))??!1}set required(i){this._required=Jr(i)}get type(){return this._type}set type(i){let a=this._type;this._type=i||"text",this._validateType(),!this._isTextarea&&Cv().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._type!==a&&this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(i){this._errorStateTracker.matcher=i}get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(i){i!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(i):this._inputValueAccessor.value=i,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(i){this._readonly=Jr(i)}get errorState(){return this._errorStateTracker.errorState}set errorState(i){this._errorStateTracker.errorState=i}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(i=>{this.autofilled=i.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){var i,a;this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),(i=this._cleanupIosKeyup)==null||i.call(this),(a=this._cleanupWebkitWheel)==null||a.call(this)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(i){this._elementRef.nativeElement.focus(i)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(i){if(i!==this.focused){if(!this._isNativeSelect&&i&&this.disabled&&this.disabledInteractive){let a=this._elementRef.nativeElement;a.type==="number"?(a.type="text",a.setSelectionRange(0,0),a.type="number"):a.setSelectionRange(0,0)}this.focused=i,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let i=this._elementRef.nativeElement.value;this._previousNativeValue!==i&&(this._previousNativeValue=i,this.stateChanges.next())}_dirtyCheckPlaceholder(){let i=this._getPlaceholder();if(i!==this._previousPlaceholder){let a=this._elementRef.nativeElement;this._previousPlaceholder=i,i?a.setAttribute("placeholder",i):a.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){lpe.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let i=this._elementRef.nativeElement.validity;return i&&i.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let i=this._elementRef.nativeElement,a=i.options[0];return this.focused||i.multiple||!this.empty||!!(i.selectedIndex>-1&&a&&a.label)}else return this.focused&&!this.disabled||!this.empty}setDescribedByIds(i){let a=this._elementRef.nativeElement,r=a.getAttribute("aria-describedby"),s;if(r){let l=this._formFieldDescribedBy||i;s=i.concat(r.split(" ").filter(c=>c&&!l.includes(c)))}else s=i;this._formFieldDescribedBy=i,s.length?a.setAttribute("aria-describedby",s.join(" ")):a.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let i=this._elementRef.nativeElement;return this._isNativeSelect&&(i.multiple||i.size>1)}_ensureWheelDefaultBehavior(){var i;(i=this._cleanupWebkitWheel)==null||i.call(this),this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._cleanupWebkitWheel=this._renderer.listen(this._elementRef.nativeElement,"wheel",this._webkitBlinkWheelListener))}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(i,a){i&1&&de("focus",function(){return a._focusChanged(!0)})("blur",function(){return a._focusChanged(!1)})("input",function(){return a._onInput()}),i&2&&(vn("id",a.id)("disabled",a.disabled&&!a.disabledInteractive)("required",a.required),_e("name",a.name||null)("readonly",a._getReadonlyAttribute())("aria-disabled",a.disabled&&a.disabledInteractive?"true":null)("aria-invalid",a.empty&&a.required?null:a.errorState)("aria-required",a.required)("id",a.id),We("mat-input-server",a._isServer)("mat-mdc-form-field-textarea-control",a._isInFormField&&a._isTextarea)("mat-mdc-form-field-input-control",a._isInFormField)("mat-mdc-input-disabled-interactive",a.disabledInteractive)("mdc-text-field__input",a._isInFormField)("mat-mdc-native-select-inline",a._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",qe]},exportAs:["matInput"],features:[bi([{provide:tf,useExisting:t}]),vi]}));let e=t;return e})(),dpe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",wt({type:t})),o(t,"ɵinj",xt({imports:[ai,Ss,Ss,spe,ai]}));let e=t;return e})(),upe=(e,t)=>({text:e,file:t});function hpe(e,t){if(e&1){let n=Ke();I(0,"mat-chip",11),de("removed",function(){ve(n);let i=V();return ye(i.selectedFile=void 0)}),B(1),I(2,"button",12),he(3,"mat-icon",13),N()()}if(e&2){let n=V();X("removable",!0),D(),Ie(" ",(n.selectedFile==null?null:n.selectedFile.name)||"No file selected"," ")}}function ppe(e,t){if(e&1){let n=Ke();I(0,"mat-chip",6)(1,"label",14),B(2),H(3,"translate"),N(),I(4,"input",15),de("change",function(i){ve(n);let a=V();return ye(a.fileChanged(i))}),N()()}e&2&&(D(2),Ie(" ",W(3,1,"diaryNotesPage.add-note-dialog.file-upload-button")," "))}function mpe(e,t){e&1&&(I(0,"mat-error",8),B(1),H(2,"translate"),N()),e&2&&(D(),Ee(W(2,1,"diaryNotesPage.add-note-dialog.file-size-error")))}var fpe=(()=>{const t=class t{constructor(){this.inputtedData="",this.showSizeError=!1}fileChanged(i){let a=i.target.files[0],r=a.size/1024/1024;this.showSizeError=r>6,this.selectedFile=this.showSizeError?void 0:a}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],decls:32,vars:31,consts:[["mat-dialog-title",""],[1,"contact-info-form"],["for","note"],["appearance","outline",1,"formfield-wrapper"],["id","note","matInput","","maxlength","319",3,"ngModelChange","ngModel"],[3,"removable"],["clickable","",1,"mh-black","file-upload-chip"],["align","start"],[1,"size-error"],["mat-button","","mat-dialog-close",""],["mat-flat-button","","type","button",3,"disabled","mat-dialog-close"],[3,"removed","removable"],["matChipRemove",""],["fontIcon","close"],["for","file-upload"],["tabindex","0","id","file-upload","type","file","accept",".jpeg, .pdf, .png, .tiff, .jpg",3,"change"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),N(),I(3,"mat-dialog-content")(4,"div",1)(5,"label",2),B(6),H(7,"translate"),N(),I(8,"mat-form-field",3)(9,"textarea",4),Ha("ngModelChange",function(r){return hn(a.inputtedData,r)||(a.inputtedData=r),r}),N(),I(10,"mat-hint"),B(11),H(12,"translate"),N()()(),I(13,"div")(14,"h3"),B(15),H(16,"translate"),N(),se(17,hpe,4,2,"mat-chip",5)(18,ppe,5,3,"mat-chip",6),I(19,"div")(20,"mat-hint",7),B(21),H(22,"translate"),N(),se(23,mpe,3,3,"mat-error",8),N(),he(24,"div"),N()(),I(25,"mat-dialog-actions")(26,"button",9),B(27),H(28,"translate"),N(),I(29,"button",10),B(30),H(31,"translate"),N()()),i&2&&(D(),Ee(W(2,14,"diaryNotesPage.add-note-dialog.title")),D(5),Ee(W(7,16,"diaryNotesPage.add-note-dialog.field-description")),D(3),Ba("ngModel",a.inputtedData),D(2),_r(" ",a.inputtedData.length,"/319 ",W(12,18,"diaryNotesPage.add-note-dialog.character-counter")," "),D(4),Ee(W(16,20,"diaryNotesPage.add-note-dialog.file-upload-title")),D(2),oe(a.selectedFile?17:18),D(4),Ee(W(22,22,"diaryNotesPage.add-note-dialog.file-info")),D(2),oe(a.showSizeError?23:-1),D(4),Ie(" ",W(28,24,"diaryNotesPage.add-note-dialog.cancel")," "),D(2),X("disabled",!a.showSizeError)("disabled",a.inputtedData.length===0)("mat-dialog-close",Aie(28,upe,a.inputtedData,a.selectedFile)),D(),Ie(" ",W(31,26,"diaryNotesPage.add-note-dialog.confirm")," "))},dependencies:[ll,Hd,ba,sp,cl,Aw,iS,$d,Uw,tS,hf,sl,jS,ko,_a,Hn,Xd,VS,ol],styles:["textarea[_ngcontent-%COMP%]{height:120px!important}.formfield-wrapper[_ngcontent-%COMP%]{width:100%;min-width:50vw}.text-length[_ngcontent-%COMP%]{margin-bottom:16px}input[type=file][_ngcontent-%COMP%]{display:none}.close-button[_ngcontent-%COMP%]{position:absolute;top:1px;right:1px;z-index:1}.file-input-container[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;cursor:pointer}.file-label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin:0;width:100%}.close-file-button[_ngcontent-%COMP%]{padding:0;margin-left:8px}.file-upload-chip[_ngcontent-%COMP%], .file-upload-chip[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{cursor:pointer}"]});let e=t;return e})(),gpe=(()=>{const t=class t{constructor(){this.translate=S(Bn),this.cdRef=S($t),this.destroyRef=S(Hi),this.result="",this.translate.onLangChange.pipe(wo(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.contentType,this.index),this.cdRef.markForCheck()})}transform(i,a){return i!==this.contentType&&a!==this.index&&(this.contentType=i,this.index=a,this.result=this.getResult(i,a)),this.result}getResult(i,a){let r=i?RS.getExtension(i):"unknown";return this.translate.instant("commons.file")+"_"+(a+1)+"."+r}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=xo({name:"attachementFilename",type:t,pure:!0});let e=t;return e})(),xf=(()=>{const t=class t{transform(i){let a="";return Array.isArray(i)&&i.forEach(r=>{a+=r.charAt(0).toUpperCase()+r.slice(1)+" "}),typeof i=="string"&&i.split(" ").length>1&&i.split(" ").forEach((r,s)=>{s===0?a=r.charAt(0).toUpperCase()+r.slice(1):a+=" "+r}),typeof i=="string"&&i.split(" ").length===1&&(a=i.charAt(0).toUpperCase()+i.slice(1)),a}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=xo({name:"firstLetterUppercase",type:t,pure:!0});let e=t;return e})(),vp=new $("MAT_DATE_LOCALE",{providedIn:"root",factory:vpe});function vpe(){return S(Rd)}var Vr="Method not implemented",Gi=class{constructor(){o(this,"locale");o(this,"_localeChanges",new le);o(this,"localeChanges",this._localeChanges)}setTime(e,t,n,i){throw new Error(Vr)}getHours(e){throw new Error(Vr)}getMinutes(e){throw new Error(Vr)}getSeconds(e){throw new Error(Vr)}parseTime(e,t){throw new Error(Vr)}addSeconds(e,t){throw new Error(Vr)}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return e==null||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}compareTime(e,t){return this.getHours(e)-this.getHours(t)||this.getMinutes(e)-this.getMinutes(t)||this.getSeconds(e)-this.getSeconds(t)}sameDate(e,t){if(e&&t){let n=this.isValid(e),i=this.isValid(t);return n&&i?!this.compareDate(e,t):n==i}return e==t}sameTime(e,t){if(e&&t){let n=this.isValid(e),i=this.isValid(t);return n&&i?!this.compareTime(e,t):n==i}return e==t}clampDate(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e}},Ao=new $("mat-date-formats"),ype=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,bpe=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Zu(e,t){let n=Array(e);for(let i=0;i<e;i++)n[i]=t(i);return n}var _pe=(()=>{const t=class t extends Gi{constructor(){super();o(this,"useUtcForDisplay",!1);o(this,"_matDateLocale",S(vp,{optional:!0}));let a=S(vp,{optional:!0});a!==void 0&&(this._matDateLocale=a),super.setLocale(this._matDateLocale)}getYear(a){return a.getFullYear()}getMonth(a){return a.getMonth()}getDate(a){return a.getDate()}getDayOfWeek(a){return a.getDay()}getMonthNames(a){let r=new Intl.DateTimeFormat(this.locale,{month:a,timeZone:"utc"});return Zu(12,s=>this._format(r,new Date(2017,s,1)))}getDateNames(){let a=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Zu(31,r=>this._format(a,new Date(2017,0,r+1)))}getDayOfWeekNames(a){let r=new Intl.DateTimeFormat(this.locale,{weekday:a,timeZone:"utc"});return Zu(7,s=>this._format(r,new Date(2017,0,s+1)))}getYearName(a){let r=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(r,a)}getFirstDayOfWeek(){var a,r;if(typeof Intl<"u"&&Intl.Locale){let s=new Intl.Locale(this.locale),l=((r=((a=s.getWeekInfo)==null?void 0:a.call(s))||s.weekInfo)==null?void 0:r.firstDay)??0;return l===7?0:l}return 0}getNumDaysInMonth(a){return this.getDate(this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+1,0))}clone(a){return new Date(a.getTime())}createDate(a,r,s){let l=this._createDateWithOverflow(a,r,s);return l.getMonth()!=r,l}today(){return new Date}parse(a,r){return typeof a=="number"?new Date(a):a?new Date(Date.parse(a)):null}format(a,r){if(!this.isValid(a))throw Error("NativeDateAdapter: Cannot format invalid date.");let s=new Intl.DateTimeFormat(this.locale,Qe(Q({},r),{timeZone:"utc"}));return this._format(s,a)}addCalendarYears(a,r){return this.addCalendarMonths(a,r*12)}addCalendarMonths(a,r){let s=this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+r,this.getDate(a));return this.getMonth(s)!=((this.getMonth(a)+r)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(a,r){return this._createDateWithOverflow(this.getYear(a),this.getMonth(a),this.getDate(a)+r)}toIso8601(a){return[a.getUTCFullYear(),this._2digit(a.getUTCMonth()+1),this._2digit(a.getUTCDate())].join("-")}deserialize(a){if(typeof a=="string"){if(!a)return null;if(ype.test(a)){let r=new Date(a);if(this.isValid(r))return r}}return super.deserialize(a)}isDateInstance(a){return a instanceof Date}isValid(a){return!isNaN(a.getTime())}invalid(){return new Date(NaN)}setTime(a,r,s,l){let c=this.clone(a);return c.setHours(r,s,l,0),c}getHours(a){return a.getHours()}getMinutes(a){return a.getMinutes()}getSeconds(a){return a.getSeconds()}parseTime(a,r){if(typeof a!="string")return a instanceof Date?new Date(a.getTime()):null;let s=a.trim();if(s.length===0)return null;let l=this._parseTimeString(s);if(l===null){let c=s.replace(/[^0-9:(AM|PM)]/gi,"").trim();c.length>0&&(l=this._parseTimeString(c))}return l||this.invalid()}addSeconds(a,r){return new Date(a.getTime()+r*1e3)}_createDateWithOverflow(a,r,s){let l=new Date;return l.setFullYear(a,r,s),l.setHours(0,0,0,0),l}_2digit(a){return("00"+a).slice(-2)}_format(a,r){let s=new Date;return s.setUTCFullYear(r.getFullYear(),r.getMonth(),r.getDate()),s.setUTCHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),a.format(s)}_parseTimeString(a){let r=a.toUpperCase().match(bpe);if(r){let s=parseInt(r[1]),l=parseInt(r[2]),c=r[3]==null?void 0:parseInt(r[3]),d=r[4];if(s===12?s=d==="AM"?0:s:d==="PM"&&(s+=12),Xu(s,0,23)&&Xu(l,0,59)&&(c==null||Xu(c,0,59)))return this.setTime(this.today(),s,l,c||0)}return null}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})();function Xu(e,t,n){return!isNaN(e)&&e>=t&&e<=n}function xpe(e,t){return this._trackRow(t)}var BS=(e,t)=>t.id;function wpe(e,t){if(e&1&&(I(0,"tr",0)(1,"td",3),B(2),N()()),e&2){let n=V();D(),Td("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),_e("colspan",n.numCols),D(),Ie(" ",n.label," ")}}function Spe(e,t){if(e&1&&(I(0,"td",3),B(1),N()),e&2){let n=V(2);Td("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),_e("colspan",n._firstRowOffset),D(),Ie(" ",n._firstRowOffset>=n.labelMinRequiredCells?n.label:""," ")}}function kpe(e,t){if(e&1){let n=Ke();I(0,"td",6)(1,"button",7),de("click",function(i){let a=ve(n).$implicit,r=V(2);return ye(r._cellClicked(a,i))})("focus",function(i){let a=ve(n).$implicit,r=V(2);return ye(r._emitActiveDateChange(a,i))}),I(2,"span",8),B(3),N(),he(4,"span",9),N()()}if(e&2){let n=t.$implicit,i=t.$index,a=V().$index,r=V();Td("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),_e("data-mat-row",a)("data-mat-col",i),D(),We("mat-calendar-body-disabled",!n.enabled)("mat-calendar-body-active",r._isActiveCell(a,i))("mat-calendar-body-range-start",r._isRangeStart(n.compareValue))("mat-calendar-body-range-end",r._isRangeEnd(n.compareValue))("mat-calendar-body-in-range",r._isInRange(n.compareValue))("mat-calendar-body-comparison-bridge-start",r._isComparisonBridgeStart(n.compareValue,a,i))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(n.compareValue,a,i))("mat-calendar-body-comparison-start",r._isComparisonStart(n.compareValue))("mat-calendar-body-comparison-end",r._isComparisonEnd(n.compareValue))("mat-calendar-body-in-comparison-range",r._isInComparisonRange(n.compareValue))("mat-calendar-body-preview-start",r._isPreviewStart(n.compareValue))("mat-calendar-body-preview-end",r._isPreviewEnd(n.compareValue))("mat-calendar-body-in-preview",r._isInPreview(n.compareValue)),X("ngClass",n.cssClasses)("tabindex",r._isActiveCell(a,i)?0:-1),_e("aria-label",n.ariaLabel)("aria-disabled",!n.enabled||null)("aria-pressed",r._isSelected(n.compareValue))("aria-current",r.todayValue===n.compareValue?"date":null)("aria-describedby",r._getDescribedby(n.compareValue)),D(),We("mat-calendar-body-selected",r._isSelected(n.compareValue))("mat-calendar-body-comparison-identical",r._isComparisonIdentical(n.compareValue))("mat-calendar-body-today",r.todayValue===n.compareValue),D(),Ie(" ",n.displayValue," ")}}function Epe(e,t){if(e&1&&(I(0,"tr",1),se(1,Spe,2,6,"td",4),Mi(2,kpe,5,48,"td",5,BS),N()),e&2){let n=t.$implicit,i=t.$index,a=V();D(),oe(i===0&&a._firstRowOffset?1:-1),D(),Pi(n)}}function Cpe(e,t){if(e&1&&(I(0,"th",2)(1,"span",6),B(2),N(),I(3,"span",3),B(4),N()()),e&2){let n=t.$implicit;D(2),Ee(n.long),D(2),Ee(n.narrow)}}var Dpe=["*"];function Ipe(e,t){}function Ape(e,t){if(e&1){let n=Ke();I(0,"mat-month-view",4),Ha("activeDateChange",function(i){ve(n);let a=V();return hn(a.activeDate,i)||(a.activeDate=i),ye(i)}),de("_userSelection",function(i){ve(n);let a=V();return ye(a._dateSelected(i))})("dragStarted",function(i){ve(n);let a=V();return ye(a._dragStarted(i))})("dragEnded",function(i){ve(n);let a=V();return ye(a._dragEnded(i))}),N()}if(e&2){let n=V();Ba("activeDate",n.activeDate),X("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)("comparisonStart",n.comparisonStart)("comparisonEnd",n.comparisonEnd)("startDateAccessibleName",n.startDateAccessibleName)("endDateAccessibleName",n.endDateAccessibleName)("activeDrag",n._activeDrag)}}function Ope(e,t){if(e&1){let n=Ke();I(0,"mat-year-view",5),Ha("activeDateChange",function(i){ve(n);let a=V();return hn(a.activeDate,i)||(a.activeDate=i),ye(i)}),de("monthSelected",function(i){ve(n);let a=V();return ye(a._monthSelectedInYearView(i))})("selectedChange",function(i){ve(n);let a=V();return ye(a._goToDateInView(i,"month"))}),N()}if(e&2){let n=V();Ba("activeDate",n.activeDate),X("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function Tpe(e,t){if(e&1){let n=Ke();I(0,"mat-multi-year-view",6),Ha("activeDateChange",function(i){ve(n);let a=V();return hn(a.activeDate,i)||(a.activeDate=i),ye(i)}),de("yearSelected",function(i){ve(n);let a=V();return ye(a._yearSelectedInMultiYearView(i))})("selectedChange",function(i){ve(n);let a=V();return ye(a._goToDateInView(i,"year"))}),N()}if(e&2){let n=V();Ba("activeDate",n.activeDate),X("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function Npe(e,t){}var Rpe=["button"],Mpe=[[["","matDatepickerToggleIcon",""]]],Ppe=["[matDatepickerToggleIcon]"];function Fpe(e,t){e&1&&(dn(),I(0,"svg",2),he(1,"path",3),N())}var Oo=(()=>{const t=class t{constructor(){o(this,"changes",new le);o(this,"calendarLabel","Calendar");o(this,"openCalendarLabel","Open calendar");o(this,"closeCalendarLabel","Close calendar");o(this,"prevMonthLabel","Previous month");o(this,"nextMonthLabel","Next month");o(this,"prevYearLabel","Previous year");o(this,"nextYearLabel","Next year");o(this,"prevMultiYearLabel","Previous 24 years");o(this,"nextMultiYearLabel","Next 24 years");o(this,"switchToMonthViewLabel","Choose date");o(this,"switchToMultiYearViewLabel","Choose month and year");o(this,"startDateLabel","Start date");o(this,"endDateLabel","End date");o(this,"comparisonDateLabel","Comparison range")}formatYearRange(i,a){return`${i} – ${a}`}formatYearRangeLabel(i,a){return`${i} to ${a}`}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Lpe=0,wf=class{constructor(e,t,n,i,a={},r=e,s){o(this,"value");o(this,"displayValue");o(this,"ariaLabel");o(this,"enabled");o(this,"cssClasses");o(this,"compareValue");o(this,"rawValue");o(this,"id",Lpe++);this.value=e,this.displayValue=t,this.ariaLabel=n,this.enabled=i,this.cssClasses=a,this.compareValue=r,this.rawValue=s}},Vpe={passive:!1,capture:!0},Ul={passive:!0,capture:!0},My={passive:!0},uo=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_ngZone",S(Ne));o(this,"_platform",S(qt));o(this,"_intl",S(Oo));o(this,"_eventCleanups");o(this,"_skipNextFocus");o(this,"_focusActiveCellAfterViewChecked",!1);o(this,"label");o(this,"rows");o(this,"todayValue");o(this,"startValue");o(this,"endValue");o(this,"labelMinRequiredCells");o(this,"numCols",7);o(this,"activeCell",0);o(this,"isRange",!1);o(this,"cellAspectRatio",1);o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"previewStart",null);o(this,"previewEnd",null);o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"selectedValueChange",new ce);o(this,"previewChange",new ce);o(this,"activeDateChange",new ce);o(this,"dragStarted",new ce);o(this,"dragEnded",new ce);o(this,"_firstRowOffset");o(this,"_cellPadding");o(this,"_cellWidth");o(this,"_startDateLabelId");o(this,"_endDateLabelId");o(this,"_comparisonStartDateLabelId");o(this,"_comparisonEndDateLabelId");o(this,"_didDragSinceMouseDown",!1);o(this,"_injector",S(lt));o(this,"comparisonDateAccessibleName",this._intl.comparisonDateLabel);o(this,"_trackRow",i=>i);o(this,"_enterHandler",i=>{if(this._skipNextFocus&&i.type==="focus"){this._skipNextFocus=!1;return}if(i.target&&this.isRange){let a=this._getCellFromElement(i.target);a&&this._ngZone.run(()=>this.previewChange.emit({value:a.enabled?a:null,event:i}))}});o(this,"_touchmoveHandler",i=>{if(!this.isRange)return;let a=Py(i),r=a?this._getCellFromElement(a):null;a!==i.target&&(this._didDragSinceMouseDown=!0),Ju(i.target)&&i.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:r!=null&&r.enabled?r:null,event:i}))});o(this,"_leaveHandler",i=>{this.previewEnd!==null&&this.isRange&&(i.type!=="blur"&&(this._didDragSinceMouseDown=!0),i.target&&this._getCellFromElement(i.target)&&!(i.relatedTarget&&this._getCellFromElement(i.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:i})))});o(this,"_mousedownHandler",i=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let a=i.target&&this._getCellFromElement(i.target);!a||!this._isInRange(a.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:a.rawValue,event:i})})});o(this,"_mouseupHandler",i=>{if(!this.isRange)return;let a=Ju(i.target);if(!a){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:i})});return}a.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let r=this._getCellFromElement(a);this.dragEnded.emit({value:(r==null?void 0:r.rawValue)??null,event:i})})});o(this,"_touchendHandler",i=>{let a=Py(i);a&&this._mouseupHandler({target:a})});let i=S(na),a=S(_i);this._startDateLabelId=a.getId("mat-calendar-body-start-"),this._endDateLabelId=a.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=a.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=a.getId("mat-calendar-body-comparison-end-"),S(Li).load(nl),this._ngZone.runOutsideAngular(()=>{let r=this._elementRef.nativeElement,s=[hi(i,r,"touchmove",this._touchmoveHandler,Vpe),hi(i,r,"mouseenter",this._enterHandler,Ul),hi(i,r,"focus",this._enterHandler,Ul),hi(i,r,"mouseleave",this._leaveHandler,Ul),hi(i,r,"blur",this._leaveHandler,Ul),hi(i,r,"mousedown",this._mousedownHandler,My),hi(i,r,"touchstart",this._mousedownHandler,My)];this._platform.isBrowser&&s.push(i.listen("window","mouseup",this._mouseupHandler),i.listen("window","touchend",this._touchendHandler)),this._eventCleanups=s})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(i,a){this._didDragSinceMouseDown||i.enabled&&this.selectedValueChange.emit({value:i.value,event:a})}_emitActiveDateChange(i,a){i.enabled&&this.activeDateChange.emit({value:i.value,event:a})}_isSelected(i){return this.startValue===i||this.endValue===i}ngOnChanges(i){let a=i.numCols,{rows:r,numCols:s}=this;(i.rows||a)&&(this._firstRowOffset=r&&r.length&&r[0].length?s-r[0].length:0),(i.cellAspectRatio||a||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/s}%`),(a||!this._cellWidth)&&(this._cellWidth=`${100/s}%`)}ngOnDestroy(){this._eventCleanups.forEach(i=>i())}_isActiveCell(i,a){let r=i*this.numCols+a;return i&&(r-=this._firstRowOffset),r==this.activeCell}_focusActiveCell(i=!0){gr(()=>{setTimeout(()=>{let a=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");a&&(i||(this._skipNextFocus=!0),a.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(i){return eh(i,this.startValue,this.endValue)}_isRangeEnd(i){return th(i,this.startValue,this.endValue)}_isInRange(i){return ih(i,this.startValue,this.endValue,this.isRange)}_isComparisonStart(i){return eh(i,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(i,a,r){if(!this._isComparisonStart(i)||this._isRangeStart(i)||!this._isInRange(i))return!1;let s=this.rows[a][r-1];if(!s){let l=this.rows[a-1];s=l&&l[l.length-1]}return s&&!this._isRangeEnd(s.compareValue)}_isComparisonBridgeEnd(i,a,r){if(!this._isComparisonEnd(i)||this._isRangeEnd(i)||!this._isInRange(i))return!1;let s=this.rows[a][r+1];if(!s){let l=this.rows[a+1];s=l&&l[0]}return s&&!this._isRangeStart(s.compareValue)}_isComparisonEnd(i){return th(i,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(i){return ih(i,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(i){return this.comparisonStart===this.comparisonEnd&&i===this.comparisonStart}_isPreviewStart(i){return eh(i,this.previewStart,this.previewEnd)}_isPreviewEnd(i){return th(i,this.previewStart,this.previewEnd)}_isInPreview(i){return ih(i,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(i){if(!this.isRange)return null;if(this.startValue===i&&this.endValue===i)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===i)return this._startDateLabelId;if(this.endValue===i)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(i===this.comparisonStart&&i===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(i===this.comparisonStart)return this._comparisonStartDateLabelId;if(i===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_getCellFromElement(i){let a=Ju(i);if(a){let r=a.getAttribute("data-mat-row"),s=a.getAttribute("data-mat-col");if(r&&s)return this.rows[parseInt(r)][parseInt(s)]}return null}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[vi],decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(i,a){i&1&&(se(0,wpe,3,6,"tr",0),Mi(1,Epe,4,1,"tr",1,xpe,!0),I(3,"span",2),B(4),N(),I(5,"span",2),B(6),N(),I(7,"span",2),B(8),N(),I(9,"span",2),B(10),N()),i&2&&(oe(a._firstRowOffset<a.labelMinRequiredCells?0:-1),D(),Pi(a.rows),D(2),X("id",a._startDateLabelId),D(),Ie(" ",a.startDateAccessibleName,`
|
|
39
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})();Dp(dK());var pce=(()=>{const t=class t{constructor(){this.message=zt.required()}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-error-display"]],inputs:{message:[1,"message"]},decls:3,vars:3,consts:[["fontIcon","info"]],template:function(i,a){i&1&&(he(0,"mat-icon",0),B(1),H(2,"translate")),i&2&&(D(),Ie(" ",W(2,1,"commons.errors."+a.message())," "))},dependencies:[Hn,ba],styles:["[_nghost-%COMP%]{display:flex;align-items:center;background:#c41c0d0d;color:#c41c0d;font-weight:700;padding:16px}mat-icon[_ngcontent-%COMP%]{margin-right:8px}mat-icon[_ngcontent-%COMP%]{--mat-icon-color: #c41c0d}"]});let e=t;return e})(),Wd=(()=>{const t=class t{setServices(i){this.services=i}getServices(){if(!this.services)throw new Error("ComponentServices has not been set yet.");return this.services}hasServices(){return!!this.services}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),mce="4.0",dp=mce,Sn=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(Sn||{}),fce=(()=>{const t=class t{constructor(){o(this,"version");o(this,"language");o(this,"configName");o(this,"services");o(this,"onPrint",new ce);o(this,"_ngInitDone",!1);o(this,"correctlySetup",!1);o(this,"extraRequiredFields",[])}validateVersion(){let i=dp.split(".").map(r=>parseInt(r)),a=(this.version||"").split(".").map(r=>parseInt(r));return a.length!==2?(console.error(`[BaseWebComponent] The given version (${this.version}) has the wrong format <major>.<minor>!`),!1):a[0]!==i[0]?(console.error(`[BaseWebComponent] The given version (${this.version})'s major is not compatible with this component's major version (${dp})!`),!1):!0}validateInputs(){let i=this,a=["language","configName","services","version",...this.extraRequiredFields],{missingFields:r,presentFields:s}=a.reduce((l,c)=>(i[c]===void 0?l.missingFields.push(c):l.presentFields.push(c),l),{missingFields:[],presentFields:[]});return r.length?(console.log(`[BaseWebComponent] Waiting for missing inputs: ${r.join(", ")}; Present inputs: ${s.join(", ")}`),!1):(console.log("[BaseWebComponent] All required inputs are present"),this.validateVersion()?this.services.cacheDataStorage==null?(console.error("[BaseWebComponent] The given services input does not contain a cache service!"),!1):this.services.getAccessToken==null?(console.error("[BaseWebComponent] The given services input does not contain a getAccessToken() function!"),!1):this.services.registerRefreshCallback==null?(console.error("[BaseWebComponent] The given services input does not contain a registerRefreshCallback() function!"),!1):!0:!1)}ngOnChanges(i){this.correctlySetup=this.validateInputs(),this.correctlySetup&&(this._ngInitDone?this.onPropsChanged(i):(this.onInitialized(),this._ngInitDone=!0))}isCorrectlySetup(){return this.correctlySetup}onInitialized(){}onPropsChanged(i){}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onPrint:"onPrint"},features:[vi],decls:0,vars:0,template:function(i,a){},encapsulation:2}));let e=t;return e})(),lS=class{constructor(e,t,n,i,a){o(this,"logId");o(this,"services");o(this,"key");o(this,"cacheFetchingKey");o(this,"offlineDataStorageEnabled");o(this,"isOfflineAuthenticated");this.logId=a,this.services=e,this.key=t,this.cacheFetchingKey=`fetching-${this.key}`,this.offlineDataStorageEnabled=i,this.isOfflineAuthenticated=n}fetchBackendData(){return Et(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return Et(this,null,function*(){if(this.services.offlineDataStorage==null)return null;let e=yield this.services.offlineDataStorage.get(this.key);return e==null&&this.logId&&console.log("[%s] Offline data not found for key [%s]",this.logId,this.key),this.logId&&console.log("[%s] Found valid data in offline store for key [%s]: [%s]",this.logId,this.key,e),this.storeDataInCache(e),e})}storeDataOffline(e){return Et(this,null,function*(){this.offlineDataStorageEnabled&&this.services.offlineDataStorage&&e&&(yield this.services.offlineDataStorage.set(this.key,e),this.logId&&console.log("[%s] Updated data in the offline store",this.logId))})}storeDataInCache(e){e&&(this.logId&&console.log("[%s] updating data in cache at [%s]",this.logId,this.key),this.services.cacheDataStorage.set(this.key,e))}getDataFromCache(){return Et(this,null,function*(){let e=t=>{this.services.cacheDataStorage.get(this.cacheFetchingKey)?(this.logId&&console.log("[%s] Another WC is fetching data... Waiting a bit.",this.logId),setTimeout(()=>{e(t)},500)):t(this.services.cacheDataStorage.get(this.key))};return this.logId&&console.log("[%s] Trying to get data from cache...",this.logId),new Promise(t=>{e(t)})})}getData(e=!1){return Et(this,null,function*(){let t=null;if(this.isOfflineAuthenticated){if(this.offlineDataStorageEnabled&&this.services.offlineDataStorage)return yield this.fetchOfflineData();throw new Error(`[${this.logId}] Trying to access offline store while it is not present or not enabled`)}if(!e){if(t=yield this.getDataFromCache(),t)return this.logId&&console.log("[%s] Data pulled from cache: ",this.logId,t),t;this.logId&&console.log("[%s] No data in cache",this.logId)}try{return this.services.cacheDataStorage.set(this.cacheFetchingKey,!0),yield this.fetchBackendData()}finally{this.services.cacheDataStorage.remove(this.cacheFetchingKey)}})}updateStoredData(e){return Et(this,null,function*(){this.storeDataInCache(e),yield this.storeDataOffline(e)})}},cS=()=>{let e=["WebView","(iPhone|iPod|iPad)(?!.*Safari)","Android.*(;\\s+wv|Version/\\d.\\d\\s+Chrome/\\d+(\\.0){3})","Linux; U; Android"],t=new RegExp("("+e.join("|")+")","ig");return!!navigator.userAgent.match(t)},ks=function(e){return e.DIARY_NOTES="diarynotes",e.PRESCRIPTIONS="prescriptions",e.MEDICATION_SCHEME="medicationScheme",e.MEDICATION_SCHEME_PAGE_STATE="medicationSchemePageState",e.DELIVERED_MEDICATIONS="deliveredMedications",e.USER_INFOS="userInfos",e.MANDATE_TYPE="mandateType",e}(ks||{}),h=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(h||{}),Kd=function(e){return e.ascending="asc",e.descending="desc",e}(Kd||{});h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE;var rr={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},eo={exchangeClientId:"exchange-client-id",authorization:"Authorization",userType:"user-type",clientType:"client-type"},Ko=class extends Error{};Ko.prototype.name="InvalidTokenError";function gce(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,n)=>{let i=n.charCodeAt(0).toString(16).toUpperCase();return i.length<2&&(i="0"+i),"%"+i}))}function vce(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return gce(t)}catch{return atob(t)}}function yce(e,t){if(typeof e!="string")throw new Ko("Invalid token specified: must be a string");t||(t={});let n=t.header===!0?0:1,i=e.split(".")[n];if(typeof i!="string")throw new Ko(`Invalid token specified: missing part #${n+1}`);let a;try{a=vce(i)}catch(r){throw new Ko(`Invalid token specified: invalid base64 for part #${n+1} (${r.message})`)}try{return JSON.parse(a)}catch(r){throw new Ko(`Invalid token specified: invalid json for part #${n+1} (${r.message})`)}}var bce=class extends lS{constructor(e,t,n){super(e,ks.USER_INFOS,t,n,ks.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return Et(this,null,function*(){return yce(yield this.getLocalAccessToken("")).userProfile})}},dS=(()=>{const t=class t{get isProfessional(){return this._isProfessional}set isProfessional(i){this._isProfessional=i}get patientSsin(){return this._patientSsin}set patientSsin(i){this._patientSsin=i}get isOfflineDataStorageEnabled(){return this._offlineDataStorageEnabled}set isOfflineDataStorageEnabled(i){this._offlineDataStorageEnabled=i}get isOfflineAuthenticated(){return this._isOfflineAuthenticated}set isOfflineAuthenticated(i){this._isOfflineAuthenticated=i}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function _ce(e){var t,n;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0].ssin:((n=e==null?void 0:e.mandators)==null?void 0:n.length)>0?e.mandators[0].ssin:e.ssin}function xce(e){var t,n;return((t=e==null?void 0:e.children)==null?void 0:t.length)>0?e.children[0]:((n=e==null?void 0:e.mandators)==null?void 0:n.length)>0?e.mandators[0]:{ssin:e.ssin,lastName:e==null?void 0:e.lastName,firstName:e==null?void 0:e.firstName}}var wce=(()=>{const t=class t extends dS{constructor(){super(...arguments),this.servicesStore=S(Wd)}resolveSsin(){return Et(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let i=yield this.fetchUserProfileToken();return _ce(i)})}resolvePatientInfo(){return Et(this,null,function*(){let i=yield this.fetchUserProfileToken();return xce(i)})}resolveUserInfo(){return Et(this,null,function*(){var u,p,v,f;let i=yield this.fetchUserProfileToken(),a=i.lastName,r=i.firstName,s=this.extractProfessionalRole(i),l=((u=i==null?void 0:i.organizations)==null?void 0:u.length)>0&&((p=i==null?void 0:i.organizations[0])!=null&&p.pharmacy)?"pharmacist":void 0,c=(v=i==null?void 0:i.organizations)!=null&&v.length&&l!==void 0?i==null?void 0:i.organizations[0]:void 0,d=this.resolveProfessional(i,s)?i[s]:void 0;return{firstName:r,ssin:i.ssin,lastName:a,role:l||s,organization:c&&l?c:void 0,professional:d,mandator:((f=i==null?void 0:i.mandators)==null?void 0:f.length)>0}})}isMandator(){return Et(this,null,function*(){var i,a;return((a=(i=yield this.fetchUserProfileToken())==null?void 0:i.mandators)==null?void 0:a.length)>0})}resolveProfessional(i,a){return a?i[a]:void 0}extractProfessionalRole(i){let a=["physician","nurse","midwife","dentist"],r="patient";return a.forEach(s=>{i[s]&&(r=s)}),r}fetchUserProfileToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(i,a){this.isOfflineAuthenticated=i,this.isOfflineDataStorageEnabled=a,this.accessTokenService=new bce(this.servicesStore.getServices(),i,a)}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Sce=(()=>{const t=class t extends dS{resolveSsin(){return Et(this,null,function*(){return Promise.resolve("00000000097")})}resolvePatientInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097"})}resolveUserInfo(){return Promise.resolve({firstName:"John",lastName:"Doe",ssin:"00000000097",role:"patient",organization:void 0,professional:void 0,mandator:!1})}isMandator(){return Et(this,null,function*(){return Promise.resolve(!1)})}registerAccessTokenService(i,a){this.isOfflineAuthenticated=i,this.isOfflineDataStorageEnabled=a}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),kce=(()=>{const t=class t{constructor(){this.http=S(Js)}get(i,a,r){return ql()?this.http.get(i,{headers:r}):yt(a)}patch(i,a,r){return ql()?this.http.patch(i,{},{headers:r}):yt(a)}post(i,a,r){return ql()?this.http.post(i,{},{headers:r}):yt(a)}delete(i,a,r){return ql()?this.http.delete(i,{headers:r}):yt(a)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),ql=()=>window.Cypress,Pn=function(e){return e.INITIAL="INITIAL",e.LOADING="LOADING",e.SUCCESS="SUCCESS",e.UPDATING="UPDATING",e.ERROR="ERROR",e}(Pn||{}),sn=function(e){return e.NO_DATA="NO_DATA",e.TEMP_UNAVAILABLE="TEMP_UNAVAILABLE",e.NOT_AUTHORIZED="NOT_AUTHORIZED",e.OTHER="OTHER",e}(sn||{});function Ece(e,t){return Et(this,null,function*(){t.next({status:Pn.LOADING});try{let n=yield e,i={status:Pn.SUCCESS,data:n};return t.next(i),i}catch(n){let i={status:Pn.ERROR,error:Ice(n)};return t.next(i),i}})}var my={[sn.NO_DATA]:["VIDIS_0140"],[sn.TEMP_UNAVAILABLE]:["VIDIS_0121","VIDIS_0122","VIDIS_0123","VIDIS_0124","VIDIS_0125","VIDIS_0126","VIDIS_0131","VIDIS_0132","VIDIS_0133","VIDIS_0134","VIDIS_0135","VIDIS_0136"],[sn.NOT_AUTHORIZED]:["VIDIS_3150","VIDIS_3090","VIDIS_3140","VIDIS_3100","VIDIS_3120","VIDIS_0400","VIDIS_3030","VIDIS_0100","VIDIS_0120","VIDIS_0110","VIDIS_0200","VIDIS_0340","VIDIS_0341"],[sn.OTHER]:[]};function Cce(e){for(let t of Object.keys(my))if(my[t].includes(e))return t;return sn.OTHER}function Dce(e,t,n){let i=e||"UNKNOWN",a=Cce(i);return{code:i,message:n??"An unexpected error occurred",group:a,traceId:t}}function Ice(e){var a,r,s;let t=((a=e.error)==null?void 0:a.code)??void 0,n=((r=e.error)==null?void 0:r.message)??e.message,i=(s=e.headers)==null?void 0:s.get("trace-id");return Dce(t,i,n)}var Ace={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function Oce(e,t){if(e&1){let n=Ke();I(0,"div",1)(1,"button",2),de("click",function(){ve(n);let i=V();return ye(i.action())}),B(2),N()()}if(e&2){let n=V();D(2),Ie(" ",n.data.action," ")}}var Tce=["label"];function Nce(e,t){}var Rce=Math.pow(2,31)-1,up=class{constructor(e,t){o(this,"_overlayRef");o(this,"instance");o(this,"containerInstance");o(this,"_afterDismissed",new le);o(this,"_afterOpened",new le);o(this,"_onAction",new le);o(this,"_durationTimeoutId");o(this,"_dismissedByAction",!1);this._overlayRef=t,this.containerInstance=e,e._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(e){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(e,Rce))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},uS=new $("MatSnackBarData"),Kc=class{constructor(){o(this,"politeness","assertive");o(this,"announcementMessage","");o(this,"viewContainerRef");o(this,"duration",0);o(this,"panelClass");o(this,"direction");o(this,"data",null);o(this,"horizontalPosition","center");o(this,"verticalPosition","bottom")}},Mce=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}));let e=t;return e})(),Pce=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}));let e=t;return e})(),Fce=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}));let e=t;return e})(),Lce=(()=>{const t=class t{constructor(){o(this,"snackBarRef",S(up));o(this,"data",S(uS))}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,a){i&1&&(I(0,"div",0),B(1),N(),se(2,Oce,3,1,"div",1)),i&2&&(D(),Ie(" ",a.data.message,`
|
|
40
|
+
`),D(),oe(a.hasAction?2:-1))},dependencies:[_a,Mce,Pce,Fce],styles:[`.mat-mdc-simple-snack-bar{display:flex}
|
|
41
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Hu="_mat-snack-bar-enter",$u="_mat-snack-bar-exit",Vce=(()=>{const t=class t extends zd{constructor(){super();o(this,"_ngZone",S(Ne));o(this,"_elementRef",S(ze));o(this,"_changeDetectorRef",S($t));o(this,"_platform",S(qt));o(this,"_rendersRef");o(this,"_animationsDisabled",S(Ui,{optional:!0})==="NoopAnimations");o(this,"snackBarConfig",S(Kc));o(this,"_document",S(et));o(this,"_trackedModals",new Set);o(this,"_enterFallback");o(this,"_exitFallback");o(this,"_renders",new le);o(this,"_announceDelay",150);o(this,"_announceTimeoutId");o(this,"_destroyed",!1);o(this,"_portalOutlet");o(this,"_onAnnounce",new le);o(this,"_onExit",new le);o(this,"_onEnter",new le);o(this,"_animationState","void");o(this,"_live");o(this,"_label");o(this,"_role");o(this,"_liveElementId",S(_i).getId("mat-snack-bar-container-live-"));o(this,"attachDomPortal",a=>{this._assertNotAttached();let r=this._portalOutlet.attachDomPortal(a);return this._afterPortalAttached(),r});let a=this.snackBarConfig;a.politeness==="assertive"&&!a.announcementMessage?this._live="assertive":a.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert")),this._rendersRef=fm(()=>this._renders.next(),{manualCleanup:!0})}attachComponentPortal(a){this._assertNotAttached();let r=this._portalOutlet.attachComponentPortal(a);return this._afterPortalAttached(),r}attachTemplatePortal(a){this._assertNotAttached();let r=this._portalOutlet.attachTemplatePortal(a);return this._afterPortalAttached(),r}onAnimationEnd(a){a===$u?this._completeExit():a===Hu&&(clearTimeout(this._enterFallback),this._ngZone.run(()=>{this._onEnter.next(),this._onEnter.complete()}))}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce(),this._animationsDisabled?this._renders.pipe(Ei(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd(Hu)))}):(clearTimeout(this._enterFallback),this._enterFallback=setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-snack-bar-fallback-visible"),this.onAnimationEnd(Hu)},200)))}exit(){return this._destroyed?yt(void 0):(this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._animationsDisabled?this._renders.pipe(Ei(1)).subscribe(()=>{this._ngZone.run(()=>queueMicrotask(()=>this.onAnimationEnd($u)))}):(clearTimeout(this._exitFallback),this._exitFallback=setTimeout(()=>this.onAnimationEnd($u),200))}),this._onExit)}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit(),this._renders.complete(),this._rendersRef.destroy()}_completeExit(){clearTimeout(this._exitFallback),queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let a=this._elementRef.nativeElement,r=this.snackBarConfig.panelClass;r&&(Array.isArray(r)?r.forEach(c=>a.classList.add(c)):a.classList.add(r)),this._exposeToModals();let s=this._label.nativeElement,l="mdc-snackbar__label";s.classList.toggle(l,!s.querySelector(`.${l}`))}_exposeToModals(){let a=this._liveElementId,r=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let s=0;s<r.length;s++){let l=r[s],c=l.getAttribute("aria-owns");this._trackedModals.add(l),c?c.indexOf(a)===-1&&l.setAttribute("aria-owns",c+" "+a):l.setAttribute("aria-owns",a)}}_clearFromModals(){this._trackedModals.forEach(a=>{let r=a.getAttribute("aria-owns");if(r){let s=r.replace(this._liveElementId,"").trim();s.length>0?a.setAttribute("aria-owns",s):a.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{if(this._destroyed)return;let a=this._elementRef.nativeElement,r=a.querySelector("[aria-hidden]"),s=a.querySelector("[aria-live]");if(r&&s){let l=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&r.contains(document.activeElement)&&(l=document.activeElement),r.removeAttribute("aria-hidden"),s.appendChild(r),l==null||l.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(a,r){if(a&1&&(mt(Sr,7),mt(Tce,7)),a&2){let s;Pe(s=Fe())&&(r._portalOutlet=s.first),Pe(s=Fe())&&(r._label=s.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:6,hostBindings:function(a,r){a&1&&de("animationend",function(s){return r.onAnimationEnd(s.animationName)})("animationcancel",function(s){return r.onAnimationEnd(s.animationName)}),a&2&&We("mat-snack-bar-container-enter",r._animationState==="visible")("mat-snack-bar-container-exit",r._animationState==="hidden")("mat-snack-bar-container-animations-enabled",!r._animationsDisabled)},features:[Pt],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(a,r){a&1&&(I(0,"div",1)(1,"div",2,0)(3,"div",3),se(4,Nce,0,0,"ng-template",4),N(),he(5,"div"),N()()),a&2&&(D(5),_e("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[Sr],styles:[`@keyframes _mat-snack-bar-enter{from{transform:scale(0.8);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _mat-snack-bar-exit{from{opacity:1}to{opacity:0}}.mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-snack-bar-container-animations-enabled{opacity:0}.mat-snack-bar-container-animations-enabled.mat-snack-bar-fallback-visible{opacity:1}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-enter{animation:_mat-snack-bar-enter 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-snack-bar-container-animations-enabled.mat-snack-bar-container-exit{animation:_mat-snack-bar-exit 75ms cubic-bezier(0.4, 0, 1, 1) forwards}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}@media(forced-colors: active){.mat-mdc-snackbar-surface{outline:solid 1px}}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-sys-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-sys-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-sys-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-sys-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-sys-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-sys-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-sys-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-sys-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}
|
|
42
|
+
`],encapsulation:2}));let e=t;return e})();function zce(){return new Kc}var jce=new $("mat-snack-bar-default-options",{providedIn:"root",factory:zce}),Bce=(()=>{const t=class t{constructor(){o(this,"_overlay",S(xi));o(this,"_live",S(rw));o(this,"_injector",S(lt));o(this,"_breakpointObserver",S(ew));o(this,"_parentSnackBar",S(t,{optional:!0,skipSelf:!0}));o(this,"_defaultConfig",S(jce));o(this,"_snackBarRefAtThisLevel",null);o(this,"simpleSnackBarComponent",Lce);o(this,"snackBarContainerComponent",Vce);o(this,"handsetCssClass","mat-mdc-snack-bar-handset")}get _openedSnackBarRef(){let i=this._parentSnackBar;return i?i._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(i){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=i:this._snackBarRefAtThisLevel=i}openFromComponent(i,a){return this._attach(i,a)}openFromTemplate(i,a){return this._attach(i,a)}open(i,a="",r){let s=Q(Q({},this._defaultConfig),r);return s.data={message:i,action:a},s.announcementMessage===i&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(i,a){let r=a&&a.viewContainerRef&&a.viewContainerRef.injector,s=lt.create({parent:r||this._injector,providers:[{provide:Kc,useValue:a}]}),l=new Ln(this.snackBarContainerComponent,a.viewContainerRef,s),c=i.attach(l);return c.instance.snackBarConfig=a,c.instance}_attach(i,a){let r=Q(Q(Q({},new Kc),this._defaultConfig),a),s=this._createOverlay(r),l=this._attachSnackBarContainer(s,r),c=new up(l,s);if(i instanceof vr){let d=new Vd(i,null,{$implicit:r.data,snackBarRef:c});c.instance=l.attachTemplatePortal(d)}else{let d=this._createInjector(r,c),u=new Ln(i,void 0,d),p=l.attachComponentPortal(u);c.instance=p.instance}return this._breakpointObserver.observe(Ace.HandsetPortrait).pipe(Ct(s.detachments())).subscribe(d=>{s.overlayElement.classList.toggle(this.handsetCssClass,d.matches)}),r.announcementMessage&&l._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(c,r),this._openedSnackBarRef=c,this._openedSnackBarRef}_animateSnackBar(i,a){i.afterDismissed().subscribe(()=>{this._openedSnackBarRef==i&&(this._openedSnackBarRef=null),a.announcementMessage&&this._live.clear()}),a.duration&&a.duration>0&&i.afterOpened().subscribe(()=>i._dismissAfter(a.duration)),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{i.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):i.containerInstance.enter()}_createOverlay(i){let a=new rl;a.direction=i.direction;let r=this._overlay.position().global(),s=i.direction==="rtl",l=i.horizontalPosition==="left"||i.horizontalPosition==="start"&&!s||i.horizontalPosition==="end"&&s,c=!l&&i.horizontalPosition!=="center";return l?r.left("0"):c?r.right("0"):r.centerHorizontally(),i.verticalPosition==="top"?r.top("0"):r.bottom("0"),a.positionStrategy=r,this._overlay.create(a)}_createInjector(i,a){let r=i&&i.viewContainerRef&&i.viewContainerRef.injector;return lt.create({parent:r||this._injector,providers:[{provide:up,useValue:a},{provide:uS,useValue:i.data}]})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),hS=(()=>{const t=class t{constructor(){this.snackbar=S(Bce),this.translate=S(Bn)}showSuccess(i,a="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(i),this.translate.instant(a),{duration:r,panelClass:"mh-snackbar--success"})}showError(i,a="commons.close",r=5e3){return this.snackbar.open(this.translate.instant(i),this.translate.instant(a),{duration:r,panelClass:"mh-snackbar--error"})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Hce={demo:{env:Sn.DEMO},dev:{apiUrl:"http://vidis-fake-api.test.paas.vasdc.be",env:Sn.DEV},int:{apiUrl:"https://vidis-api.int.pub.vascloud.be/REST/vidis",env:Sn.INT},acc:{apiUrl:"https://vidis-api.acc.vasha.be/REST/vidis",env:Sn.ACC},prod:{apiUrl:"https://vidis-api.vasha.be/REST/vidis",env:Sn.PROD}},Do=(()=>{const t=class t{setEnvironment(i){this.configVariables=Hce[Sn[i.toUpperCase()]]||{}}getEnvironmentVariable(i){return this.configVariables[i]}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Es=(()=>{const t=class t{constructor(){this.config=S(Do),this.injector=S(lt),this._instance=null}getInstance(){if(!this._instance){let i=this.config.getEnvironmentVariable("env")==="demo";this._instance=i?this.injector.get(Sce):this.injector.get(wce)}return this._instance}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),$ce=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-report-error-dialog"]],decls:24,vars:23,consts:[["mat-dialog-title",""],["target","_blank",3,"href"],["mat-flat-button","","type","button",3,"mat-dialog-close"],["mat-stroked-button","","type","button",3,"mat-dialog-close"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),N(),I(3,"mat-dialog-content")(4,"p")(5,"span"),B(6),H(7,"translate"),N()(),I(8,"p")(9,"span"),B(10),H(11,"translate"),N(),I(12,"a",1),H(13,"translate"),B(14),H(15,"translate"),N(),B(16,"."),N()(),I(17,"mat-dialog-actions")(18,"button",2),B(19),H(20,"translate"),N(),I(21,"button",3),B(22),H(23,"translate"),N()()),i&2&&(D(),Ee(W(2,9,"commons.errors.report-message-title")),D(5),Ee(W(7,11,"commons.errors.report-message-explanation")),D(4),Ee(W(11,13,"commons.errors.report-message-content")),D(2),X("href",W(13,15,"commons.errors.report-message-link"),eJ),D(2),Ee(W(15,17,"commons.errors.report-message-term-use")),D(4),X("mat-dialog-close",!0),D(),Ie(" ",W(20,19,"commons.errors.report-message-report-button")," "),D(2),X("mat-dialog-close",!1),D(),Ie(" ",W(23,21,"commons.errors.report-message-ignore-button")," "))},dependencies:[ef,ol,sl,cl,ll,ko,_a,ba],encapsulation:2});let e=t;return e})(),qce=(()=>{const t=class t{constructor(){this.vidisErrorCode=S(Jm)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-not-authorized-dialog"]],decls:12,vars:10,consts:[["mat-dialog-title",""],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),N(),I(3,"mat-dialog-content")(4,"p")(5,"span"),B(6),H(7,"translate"),N()()(),I(8,"mat-dialog-actions")(9,"button",1),B(10),H(11,"translate"),N()()),i&2&&(D(),Ee(W(2,4,"commons.errors.action-not-authorized-title")),D(5),Ee(W(7,6,"commons.errors."+a.vidisErrorCode)),D(3),X("mat-dialog-close",!1),D(),Ie(" ",W(11,8,"commons.errors.action-not-authorized-close-button")," "))},dependencies:[ef,ol,sl,cl,ll,ko,_a,ba],encapsulation:2});let e=t;return e})(),Uce={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Gce=(e,t,n)=>{let i,a=Uce[e];return typeof a=="string"?i=a:t===1?i=a.one:i=a.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function qu(e){return(t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var Yce={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Wce={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Kce={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Zce={date:qu({formats:Yce,defaultWidth:"full"}),time:qu({formats:Wce,defaultWidth:"full"}),dateTime:qu({formats:Kce,defaultWidth:"full"})},Xce={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Qce=(e,t,n,i)=>Xce[e];function $o(e){return(t,n)=>{let i=n!=null&&n.context?String(n.context):"standalone",a;if(i==="formatting"&&e.formattingValues){let s=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):s;a=e.formattingValues[l]||e.formattingValues[s]}else{let s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;a=e.values[l]||e.values[s]}let r=e.argumentCallback?e.argumentCallback(t):t;return a[r]}}var Jce={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ede={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},tde={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ide={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},ade={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},nde={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},rde=(e,t)=>{let n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},ode={ordinalNumber:rde,era:$o({values:Jce,defaultWidth:"wide"}),quarter:$o({values:ede,defaultWidth:"wide",argumentCallback:e=>e-1}),month:$o({values:tde,defaultWidth:"wide"}),day:$o({values:ide,defaultWidth:"wide"}),dayPeriod:$o({values:ade,defaultWidth:"wide",formattingValues:nde,defaultFormattingWidth:"wide"})};function qo(e){return(t,n={})=>{let i=n.width,a=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],r=t.match(a);if(!r)return null;let s=r[0],l=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?lde(l,p=>p.test(s)):sde(l,p=>p.test(s)),d;d=e.valueCallback?e.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;let u=t.slice(s.length);return{value:d,rest:u}}}function sde(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function lde(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function cde(e){return(t,n={})=>{let i=t.match(e.matchPattern);if(!i)return null;let a=i[0],r=t.match(e.parsePattern);if(!r)return null;let s=e.valueCallback?e.valueCallback(r[0]):r[0];s=n.valueCallback?n.valueCallback(s):s;let l=t.slice(a.length);return{value:s,rest:l}}}var dde=/^(\d+)(th|st|nd|rd)?/i,ude=/\d+/i,hde={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},pde={any:[/^b/i,/^(a|c)/i]},mde={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},fde={any:[/1/i,/2/i,/3/i,/4/i]},gde={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},vde={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},yde={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},bde={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},_de={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},xde={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},wde={ordinalNumber:cde({matchPattern:dde,parsePattern:ude,valueCallback:e=>parseInt(e,10)}),era:qo({matchPatterns:hde,defaultMatchWidth:"wide",parsePatterns:pde,defaultParseWidth:"any"}),quarter:qo({matchPatterns:mde,defaultMatchWidth:"wide",parsePatterns:fde,defaultParseWidth:"any",valueCallback:e=>e+1}),month:qo({matchPatterns:gde,defaultMatchWidth:"wide",parsePatterns:vde,defaultParseWidth:"any"}),day:qo({matchPatterns:yde,defaultMatchWidth:"wide",parsePatterns:bde,defaultParseWidth:"any"}),dayPeriod:qo({matchPatterns:_de,defaultMatchWidth:"any",parsePatterns:xde,defaultParseWidth:"any"})},pS={code:"en-US",formatDistance:Gce,formatLong:Zce,formatRelative:Qce,localize:ode,match:wde,options:{weekStartsOn:0,firstWeekContainsDate:1}},Sde={};function Io(){return Sde}var mS=6048e5,kde=864e5,Ede=6e4,Cde=36e5,Dde=1e3,fy=Symbol.for("constructDateFrom");function si(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&fy in e?e[fy](t):e instanceof Date?new e.constructor(t):new Date(t)}function ni(e,t){return si(t||e,e)}function Zc(e){let t=ni(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Ide(e,...t){let n=si.bind(null,t.find(i=>typeof i=="object"));return t.map(n)}function gy(e,t){let n=ni(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function Ade(e,t,n){let[i,a]=Ide(n==null?void 0:n.in,e,t),r=gy(i),s=gy(a),l=+r-Zc(r),c=+s-Zc(s);return Math.round((l-c)/kde)}function Ode(e,t){let n=ni(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Tde(e,t){let n=ni(e,t==null?void 0:t.in);return Ade(n,Ode(n))+1}function Vn(e,t){var l,c,d,u;let n=Io(),i=(t==null?void 0:t.weekStartsOn)??((c=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)??n.weekStartsOn??((u=(d=n.locale)==null?void 0:d.options)==null?void 0:u.weekStartsOn)??0,a=ni(e,t==null?void 0:t.in),r=a.getDay(),s=(r<i?7:0)+r-i;return a.setDate(a.getDate()-s),a.setHours(0,0,0,0),a}function co(e,t){return Vn(e,Qe(Q({},t),{weekStartsOn:1}))}function fS(e,t){let n=ni(e,t==null?void 0:t.in),i=n.getFullYear(),a=si(n,0);a.setFullYear(i+1,0,4),a.setHours(0,0,0,0);let r=co(a),s=si(n,0);s.setFullYear(i,0,4),s.setHours(0,0,0,0);let l=co(s);return n.getTime()>=r.getTime()?i+1:n.getTime()>=l.getTime()?i:i-1}function Nde(e,t){let n=fS(e,t),i=si(e,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),co(i)}function gS(e,t){let n=ni(e,t==null?void 0:t.in),i=+co(n)-+Nde(n);return Math.round(i/mS)+1}function vf(e,t){var u,p,v,f;let n=ni(e,t==null?void 0:t.in),i=n.getFullYear(),a=Io(),r=(t==null?void 0:t.firstWeekContainsDate)??((p=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??a.firstWeekContainsDate??((f=(v=a.locale)==null?void 0:v.options)==null?void 0:f.firstWeekContainsDate)??1,s=si((t==null?void 0:t.in)||e,0);s.setFullYear(i+1,0,r),s.setHours(0,0,0,0);let l=Vn(s,t),c=si((t==null?void 0:t.in)||e,0);c.setFullYear(i,0,r),c.setHours(0,0,0,0);let d=Vn(c,t);return+n>=+l?i+1:+n>=+d?i:i-1}function Rde(e,t){var s,l,c,d;let n=Io(),i=(t==null?void 0:t.firstWeekContainsDate)??((l=(s=t==null?void 0:t.locale)==null?void 0:s.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((d=(c=n.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??1,a=vf(e,t),r=si((t==null?void 0:t.in)||e,0);return r.setFullYear(a,0,i),r.setHours(0,0,0,0),Vn(r,t)}function vS(e,t){let n=ni(e,t==null?void 0:t.in),i=+Vn(n,t)-+Rde(n,t);return Math.round(i/mS)+1}function st(e,t){let n=e<0?"-":"",i=Math.abs(e).toString().padStart(t,"0");return n+i}var xn={y(e,t){let n=e.getFullYear(),i=n>0?n:1-n;return st(t==="yy"?i%100:i,t.length)},M(e,t){let n=e.getMonth();return t==="M"?String(n+1):st(n+1,2)},d(e,t){return st(e.getDate(),t.length)},a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return st(e.getHours()%12||12,t.length)},H(e,t){return st(e.getHours(),t.length)},m(e,t){return st(e.getMinutes(),t.length)},s(e,t){return st(e.getSeconds(),t.length)},S(e,t){let n=t.length,i=e.getMilliseconds(),a=Math.trunc(i*Math.pow(10,n-3));return st(a,t.length)}},Lr={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},vy={G:function(e,t,n){let i=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){let i=e.getFullYear(),a=i>0?i:1-i;return n.ordinalNumber(a,{unit:"year"})}return xn.y(e,t)},Y:function(e,t,n,i){let a=vf(e,i),r=a>0?a:1-a;if(t==="YY"){let s=r%100;return st(s,2)}return t==="Yo"?n.ordinalNumber(r,{unit:"year"}):st(r,t.length)},R:function(e,t){let n=fS(e);return st(n,t.length)},u:function(e,t){let n=e.getFullYear();return st(n,t.length)},Q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return st(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){let i=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return st(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){let i=e.getMonth();switch(t){case"M":case"MM":return xn.M(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){let i=e.getMonth();switch(t){case"L":return String(i+1);case"LL":return st(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){let a=vS(e,i);return t==="wo"?n.ordinalNumber(a,{unit:"week"}):st(a,t.length)},I:function(e,t,n){let i=gS(e);return t==="Io"?n.ordinalNumber(i,{unit:"week"}):st(i,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):xn.d(e,t)},D:function(e,t,n){let i=Tde(e);return t==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):st(i,t.length)},E:function(e,t,n){let i=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,i){let a=e.getDay(),r=(a-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return st(r,2);case"eo":return n.ordinalNumber(r,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,n,i){let a=e.getDay(),r=(a-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return st(r,t.length);case"co":return n.ordinalNumber(r,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,n){let i=e.getDay(),a=i===0?7:i;switch(t){case"i":return String(a);case"ii":return st(a,t.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){let i=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},b:function(e,t,n){let i=e.getHours(),a;switch(i===12?a=Lr.noon:i===0?a=Lr.midnight:a=i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,n){let i=e.getHours(),a;switch(i>=17?a=Lr.evening:i>=12?a=Lr.afternoon:i>=4?a=Lr.morning:a=Lr.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let i=e.getHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return xn.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):xn.H(e,t)},K:function(e,t,n){let i=e.getHours()%12;return t==="Ko"?n.ordinalNumber(i,{unit:"hour"}):st(i,t.length)},k:function(e,t,n){let i=e.getHours();return i===0&&(i=24),t==="ko"?n.ordinalNumber(i,{unit:"hour"}):st(i,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):xn.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):xn.s(e,t)},S:function(e,t){return xn.S(e,t)},X:function(e,t,n){let i=e.getTimezoneOffset();if(i===0)return"Z";switch(t){case"X":return by(i);case"XXXX":case"XX":return Jn(i);case"XXXXX":case"XXX":default:return Jn(i,":")}},x:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"x":return by(i);case"xxxx":case"xx":return Jn(i);case"xxxxx":case"xxx":default:return Jn(i,":")}},O:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+yy(i,":");case"OOOO":default:return"GMT"+Jn(i,":")}},z:function(e,t,n){let i=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+yy(i,":");case"zzzz":default:return"GMT"+Jn(i,":")}},t:function(e,t,n){let i=Math.trunc(+e/1e3);return st(i,t.length)},T:function(e,t,n){return st(+e,t.length)}};function yy(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=Math.trunc(i/60),r=i%60;return r===0?n+String(a):n+String(a)+t+st(r,2)}function by(e,t){return e%60===0?(e>0?"-":"+")+st(Math.abs(e)/60,2):Jn(e,t)}function Jn(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=st(Math.trunc(i/60),2),r=st(i%60,2);return n+a+t+r}var _y=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},yS=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Mde=(e,t)=>{let n=e.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return _y(e,t);let r;switch(i){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;case"PPPP":default:r=t.dateTime({width:"full"});break}return r.replace("{{date}}",_y(i,t)).replace("{{time}}",yS(a,t))},hp={p:yS,P:Mde},Pde=/^D+$/,Fde=/^Y+$/,Lde=["D","DD","YY","YYYY"];function bS(e){return Pde.test(e)}function _S(e){return Fde.test(e)}function pp(e,t,n){let i=Vde(e,t,n);if(console.warn(i),Lde.includes(e))throw new RangeError(i)}function Vde(e,t,n){let i=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${i} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function zde(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function jde(e){return!(!zde(e)&&typeof e!="number"||isNaN(+ni(e)))}var Bde=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Hde=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$de=/^'([^]*?)'?$/,qde=/''/g,Ude=/[a-zA-Z]/;function Xc(e,t,n){var u,p,v,f,x,w,E,A;let i=Io(),a=(n==null?void 0:n.locale)??i.locale??pS,r=(n==null?void 0:n.firstWeekContainsDate)??((p=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??i.firstWeekContainsDate??((f=(v=i.locale)==null?void 0:v.options)==null?void 0:f.firstWeekContainsDate)??1,s=(n==null?void 0:n.weekStartsOn)??((w=(x=n==null?void 0:n.locale)==null?void 0:x.options)==null?void 0:w.weekStartsOn)??i.weekStartsOn??((A=(E=i.locale)==null?void 0:E.options)==null?void 0:A.weekStartsOn)??0,l=ni(e,n==null?void 0:n.in);if(!jde(l))throw new RangeError("Invalid time value");let c=t.match(Hde).map(L=>{let M=L[0];if(M==="p"||M==="P"){let re=hp[M];return re(L,a.formatLong)}return L}).join("").match(Bde).map(L=>{if(L==="''")return{isToken:!1,value:"'"};let M=L[0];if(M==="'")return{isToken:!1,value:Gde(L)};if(vy[M])return{isToken:!0,value:L};if(M.match(Ude))throw new RangeError("Format string contains an unescaped latin alphabet character `"+M+"`");return{isToken:!1,value:L}});a.localize.preprocessor&&(c=a.localize.preprocessor(l,c));let d={firstWeekContainsDate:r,weekStartsOn:s,locale:a};return c.map(L=>{if(!L.isToken)return L.value;let M=L.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&_S(M)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&bS(M))&&pp(M,t,String(e));let re=vy[M[0]];return re(l,M,a.localize,d)}).join("")}function Gde(e){let t=e.match($de);return t?t[1].replace(qde,"'"):e}function xS(e,t,n){let i=ni(e,n==null?void 0:n.in);return isNaN(t)?si((n==null?void 0:n.in)||e,NaN):(t&&i.setDate(i.getDate()+t),i)}function wS(){return Object.assign({},Io())}function Yde(e,t){let n=ni(e,t==null?void 0:t.in).getDay();return n===0?7:n}function Wde(e,t){let n=Kde(t)?new t(0):si(t,0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}function Kde(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var Zde=10,SS=class{constructor(){o(this,"subPriority",0)}validate(e,t){return!0}},Xde=class extends SS{constructor(e,t,n,i,a){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=i,a&&(this.subPriority=a)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}},Qde=class extends SS{constructor(t,n){super();o(this,"priority",Zde);o(this,"subPriority",-1);this.context=t||(i=>si(n,i))}set(t,n){return n.timestampIsSet?t:si(t,Wde(t,this.context))}},rt=class{run(e,t,n,i){let a=this.parse(e,t,n,i);return a?{setter:new Xde(a.value,this.validate,this.set,this.priority,this.subPriority),rest:a.rest}:null}validate(e,t,n){return!0}},Jde=class extends rt{constructor(){super(...arguments);o(this,"priority",140);o(this,"incompatibleTokens",["R","u","t","T"])}parse(t,n,i){switch(n){case"G":case"GG":case"GGG":return i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"});case"GGGGG":return i.era(t,{width:"narrow"});case"GGGG":default:return i.era(t,{width:"wide"})||i.era(t,{width:"abbreviated"})||i.era(t,{width:"narrow"})}}set(t,n,i){return n.era=i,t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},jt={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Da={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function Bt(e,t){return e&&{value:t(e.value),rest:e.rest}}function Tt(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function Ia(e,t){let n=t.match(e);if(!n)return null;if(n[0]==="Z")return{value:0,rest:t.slice(1)};let i=n[1]==="+"?1:-1,a=n[2]?parseInt(n[2],10):0,r=n[3]?parseInt(n[3],10):0,s=n[5]?parseInt(n[5],10):0;return{value:i*(a*Cde+r*Ede+s*Dde),rest:t.slice(n[0].length)}}function kS(e){return Tt(jt.anyDigitsSigned,e)}function Mt(e,t){switch(e){case 1:return Tt(jt.singleDigit,t);case 2:return Tt(jt.twoDigits,t);case 3:return Tt(jt.threeDigits,t);case 4:return Tt(jt.fourDigits,t);default:return Tt(new RegExp("^\\d{1,"+e+"}"),t)}}function Qc(e,t){switch(e){case 1:return Tt(jt.singleDigitSigned,t);case 2:return Tt(jt.twoDigitsSigned,t);case 3:return Tt(jt.threeDigitsSigned,t);case 4:return Tt(jt.fourDigitsSigned,t);default:return Tt(new RegExp("^-?\\d{1,"+e+"}"),t)}}function yf(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function ES(e,t){let n=t>0,i=n?t:1-t,a;if(i<=50)a=e||100;else{let r=i+50,s=Math.trunc(r/100)*100,l=e>=r%100;a=e+s-(l?100:0)}return n?a:1-a}function CS(e){return e%400===0||e%4===0&&e%100!==0}var eue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,n,i){let a=r=>({year:r,isTwoDigitYear:n==="yy"});switch(n){case"y":return Bt(Mt(4,t),a);case"yo":return Bt(i.ordinalNumber(t,{unit:"year"}),a);default:return Bt(Mt(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,i){let a=t.getFullYear();if(i.isTwoDigitYear){let s=ES(i.year,a);return t.setFullYear(s,0,1),t.setHours(0,0,0,0),t}let r=!("era"in n)||n.era===1?i.year:1-i.year;return t.setFullYear(r,0,1),t.setHours(0,0,0,0),t}},tue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,n,i){let a=r=>({year:r,isTwoDigitYear:n==="YY"});switch(n){case"Y":return Bt(Mt(4,t),a);case"Yo":return Bt(i.ordinalNumber(t,{unit:"year"}),a);default:return Bt(Mt(n.length,t),a)}}validate(t,n){return n.isTwoDigitYear||n.year>0}set(t,n,i,a){let r=vf(t,a);if(i.isTwoDigitYear){let l=ES(i.year,r);return t.setFullYear(l,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Vn(t,a)}let s=!("era"in n)||n.era===1?i.year:1-i.year;return t.setFullYear(s,0,a.firstWeekContainsDate),t.setHours(0,0,0,0),Vn(t,a)}},iue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,n){return Qc(n==="R"?4:n.length,t)}set(t,n,i){let a=si(t,0);return a.setFullYear(i,0,4),a.setHours(0,0,0,0),co(a)}},aue=class extends rt{constructor(){super(...arguments);o(this,"priority",130);o(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,n){return Qc(n==="u"?4:n.length,t)}set(t,n,i){return t.setFullYear(i,0,1),t.setHours(0,0,0,0),t}},nue=class extends rt{constructor(){super(...arguments);o(this,"priority",120);o(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"Q":case"QQ":return Mt(n.length,t);case"Qo":return i.ordinalNumber(t,{unit:"quarter"});case"QQQ":return i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(t,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(t,{width:"wide",context:"formatting"})||i.quarter(t,{width:"abbreviated",context:"formatting"})||i.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=1&&n<=4}set(t,n,i){return t.setMonth((i-1)*3,1),t.setHours(0,0,0,0),t}},rue=class extends rt{constructor(){super(...arguments);o(this,"priority",120);o(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"q":case"qq":return Mt(n.length,t);case"qo":return i.ordinalNumber(t,{unit:"quarter"});case"qqq":return i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(t,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(t,{width:"wide",context:"standalone"})||i.quarter(t,{width:"abbreviated",context:"standalone"})||i.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=1&&n<=4}set(t,n,i){return t.setMonth((i-1)*3,1),t.setHours(0,0,0,0),t}},oue=class extends rt{constructor(){super(...arguments);o(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);o(this,"priority",110)}parse(t,n,i){let a=r=>r-1;switch(n){case"M":return Bt(Tt(jt.month,t),a);case"MM":return Bt(Mt(2,t),a);case"Mo":return Bt(i.ordinalNumber(t,{unit:"month"}),a);case"MMM":return i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(t,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(t,{width:"wide",context:"formatting"})||i.month(t,{width:"abbreviated",context:"formatting"})||i.month(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}},sue=class extends rt{constructor(){super(...arguments);o(this,"priority",110);o(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,n,i){let a=r=>r-1;switch(n){case"L":return Bt(Tt(jt.month,t),a);case"LL":return Bt(Mt(2,t),a);case"Lo":return Bt(i.ordinalNumber(t,{unit:"month"}),a);case"LLL":return i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(t,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(t,{width:"wide",context:"standalone"})||i.month(t,{width:"abbreviated",context:"standalone"})||i.month(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.setMonth(i,1),t.setHours(0,0,0,0),t}};function lue(e,t,n){let i=ni(e,n==null?void 0:n.in),a=vS(i,n)-t;return i.setDate(i.getDate()-a*7),ni(i,n==null?void 0:n.in)}var cue=class extends rt{constructor(){super(...arguments);o(this,"priority",100);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,n,i){switch(n){case"w":return Tt(jt.week,t);case"wo":return i.ordinalNumber(t,{unit:"week"});default:return Mt(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,i,a){return Vn(lue(t,i,a),a)}};function due(e,t,n){let i=ni(e,n==null?void 0:n.in),a=gS(i,n)-t;return i.setDate(i.getDate()-a*7),i}var uue=class extends rt{constructor(){super(...arguments);o(this,"priority",100);o(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,n,i){switch(n){case"I":return Tt(jt.week,t);case"Io":return i.ordinalNumber(t,{unit:"week"});default:return Mt(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,i){return co(due(t,i))}},hue=[31,28,31,30,31,30,31,31,30,31,30,31],pue=[31,29,31,30,31,30,31,31,30,31,30,31],mue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"subPriority",1);o(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"d":return Tt(jt.date,t);case"do":return i.ordinalNumber(t,{unit:"date"});default:return Mt(n.length,t)}}validate(t,n){let i=t.getFullYear(),a=CS(i),r=t.getMonth();return a?n>=1&&n<=pue[r]:n>=1&&n<=hue[r]}set(t,n,i){return t.setDate(i),t.setHours(0,0,0,0),t}},fue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"subpriority",1);o(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,n,i){switch(n){case"D":case"DD":return Tt(jt.dayOfYear,t);case"Do":return i.ordinalNumber(t,{unit:"date"});default:return Mt(n.length,t)}}validate(t,n){let i=t.getFullYear();return CS(i)?n>=1&&n<=366:n>=1&&n<=365}set(t,n,i){return t.setMonth(0,i),t.setHours(0,0,0,0),t}};function bf(e,t,n){var u,p,v,f;let i=Io(),a=(n==null?void 0:n.weekStartsOn)??((p=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:p.weekStartsOn)??i.weekStartsOn??((f=(v=i.locale)==null?void 0:v.options)==null?void 0:f.weekStartsOn)??0,r=ni(e,n==null?void 0:n.in),s=r.getDay(),l=(t%7+7)%7,c=7-a,d=t<0||t>6?t-(s+c)%7:(l+c)%7-(s+c)%7;return xS(r,d,n)}var gue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,n,i){switch(n){case"E":case"EE":case"EEE":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"EEEE":default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=bf(t,i,a),t.setHours(0,0,0,0),t}},vue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,n,i,a){let r=s=>{let l=Math.floor((s-1)/7)*7;return(s+a.weekStartsOn+6)%7+l};switch(n){case"e":case"ee":return Bt(Mt(n.length,t),r);case"eo":return Bt(i.ordinalNumber(t,{unit:"day"}),r);case"eee":return i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeeee":return i.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"});case"eeee":default:return i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=bf(t,i,a),t.setHours(0,0,0,0),t}},yue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,n,i,a){let r=s=>{let l=Math.floor((s-1)/7)*7;return(s+a.weekStartsOn+6)%7+l};switch(n){case"c":case"cc":return Bt(Mt(n.length,t),r);case"co":return Bt(i.ordinalNumber(t,{unit:"day"}),r);case"ccc":return i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"ccccc":return i.day(t,{width:"narrow",context:"standalone"});case"cccccc":return i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"});case"cccc":default:return i.day(t,{width:"wide",context:"standalone"})||i.day(t,{width:"abbreviated",context:"standalone"})||i.day(t,{width:"short",context:"standalone"})||i.day(t,{width:"narrow",context:"standalone"})}}validate(t,n){return n>=0&&n<=6}set(t,n,i,a){return t=bf(t,i,a),t.setHours(0,0,0,0),t}};function bue(e,t,n){let i=ni(e,n==null?void 0:n.in),a=Yde(i,n),r=t-a;return xS(i,r,n)}var _ue=class extends rt{constructor(){super(...arguments);o(this,"priority",90);o(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,n,i){let a=r=>r===0?7:r;switch(n){case"i":case"ii":return Mt(n.length,t);case"io":return i.ordinalNumber(t,{unit:"day"});case"iii":return Bt(i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a);case"iiiii":return Bt(i.day(t,{width:"narrow",context:"formatting"}),a);case"iiiiii":return Bt(i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a);case"iiii":default:return Bt(i.day(t,{width:"wide",context:"formatting"})||i.day(t,{width:"abbreviated",context:"formatting"})||i.day(t,{width:"short",context:"formatting"})||i.day(t,{width:"narrow",context:"formatting"}),a)}}validate(t,n){return n>=1&&n<=7}set(t,n,i){return t=bue(t,i),t.setHours(0,0,0,0),t}},xue=class extends rt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,n,i){switch(n){case"a":case"aa":case"aaa":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(yf(i),0,0,0),t}},wue=class extends rt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,n,i){switch(n){case"b":case"bb":case"bbb":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(yf(i),0,0,0),t}},Sue=class extends rt{constructor(){super(...arguments);o(this,"priority",80);o(this,"incompatibleTokens",["a","b","t","T"])}parse(t,n,i){switch(n){case"B":case"BB":case"BBB":return i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(t,{width:"wide",context:"formatting"})||i.dayPeriod(t,{width:"abbreviated",context:"formatting"})||i.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,n,i){return t.setHours(yf(i),0,0,0),t}},kue=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,n,i){switch(n){case"h":return Tt(jt.hour12h,t);case"ho":return i.ordinalNumber(t,{unit:"hour"});default:return Mt(n.length,t)}}validate(t,n){return n>=1&&n<=12}set(t,n,i){let a=t.getHours()>=12;return a&&i<12?t.setHours(i+12,0,0,0):!a&&i===12?t.setHours(0,0,0,0):t.setHours(i,0,0,0),t}},Eue=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,n,i){switch(n){case"H":return Tt(jt.hour23h,t);case"Ho":return i.ordinalNumber(t,{unit:"hour"});default:return Mt(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,i){return t.setHours(i,0,0,0),t}},Cue=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,n,i){switch(n){case"K":return Tt(jt.hour11h,t);case"Ko":return i.ordinalNumber(t,{unit:"hour"});default:return Mt(n.length,t)}}validate(t,n){return n>=0&&n<=11}set(t,n,i){return t.getHours()>=12&&i<12?t.setHours(i+12,0,0,0):t.setHours(i,0,0,0),t}},Due=class extends rt{constructor(){super(...arguments);o(this,"priority",70);o(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,n,i){switch(n){case"k":return Tt(jt.hour24h,t);case"ko":return i.ordinalNumber(t,{unit:"hour"});default:return Mt(n.length,t)}}validate(t,n){return n>=1&&n<=24}set(t,n,i){let a=i<=24?i%24:i;return t.setHours(a,0,0,0),t}},Iue=class extends rt{constructor(){super(...arguments);o(this,"priority",60);o(this,"incompatibleTokens",["t","T"])}parse(t,n,i){switch(n){case"m":return Tt(jt.minute,t);case"mo":return i.ordinalNumber(t,{unit:"minute"});default:return Mt(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,i){return t.setMinutes(i,0,0),t}},Aue=class extends rt{constructor(){super(...arguments);o(this,"priority",50);o(this,"incompatibleTokens",["t","T"])}parse(t,n,i){switch(n){case"s":return Tt(jt.second,t);case"so":return i.ordinalNumber(t,{unit:"second"});default:return Mt(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,i){return t.setSeconds(i,0),t}},Oue=class extends rt{constructor(){super(...arguments);o(this,"priority",30);o(this,"incompatibleTokens",["t","T"])}parse(t,n){let i=a=>Math.trunc(a*Math.pow(10,-n.length+3));return Bt(Mt(n.length,t),i)}set(t,n,i){return t.setMilliseconds(i),t}},Tue=class extends rt{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","x"])}parse(t,n){switch(n){case"X":return Ia(Da.basicOptionalMinutes,t);case"XX":return Ia(Da.basic,t);case"XXXX":return Ia(Da.basicOptionalSeconds,t);case"XXXXX":return Ia(Da.extendedOptionalSeconds,t);case"XXX":default:return Ia(Da.extended,t)}}set(t,n,i){return n.timestampIsSet?t:si(t,t.getTime()-Zc(t)-i)}},Nue=class extends rt{constructor(){super(...arguments);o(this,"priority",10);o(this,"incompatibleTokens",["t","T","X"])}parse(t,n){switch(n){case"x":return Ia(Da.basicOptionalMinutes,t);case"xx":return Ia(Da.basic,t);case"xxxx":return Ia(Da.basicOptionalSeconds,t);case"xxxxx":return Ia(Da.extendedOptionalSeconds,t);case"xxx":default:return Ia(Da.extended,t)}}set(t,n,i){return n.timestampIsSet?t:si(t,t.getTime()-Zc(t)-i)}},Rue=class extends rt{constructor(){super(...arguments);o(this,"priority",40);o(this,"incompatibleTokens","*")}parse(t){return kS(t)}set(t,n,i){return[si(t,i*1e3),{timestampIsSet:!0}]}},Mue=class extends rt{constructor(){super(...arguments);o(this,"priority",20);o(this,"incompatibleTokens","*")}parse(t){return kS(t)}set(t,n,i){return[si(t,i),{timestampIsSet:!0}]}},Pue={G:new Jde,y:new eue,Y:new tue,R:new iue,u:new aue,Q:new nue,q:new rue,M:new oue,L:new sue,w:new cue,I:new uue,d:new mue,D:new fue,E:new gue,e:new vue,c:new yue,i:new _ue,a:new xue,b:new wue,B:new Sue,h:new kue,H:new Eue,K:new Cue,k:new Due,m:new Iue,s:new Aue,S:new Oue,X:new Tue,x:new Nue,t:new Rue,T:new Mue},Fue=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Lue=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Vue=/^'([^]*?)'?$/,zue=/''/g,jue=/\S/,Bue=/[a-zA-Z]/;function Hue(e,t,n,i){var E,A,L,M;let a=()=>si(n,NaN),r=wS(),s=r.locale??pS,l=r.firstWeekContainsDate??((A=(E=r.locale)==null?void 0:E.options)==null?void 0:A.firstWeekContainsDate)??1,c=r.weekStartsOn??((M=(L=r.locale)==null?void 0:L.options)==null?void 0:M.weekStartsOn)??0,d={firstWeekContainsDate:l,weekStartsOn:c,locale:s},u=[new Qde(i==null?void 0:i.in,n)],p=t.match(Lue).map(re=>{let xe=re[0];if(xe in hp){let Re=hp[xe];return Re(re,s.formatLong)}return re}).join("").match(Fue),v=[];for(let re of p){_S(re)&&pp(re,t,e),bS(re)&&pp(re,t,e);let xe=re[0],Re=Pue[xe];if(Re){let{incompatibleTokens:Jt}=Re;if(Array.isArray(Jt)){let ft=v.find(Ut=>Jt.includes(Ut.token)||Ut.token===xe);if(ft)throw new RangeError(`The format string mustn't contain \`${ft.fullToken}\` and \`${re}\` at the same time`)}else if(Re.incompatibleTokens==="*"&&v.length>0)throw new RangeError(`The format string mustn't contain \`${re}\` and any other token at the same time`);v.push({token:xe,fullToken:re});let Ft=Re.run(e,re,s.match,d);if(!Ft)return a();u.push(Ft.setter),e=Ft.rest}else{if(xe.match(Bue))throw new RangeError("Format string contains an unescaped latin alphabet character `"+xe+"`");if(re==="''"?re="'":xe==="'"&&(re=$ue(re)),e.indexOf(re)===0)e=e.slice(re.length);else return a()}}if(e.length>0&&jue.test(e))return a();let f=u.map(re=>re.priority).sort((re,xe)=>xe-re).filter((re,xe,Re)=>Re.indexOf(re)===xe).map(re=>u.filter(xe=>xe.priority===re).sort((xe,Re)=>Re.subPriority-xe.subPriority)).map(re=>re[0]),x=ni(n,i==null?void 0:i.in);if(isNaN(+x))return a();let w={};for(let re of f){if(!re.validate(x,d))return a();let xe=re.set(x,w,d);Array.isArray(xe)?(x=xe[0],Object.assign(w,xe[1])):x=xe}return x}function $ue(e){return e.match(Vue)[1].replace(zue,"'")}function xy(e,t,n){let i=wS(),a=Gue(e,n.timeZone,n.locale??i.locale);return"formatToParts"in a?que(a,t):Uue(a,t)}function que(e,t){let n=e.formatToParts(t);for(let i=n.length-1;i>=0;--i)if(n[i].type==="timeZoneName")return n[i].value}function Uue(e,t){let n=e.format(t).replace(/\u200E/g,""),i=/ [\w-+ ]+$/.exec(n);return i?i[0].substr(1):""}function Gue(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function Yue(e,t){let n=Que(t);return"formatToParts"in n?Kue(n,e):Zue(n,e)}var Wue={year:0,month:1,day:2,hour:3,minute:4,second:5};function Kue(e,t){try{let n=e.formatToParts(t),i=[];for(let a=0;a<n.length;a++){let r=Wue[n[a].type];r!==void 0&&(i[r]=parseInt(n[a].value,10))}return i}catch(n){if(n instanceof RangeError)return[NaN];throw n}}function Zue(e,t){let n=e.format(t),i=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[parseInt(i[3],10),parseInt(i[1],10),parseInt(i[2],10),parseInt(i[4],10),parseInt(i[5],10),parseInt(i[6],10)]}var Uu={},wy=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),Xue=wy==="06/25/2014, 00:00:00"||wy==="06/25/2014 00:00:00";function Que(e){return Uu[e]||(Uu[e]=Xue?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Uu[e]}function DS(e,t,n,i,a,r,s){let l=new Date(0);return l.setUTCFullYear(e,t,n),l.setUTCHours(i,a,r,s),l}var Sy=36e5,Jue=6e4,Gu={timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function IS(e,t,n){if(!e)return 0;let i=Gu.timezoneZ.exec(e);if(i)return 0;let a,r;if(i=Gu.timezoneHH.exec(e),i)return a=parseInt(i[1],10),ky(a)?-(a*Sy):NaN;if(i=Gu.timezoneHHMM.exec(e),i){a=parseInt(i[2],10);let s=parseInt(i[3],10);return ky(a,s)?(r=Math.abs(a)*Sy+s*Jue,i[1]==="+"?-r:r):NaN}if(ihe(e)){t=new Date(t||Date.now());let s=n?t:ehe(t),l=mp(s,e);return-(n?l:the(t,l,e))}return NaN}function ehe(e){return DS(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function mp(e,t){let n=Yue(e,t),i=DS(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime(),a=e.getTime(),r=a%1e3;return a-=r>=0?r:1e3+r,i-a}function the(e,t,n){let i=e.getTime()-t,a=mp(new Date(i),n);if(t===a)return t;i-=a-t;let r=mp(new Date(i),n);return a===r?a:Math.max(a,r)}function ky(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}var Ey={};function ihe(e){if(Ey[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Ey[e]=!0,!0}catch{return!1}}var ahe=60*1e3,nhe={X:function(e,t,n){let i=Yu(n.timeZone,e);if(i===0)return"Z";switch(t){case"X":return Cy(i);case"XXXX":case"XX":return zr(i);case"XXXXX":case"XXX":default:return zr(i,":")}},x:function(e,t,n){let i=Yu(n.timeZone,e);switch(t){case"x":return Cy(i);case"xxxx":case"xx":return zr(i);case"xxxxx":case"xxx":default:return zr(i,":")}},O:function(e,t,n){let i=Yu(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+rhe(i,":");case"OOOO":default:return"GMT"+zr(i,":")}},z:function(e,t,n){switch(t){case"z":case"zz":case"zzz":return xy("short",e,n);case"zzzz":default:return xy("long",e,n)}}};function Yu(e,t){let n=e?IS(e,t,!0)/ahe:(t==null?void 0:t.getTimezoneOffset())??0;if(Number.isNaN(n))throw new RangeError("Invalid time zone specified: "+e);return n}function Jc(e,t){let n=e<0?"-":"",i=Math.abs(e).toString();for(;i.length<t;)i="0"+i;return n+i}function zr(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=Jc(Math.floor(i/60),2),r=Jc(Math.floor(i%60),2);return n+a+t+r}function Cy(e,t){return e%60===0?(e>0?"-":"+")+Jc(Math.abs(e)/60,2):zr(e,t)}function rhe(e,t=""){let n=e>0?"-":"+",i=Math.abs(e),a=Math.floor(i/60),r=i%60;return r===0?n+String(a):n+String(a)+t+Jc(r,2)}function Dy(e){let t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}var ohe=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,Wu=36e5,Iy=6e4,she=2,ki={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:ohe};function lhe(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);let n=t.additionalDigits==null?she:Number(t.additionalDigits);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(Object.prototype.toString.call(e)!=="[object String]")return new Date(NaN);let i=che(e),{year:a,restDateString:r}=dhe(i.date,n),s=uhe(r,a);if(s===null||isNaN(s.getTime()))return new Date(NaN);if(s){let l=s.getTime(),c=0,d;if(i.time&&(c=hhe(i.time),c===null||isNaN(c)))return new Date(NaN);if(i.timeZone||t.timeZone){if(d=IS(i.timeZone||t.timeZone,new Date(l+c)),isNaN(d))return new Date(NaN)}else d=Dy(new Date(l+c)),d=Dy(new Date(l+c+d));return new Date(l+c+d)}else return new Date(NaN)}function che(e){let t={},n=ki.dateTimePattern.exec(e),i;if(n?(t.date=n[1],i=n[3]):(n=ki.datePattern.exec(e),n?(t.date=n[1],i=n[2]):(t.date=null,i=e)),i){let a=ki.timeZone.exec(i);a?(t.time=i.replace(a[1],""),t.timeZone=a[1].trim()):t.time=i}return t}function dhe(e,t){if(e){let n=ki.YYY[t],i=ki.YYYYY[t],a=ki.YYYY.exec(e)||i.exec(e);if(a){let r=a[1];return{year:parseInt(r,10),restDateString:e.slice(r.length)}}if(a=ki.YY.exec(e)||n.exec(e),a){let r=a[1];return{year:parseInt(r,10)*100,restDateString:e.slice(r.length)}}}return{year:null}}function uhe(e,t){if(t===null)return null;let n,i,a;if(!e||!e.length)return n=new Date(0),n.setUTCFullYear(t),n;let r=ki.MM.exec(e);if(r)return n=new Date(0),i=parseInt(r[1],10)-1,Oy(t,i)?(n.setUTCFullYear(t,i),n):new Date(NaN);if(r=ki.DDD.exec(e),r){n=new Date(0);let s=parseInt(r[1],10);return fhe(t,s)?(n.setUTCFullYear(t,0,s),n):new Date(NaN)}if(r=ki.MMDD.exec(e),r){n=new Date(0),i=parseInt(r[1],10)-1;let s=parseInt(r[2],10);return Oy(t,i,s)?(n.setUTCFullYear(t,i,s),n):new Date(NaN)}if(r=ki.Www.exec(e),r)return a=parseInt(r[1],10)-1,Ty(a)?Ay(t,a):new Date(NaN);if(r=ki.WwwD.exec(e),r){a=parseInt(r[1],10)-1;let s=parseInt(r[2],10)-1;return Ty(a,s)?Ay(t,a,s):new Date(NaN)}return null}function hhe(e){let t,n,i=ki.HH.exec(e);if(i)return t=parseFloat(i[1].replace(",",".")),Ku(t)?t%24*Wu:NaN;if(i=ki.HHMM.exec(e),i)return t=parseInt(i[1],10),n=parseFloat(i[2].replace(",",".")),Ku(t,n)?t%24*Wu+n*Iy:NaN;if(i=ki.HHMMSS.exec(e),i){t=parseInt(i[1],10),n=parseInt(i[2],10);let a=parseFloat(i[3].replace(",","."));return Ku(t,n,a)?t%24*Wu+n*Iy+a*1e3:NaN}return null}function Ay(e,t,n){t=t||0,n=n||0;let i=new Date(0);i.setUTCFullYear(e,0,4);let a=i.getUTCDay()||7,r=t*7+n+1-a;return i.setUTCDate(i.getUTCDate()+r),i}var phe=[31,28,31,30,31,30,31,31,30,31,30,31],mhe=[31,29,31,30,31,30,31,31,30,31,30,31];function AS(e){return e%400===0||e%4===0&&e%100!==0}function Oy(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;let i=AS(e);if(i&&n>mhe[t]||!i&&n>phe[t])return!1}return!0}function fhe(e,t){if(t<1)return!1;let n=AS(e);return!(n&&t>366||!n&&t>365)}function Ty(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function Ku(e,t,n){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}var ghe=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function vhe(e,t,n={}){t=String(t);let i=t.match(ghe);if(i){let a=lhe(n.originalDate||e,n);t=i.reduce(function(r,s){if(s[0]==="'")return r;let l=r.indexOf(s),c=r[l-1]==="'",d=r.replace(s,"'"+nhe[s[0]](a,s,n)+"'");return c?d.substring(0,l-1)+d.substring(l+1):d},t)}return Xc(e,t,n)}var yhe=(()=>{const t=class t{reportError(i){return yt({status:"ok"})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),bhe=(()=>{const t=class t{constructor(){this.http=S(Js),this.authService=S(Es).getInstance(),this.apiUrl=S(Do).getEnvironmentVariable("apiUrl")}reportError(i){return this.http.post(`${this.apiUrl}/v2/report/error`,i,{headers:{[eo.userType]:rr.getUserType({isProfessional:this.authService.isProfessional}),[eo.clientType]:cS()?rr.clientType.mobileApp:rr.clientType.webApp}})}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),_he=(()=>{const t=class t{constructor(){this.config=S(Do),this.injector=S(lt),this._instance=null}getInstance(){if(!this._instance){let i=this.config.getEnvironmentVariable("env")==="demo";this._instance=i?this.injector.get(yhe):this.injector.get(bhe)}return this._instance}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),xhe=(()=>{const t=class t extends fce{constructor(){super(...arguments),this.version=dp,this.authServiceSelector=S(Es),this.translateService=S(Bn),this.webComponentConfig=S(Do),this.injector=S(lt),this.servicesStore=S(Wd),this.matDialog=S(Ar),this.destroyRef=S(Hi),this.errorServiceSelector=S(_he),this.snackbarService=S(hS),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return Et(this,null,function*(){this.webComponentConfig.setEnvironment(this.configName),this.translateService.use(this.language),this.servicesStore.setServices(this.services),this.authServiceSelector.getInstance().isProfessional=this.professional,this.authServiceSelector.getInstance().patientSsin=this.ssin,this.authServiceSelector.getInstance().registerAccessTokenService(this.isOfflineAuthenticated,this.offlineDataStorageEnabled),this.injectService(),yield this.fetchData(!0),this.services.registerRefreshCallback(i=>Et(this,null,function*(){yield this.fetchData(!0),i()}))})}onPropsChanged(i){i.language&&this.translateService.use(this.language)}checkError(i){(i==null?void 0:i.group)===sn.NOT_AUTHORIZED?this.showNotAuthorizedErrorPopup(i.code):(i==null?void 0:i.group)===sn.OTHER&&this.showTechnicalErrorPopup(i)}showTechnicalErrorPopup(i){this.matDialog.open($ce,{data:{error:i}}).beforeClosed().pipe(oi(a=>a),wo(this.destroyRef)).subscribe(()=>{this.reportVidisError(i)})}reportVidisError(i){let a={backendTraceId:"",errorMessage:i.message,pageUrl:window.location.href,timestamp:this.formatDateWithZone()};this.errorServiceSelector.getInstance().reportError(a).subscribe({next:r=>{r.status==="ok"?this.snackbarService.showSuccess("commons.errors.report-message-confirm-toast"):this.snackbarService.showError("commons.errors..general")},error:()=>{this.snackbarService.showError("commons.errors.general")}})}showNotAuthorizedErrorPopup(i){this.matDialog.open(qce,{data:i})}formatDateWithZone(){return vhe(new Date,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:"Europe/Brussels"})}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],inputs:{isOfflineAuthenticated:"isOfflineAuthenticated",offlineDataStorageEnabled:"offlineDataStorageEnabled",professional:"professional",ssin:"ssin"},features:[Pt],decls:0,vars:0,template:function(i,a){},encapsulation:2});let e=t;return e})();function whe(e,t){if(e&1&&(I(0,"mat-option",4),B(1),H(2,"translate"),N()),e&2){let n=t.$implicit;X("value",n),D(),Ee(W(2,2,"commons.sortDropdown."+n))}}function She(e,t){if(e&1){let n=Ke();I(0,"button",6),H(1,"translate"),de("click",function(){ve(n);let i=V();return ye(i.emitNewData({sort:i.sortData().sort,order:i.sortDirection.descending}))}),he(2,"mat-icon",7),N()}if(e&2){let n=V();X("disabled",n.disabled()),_e("aria-label",W(1,2,"commons.sortDropdown.sorting-ascendant"))}}function khe(e,t){if(e&1){let n=Ke();I(0,"button",6),H(1,"translate"),de("click",function(){ve(n);let i=V();return ye(i.emitNewData({sort:i.sortData().sort,order:i.sortDirection.ascending}))}),he(2,"mat-icon",8),N()}if(e&2){let n=V();X("disabled",n.disabled()),_e("aria-label",W(1,2,"commons.sortDropdown.sorting-descendent"))}}var Ehe=(()=>{const t=class t{constructor(){this.sortData=cte.required(),this.sortItems=zt.required(),this.disabled=zt(!1),this.sortDirection=Kd}emitNewData(i){this.sortData.set(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-sort-dropdown"]],inputs:{sortData:[1,"sortData"],sortItems:[1,"sortItems"],disabled:[1,"disabled"]},outputs:{sortData:"sortDataChange"},decls:8,vars:3,consts:[[1,"wrap"],[1,"mh-form-field"],["appearance","outline"],[3,"valueChange","value","disabled"],[3,"value"],["mat-icon-button","",3,"disabled"],["mat-icon-button","",3,"click","disabled"],["fontIcon","sort",1,"ascending"],["fontIcon","sort"]],template:function(i,a){i&1&&(I(0,"div",0)(1,"div",1)(2,"mat-form-field",2)(3,"mat-select",3),de("valueChange",function(r){return a.emitNewData({sort:r,order:a.sortData().order})}),Mi(4,whe,3,4,"mat-option",4,va),N()()(),se(6,She,3,4,"button",5)(7,khe,3,4,"button",5),N()),i&2&&(D(3),X("value",a.sortData().sort)("disabled",a.disabled()),D(),Pi(a.sortItems()),D(2),oe(a.sortData().order===a.sortDirection.ascending?6:7))},dependencies:[Hn,ko,So,Ss,Hd,sS,ff,Yd,ba],styles:[".wrap[_ngcontent-%COMP%]{margin-bottom:16px;display:flex;gap:16px;align-items:baseline}.wrap[_ngcontent-%COMP%] .mh-form-field[_ngcontent-%COMP%]{width:100%}.wrap[_ngcontent-%COMP%] .ascending[_ngcontent-%COMP%]{transform:rotateX(180deg)}"]});let e=t;return e})(),Che=[[["","alert-details",""]]],Dhe=["[alert-details]"];function Ihe(e,t){if(e&1&&(I(0,"h2"),B(1),N()),e&2){let n=V();D(),Ie(" ",n.alertTitle()," ")}}function Ahe(e,t){if(e&1){let n=Ke();I(0,"button",7),de("click",function(){ve(n);let i=V(2);return ye(i.onActionButtonClicked())}),B(1),N()}if(e&2){let n=V(2);X("disabled",n.buttonDisabled()),D(),Ie(" ",n.buttonLabel()," ")}}function Ohe(e,t){if(e&1&&(I(0,"span",5),dt(1),N(),se(2,Ahe,2,2,"button",6)),e&2){let n=V();D(2),oe(n.actionButton()?2:-1)}}function The(e,t){if(e&1){let n=Ke();I(0,"mat-icon",8),de("click",function(){ve(n);let i=V();return ye(i.onCloseButtonClick())})("keydown.enter",function(){ve(n);let i=V();return ye(i.onCloseButtonClick())})("keydown.space",function(){ve(n);let i=V();return ye(i.onCloseButtonClick())}),N()}if(e&2){let n=V();_e("aria-label",n.closeButtonAriaLabel())}}function Nhe(e,t){if(e&1){let n=Ke();I(0,"mat-icon",9),de("click",function(){ve(n);let i=V();return ye(i.toggleExpanded())})("keydown.enter",function(){ve(n);let i=V();return ye(i.toggleExpanded())})("keydown.space",function(){ve(n);let i=V();return ye(i.toggleExpanded())}),N()}if(e&2){let n=V();X("fontIcon",n.expanded()?"keyboard_arrow_up":"keyboard_arrow_down"),_e("aria-label",n.currentExpandIconAriaLabel)}}var Rhe=(()=>{const t=class t{constructor(){o(this,"usage",zt("info"));o(this,"backgroundColor",zt("color"));o(this,"alertTitle",zt());o(this,"actionButton",zt(!1));o(this,"buttonDisabled",zt(!1));o(this,"buttonLabel",zt());o(this,"dismissMode",zt("pinned"));o(this,"closeButtonAriaLabel",zt(""));o(this,"startExpanded",zt(!1));o(this,"expandedButtonAriaLabel",zt(""));o(this,"collapsedButtonAriaLabel",zt(""));o(this,"closeButtonClicked",yg());o(this,"actionButtonClicked",yg());o(this,"expanded",oae(()=>this.startExpanded()));o(this,"currentExpandIconAriaLabel",ta(()=>this.expanded()?this.expandedButtonAriaLabel():this.collapsedButtonAriaLabel()));o(this,"toggleExpanded",()=>{this.expanded.update(i=>!i)});o(this,"onActionButtonClicked",()=>{this.actionButtonClicked.emit()});o(this,"fontIcon",ta(()=>({info:"info",success:"check_circle",warning:"warning",error:"emergency_home",notification:"notifications"})[this.usage()]??"info"))}onCloseButtonClick(){this.closeButtonClicked.emit()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mh-alert"]],inputs:{usage:[1,"usage"],backgroundColor:[1,"backgroundColor"],alertTitle:[1,"alertTitle"],actionButton:[1,"actionButton"],buttonDisabled:[1,"buttonDisabled"],buttonLabel:[1,"buttonLabel"],dismissMode:[1,"dismissMode"],closeButtonAriaLabel:[1,"closeButtonAriaLabel"],startExpanded:[1,"startExpanded"],expandedButtonAriaLabel:[1,"expandedButtonAriaLabel"],collapsedButtonAriaLabel:[1,"collapsedButtonAriaLabel"]},outputs:{closeButtonClicked:"closeButtonClicked",actionButtonClicked:"actionButtonClicked"},ngContentSelectors:Dhe,decls:7,vars:8,consts:[["role","alert","aria-live","assertive"],[3,"fontIcon"],[1,"flex-grow"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon"],["type","button","tabindex","0",1,"top-right-icon",3,"fontIcon"],[1,"alert-details"],["type","button","mat-flat-button","",3,"disabled"],["type","button","mat-flat-button","",3,"click","disabled"],["type","button","tabindex","0","fontIcon","close",1,"top-right-icon",3,"click","keydown.enter","keydown.space"],["type","button","tabindex","0",1,"top-right-icon",3,"click","keydown.enter","keydown.space","fontIcon"]],template:function(i,a){i&1&&(Fi(Che),I(0,"div",0),he(1,"mat-icon",1),I(2,"div",2),se(3,Ihe,2,1,"h2")(4,Ohe,3,1),N(),se(5,The,1,1,"mat-icon",3)(6,Nhe,1,2,"mat-icon",4),N()),i&2&&(br(a.usage()),We("white",a.backgroundColor()==="white"),D(),X("fontIcon",a.fontIcon()),D(2),oe(a.alertTitle()?3:-1),D(),oe(a.dismissMode()!=="expandable"||a.expanded()?4:-1),D(),oe(a.dismissMode()==="closable"?5:a.dismissMode()==="expandable"?6:-1))},dependencies:[w1,Hn,_a],styles:[".info[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f2f7fd}.info[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.info[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#1d5caf;margin:0}.info[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#1d5caf;margin:0}.info[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#1d5caf;flex-shrink:0}.info[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .info[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.success[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f2fcf8}.success[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.success[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#1d8657;margin:0}.success[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#1d8657;margin:0}.success[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#1d8657;flex-shrink:0}.success[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#1d8657;width:max-content}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#145c3c}.success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .success[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#145c3c}.warning[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#ffeee0}.warning[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.warning[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#662e00;margin:0}.warning[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#662e00;margin:0}.warning[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#662e00;flex-shrink:0}.warning[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#994500;width:max-content}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#662e00}.warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .warning[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#662e00}.error[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#fff6f5}.error[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.error[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;color:#0d0d0d;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#c41c0d;margin:0}.error[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;color:#0d0d0d;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#c41c0d;margin:0}.error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#c41c0d;flex-shrink:0}.error[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#c41c0d;width:max-content}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#8f0c00}.error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .error[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#8f0c00}.notification[_ngcontent-%COMP%]{display:flex;padding:10px;gap:10px;border-radius:var(--Radius-Small, 6px);box-shadow:1px 1px 4px #00000021;background:#f5f5f5}.notification[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1;flex-shrink:1;min-width:0;word-wrap:break-word;overflow-wrap:break-word;display:flex;flex-direction:column;gap:10px}.notification[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:600;font-size:1rem;line-height:1.375rem;letter-spacing:0em;color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{font-family:Open Sans,Roboto,sans-serif;font-weight:400;font-size:.875rem;line-height:normal;letter-spacing:0em;color:#0d0d0d;margin:0}.notification[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#c41c0d;flex-shrink:0}.notification[_ngcontent-%COMP%] mat-icon.top-right-icon[_ngcontent-%COMP%]{cursor:pointer}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]{background-color:#2473db;width:max-content}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:disabled{background-color:#ebebeb}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:hover{background-color:#1d5caf}.notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:focus, .notification[_ngcontent-%COMP%] button[mat-flat-button][_ngcontent-%COMP%]:active{background-color:#1d5caf}.notification[_ngcontent-%COMP%] mat-icon.close[_ngcontent-%COMP%]{color:#0d0d0d}.white[_ngcontent-%COMP%]{background:#fff}.white[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .white[_ngcontent-%COMP%] .alert-details[_ngcontent-%COMP%]{color:#0d0d0d}"]}));let e=t;return e})();function Mhe(e,t){if(e&1&&(I(0,"mh-alert",0),H(1,"translate"),I(2,"div",1),B(3),H(4,"translate"),N()()),e&2){let n=V();X("alertTitle",W(1,2,"commons.errors.data-not-available-title")),D(3),Ee(W(4,4,"commons.errors."+n.error().code))}}var Phe=(()=>{const t=class t{constructor(){this.error=zt.required(),this.vidisErrorGroup=sn}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-status-message"]],inputs:{error:[1,"error"]},decls:1,vars:1,consts:[["usage","info",3,"alertTitle"],["alert-details",""]],template:function(i,a){i&1&&se(0,Mhe,5,6,"mh-alert",0),i&2&&oe(a.error().group===a.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[ba,Rhe],styles:["mat-card-header[_ngcontent-%COMP%]{color:#c41c0d}mat-card-header[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px}span[_ngcontent-%COMP%]{white-space:pre-line}"]});let e=t;return e})(),Fhe=["*"],Lhe=(e,t,n,i,a)=>({"custom-content":e,circle:t,progress:n,"progress-dark":i,pulse:a});function Vhe(e,t){e&1&&dt(0)}function zhe(e,t){if(e&1&&(I(0,"div",0),se(1,Vhe,1,0),N()),e&2){let n=V(),i=Zg(0),a=Zg(1);X("ngClass",Oie(5,Lhe,i==="custom-content",i==="circle",a==="progress",a==="progress-dark",a==="pulse"))("ngStyle",n.styles()),_e("aria-label",n.ariaLabel())("aria-valuetext",n.loadingText()),D(),oe(i==="custom-content"?1:-1)}}var OS=new $("ngx-skeleton-loader.config"),jhe=(()=>{var t;const n=class n{constructor(){Wf(this,t);var a,r,s,l,c,d;Kf(this,t,S(OS,{optional:!0})),this.count=zt(((a=Ja(this,t))==null?void 0:a.count)||1,{transform:on}),this.loadingText=zt(((r=Ja(this,t))==null?void 0:r.loadingText)||"Loading..."),this.appearance=zt(((s=Ja(this,t))==null?void 0:s.appearance)||"line"),this.animation=zt(((l=Ja(this,t))==null?void 0:l.animation)||"progress"),this.ariaLabel=zt(((c=Ja(this,t))==null?void 0:c.ariaLabel)||"loading"),this.theme=zt(((d=Ja(this,t))==null?void 0:d.theme)||null),this.items=ta(()=>{let u=this.count()||1;return this.appearance()==="custom-content"&&Yie(),[...Array(u)].map((p,v)=>v)}),this.styles=ta(()=>{var p,v,f;let u=this.theme();return(v=(p=Ja(this,t))==null?void 0:p.theme)!=null&&v.extendsFromRoot?Q(Q({},(f=Ja(this,t))==null?void 0:f.theme),u):u})}};t=new WeakMap,n.ɵfac=function(a){return new(a||n)},n.ɵcmp=Ce({type:n,selectors:[["ngx-skeleton-loader"]],inputs:{count:[1,"count"],loadingText:[1,"loadingText"],appearance:[1,"appearance"],animation:[1,"animation"],ariaLabel:[1,"ariaLabel"],theme:[1,"theme"]},ngContentSelectors:Fhe,decls:4,vars:2,consts:[["aria-busy","true","aria-valuemin","0","aria-valuemax","100","role","progressbar","tabindex","-1",1,"skeleton-loader",3,"ngClass","ngStyle"]],template:function(a,r){a&1&&(Fi(),Pm(0)(1),Mi(2,zhe,2,11,"div",0,va)),a&2&&(Kg(r.appearance()),D(),Kg(r.animation()),D(),Pi(r.items()))},dependencies:[Qs,Wae],styles:['.skeleton-loader[_ngcontent-%COMP%]{box-sizing:border-box;overflow:hidden;position:relative;background:#eff1f6 no-repeat;border-radius:4px;width:100%;height:20px;display:inline-block;margin-bottom:10px;will-change:transform}.skeleton-loader[_ngcontent-%COMP%]:after, .skeleton-loader[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.circle[_ngcontent-%COMP%]{width:40px;height:40px;margin:5px;border-radius:50%}.skeleton-loader.progress[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%]{transform:translateZ(0)}.skeleton-loader.progress[_ngcontent-%COMP%]:after, .skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:after, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{box-sizing:border-box}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_progress 2s ease-in-out infinite;background-size:200px 100%;position:absolute;z-index:1;top:0;left:0;width:200px;height:100%;content:""}.skeleton-loader.progress[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,#fff0,#fff9,#fff0)}.skeleton-loader.progress-dark[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,transparent,rgba(0,0,0,.2),transparent)}.skeleton-loader.pulse[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_pulse 1.5s cubic-bezier(.4,0,.2,1) infinite;animation-delay:.5s}.skeleton-loader.custom-content[_ngcontent-%COMP%]{height:100%;background:none}@media (prefers-reduced-motion: reduce){.skeleton-loader.pulse[_ngcontent-%COMP%], .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%], .skeleton-loader.progress[_ngcontent-%COMP%]:before{animation:none}.skeleton-loader.progress[_ngcontent-%COMP%]:before, .skeleton-loader.progress-dark[_ngcontent-%COMP%], .skeleton-loader.custom-content[_ngcontent-%COMP%]{background-image:none}}@media screen and (min-device-width: 1200px){.skeleton-loader[_ngcontent-%COMP%]{-webkit-user-select:none;user-select:none;cursor:wait}}@keyframes _ngcontent-%COMP%_progress{0%{transform:translate3d(-200px,0,0)}to{transform:translate3d(calc(200px + 100vw),0,0)}}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.4}to{opacity:1}}'],changeDetection:0});let e=n;return e})(),Bhe=(()=>{const t=class t{static forRoot(i){return{ngModule:t,providers:[{provide:OS,useValue:i}]}}};t.ɵfac=function(i){return new(i||t)},t.ɵmod=wt({type:t}),t.ɵinj=xt({imports:[w1]});let e=t;return e})(),Hhe=Dp(uK()),TS={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.blockfact.facti":["facti"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(TS);var $he=TS,NS={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/dicom":["dcm"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg","one","onea"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"application/zip+dotlottie":["lottie"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a","m4b"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime","mht","mhtml"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step":["step","stp","stpnc","p21","210"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(NS);var qhe=NS,Wi=function(e,t,n,i){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?i:n==="a"?i.call(e):i?i.value:t.get(e)},jr,Zo,er,Uhe=class{constructor(...e){jr.set(this,new Map),Zo.set(this,new Map),er.set(this,new Map);for(let t of e)this.define(t)}define(e,t=!1){for(let[n,i]of Object.entries(e)){n=n.toLowerCase(),i=i.map(s=>s.toLowerCase()),Wi(this,er,"f").has(n)||Wi(this,er,"f").set(n,new Set);let a=Wi(this,er,"f").get(n),r=!0;for(let s of i){let l=s.startsWith("*");if(s=l?s.slice(1):s,a==null||a.add(s),r&&Wi(this,Zo,"f").set(n,s),r=!1,l)continue;let c=Wi(this,jr,"f").get(s);if(c&&c!=n&&!t)throw new Error(`"${n} -> ${s}" conflicts with "${c} -> ${s}". Pass \`force=true\` to override this definition.`);Wi(this,jr,"f").set(s,n)}}return this}getType(e){if(typeof e!="string")return null;let t=e.replace(/^.*[/\\]/s,"").toLowerCase(),n=t.replace(/^.*\./s,"").toLowerCase(),i=t.length<e.length;return!(n.length<t.length-1)&&i?null:Wi(this,jr,"f").get(n)??null}getExtension(e){var t;return typeof e!="string"?null:(e=(t=e==null?void 0:e.split)==null?void 0:t.call(e,";")[0],(e&&Wi(this,Zo,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:Wi(this,er,"f").get(e.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(let e of Wi(this,er,"f").values())Object.freeze(e);return this}_getTestState(){return{types:Wi(this,jr,"f"),extensions:Wi(this,Zo,"f")}}};jr=new WeakMap,Zo=new WeakMap,er=new WeakMap;var Ghe=Uhe,RS=new Ghe(qhe,$he)._freeze(),_f=function(e){return e.author="author",e.date="date",e.role="role",e}(_f||{}),Zd=(()=>{const t=class t{setClientId(i){this.clientId=i}buildClientIdHeader(){return this.clientId&&new wr().set(eo.exchangeClientId,this.clientId)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Cs=(()=>{const t=class t extends lS{constructor(i,a){super(i.getServices(),ks.DIARY_NOTES,a.getInstance().isOfflineAuthenticated,a.getInstance().isOfflineDataStorageEnabled,ks.DIARY_NOTES),this.diarynoteApiService=S(Zd),this.snackbarService=S(hS),this.translate=S(Bn),this.authServiceSelector=S(Es),this.diarynotesStateSubject$=new tr({status:Pn.INITIAL}),this.filterStateSubject$=new tr({dateRange:{from:null,until:null}}),this.paginationStateSubject$=new tr({page:0,pageSize:10,totalPages:void 0}),this.sortStateSubject$=new tr({sort:_f.date,order:Kd.descending}),this.patientSubject$=new tr(void 0),this.diarynotesState$=this.diarynotesStateSubject$.asObservable(),this.filterState$=this.filterStateSubject$.asObservable(),this.paginationState$=this.paginationStateSubject$.asObservable(),this.sortState$=this.sortStateSubject$.asObservable()}setClientId(i){this.diarynoteApiService.setClientId(i)}fetchDiarynotes(i=!0){return Et(this,null,function*(){return Ece(this.getData(i),this.diarynotesStateSubject$)})}getDataFromBackend(){return Et(this,null,function*(){let i=yield this.authServiceSelector.getInstance().resolvePatientInfo(),a=this.authServiceSelector.getInstance().isProfessional?yield this.authServiceSelector.getInstance().resolveSsin():"";this.patientSubject$.next(i);let r=this.diarynoteApiService.search(this.filterStateSubject$.getValue(),this.paginationStateSubject$.getValue(),this.sortStateSubject$.getValue(),a);return iZ(r)})}static isDiaryNoteCompleted(i){return(i==null?void 0:i.toLowerCase())==="completed"}updatePagination(i){return Et(this,null,function*(){let a=this.paginationStateSubject$.getValue(),r=Qe(Q({},a),{page:(i==null?void 0:i.page)!==void 0?i.page:a.page,pageSize:(i==null?void 0:i.pageSize)||a.pageSize});this.paginationStateSubject$.next(r),yield this.fetchDiarynotes(!0)})}updateSorting(i){return Et(this,null,function*(){let a=this.sortStateSubject$.getValue(),r={sort:(i==null?void 0:i.sort)!==void 0?i.sort:a.sort,order:(i==null?void 0:i.order)||a.order};this.sortStateSubject$.next(r),yield this.fetchDiarynotes(!0)})}updateFilter(i){return Et(this,null,function*(){this.filterStateSubject$.next(i);let a=this.paginationStateSubject$.getValue();this.paginationStateSubject$.next(Qe(Q({},a),{page:void 0})),yield this.fetchDiarynotes(!0)})}clearFilter(){return Et(this,null,function*(){this.filterStateSubject$.next({dateRange:{from:null,until:null},author:"",role:"",tags:[]}),yield this.fetchDiarynotes(!0)})}clearFilterByKey(i){return Et(this,null,function*(){let a=this.filterStateSubject$.getValue(),r;i==="range"?r=Qe(Q({},a),{dateRange:{from:null,until:null}}):r=Qe(Q({},a),{[i]:void 0}),this.filterStateSubject$.next(r),yield this.fetchDiarynotes(!0)})}downloadSpecificDiaryNoteAttachment(i,a,r,s,l){this.diarynoteApiService.fetchSpecificDiaryNote(i,a,r,s).subscribe({next:c=>{var u,p;let d=c.attachments[l];if(d)if(d.url)window.open(d.url,"_blank");else{let v=d.contentType||"text/plain",f=this.getAttachmentFileName(l,v),x=this.b64toBlob(d.data,v);(0,Hhe.saveAs)(x,f)}else{let v;switch((p=(u=c.note)==null?void 0:u.error)==null?void 0:p.code){case"VIDIS_1000":case"VIDIS_1005":v="diaryNotesPage.add-note-error."+c.note.error.code;break;default:v="commons.errors.general";break}this.snackbarService.showError(v)}},error:()=>{this.snackbarService.showError("commons.errors.general")}})}b64toBlob(i,a="",r=512){let s=atob(i),l=[];for(let c=0;c<s.length;c+=r){let d=s.slice(c,c+r),u=new Array(d.length);for(let v=0;v<d.length;v++)u[v]=d.charCodeAt(v);let p=new Uint8Array(u);l.push(p)}return new Blob(l,{type:a})}getAttachmentFileName(i,a){let r=a?RS.getExtension(a):"unknown";return this.translate.instant("commons.file")+"_"+(i+1)+"."+r}postDiarynote(i,a){this.diarynoteApiService.postDiaryNote(i,a,this.patientSubject$.getValue(),this.translate.currentLang).subscribe({next:()=>{this.fetchDiarynotes(!0).catch(r=>{console.error("Error fetching diary note:",r)})},error:r=>{console.error("Error posting diary note:",r),this.handleDiaryNoteError(r)}})}handleDiaryNoteError(i){let a="diaryNotesPage.add-note-error.default";["VIDIS_0410","VIDIS_0415","VIDIS_0420","VIDIS_0425","VIDIS_1005","VIDIS_1000"].includes(i==null?void 0:i.code)&&(a="diaryNotesPage.add-note-error."+i.code),this.snackbarService.showError(a)}deleteDiaryNote(i,a,r,s){this.diarynoteApiService.deleteDiaryNote(i,a,r,s).subscribe({next:l=>{var d,u;let c=this.diarynotesStateSubject$.getValue();if(l.statusCode===204){let p=((d=c.data)==null?void 0:d.items.filter(v=>v.id!==i))||[];this.diarynotesStateSubject$.next(Qe(Q({},c),{data:Qe(Q({},c.data),{items:p}),status:Pn.SUCCESS}))}else{let p=((u=c.data)==null?void 0:u.items.map(v=>v.id===l.diaryNote.note.id?l.diaryNote.note:v))||[];this.diarynotesStateSubject$.next(Qe(Q({},c),{data:Qe(Q({},c.data),{items:p}),status:Pn.SUCCESS}))}this.updateStoredData(this.diarynotesStateSubject$.getValue().data)},error:l=>{var c;this.snackbarService.showError(((c=l.error)==null?void 0:c.code)==="VIDIS_0500"?"commons.errors.general":"commons.errors.VIDIS_0400")}})}};t.ɵfac=function(i){return new(i||t)(pe(Wd),pe(Es))},t.ɵprov=q({token:t,factory:t.ɵfac});let e=t;return e})(),MS=(()=>{const t=class t extends Zd{constructor(){super(...arguments),this.http=S(Js)}search(i,a,r,s){let l={};return s&&(l.ssin=s),i.dateRange.from&&(l.fromDate=Xc(i.dateRange.from,"yyyy-MM-dd")),i.dateRange.until&&(l.toDate=Xc(i.dateRange.until,"yyyy-MM-dd")),i.role&&(l.roles=[i.role]),i.tags&&(l.tags=i.tags),i.author&&(l.authors=[i.author]),r.sort&&(l.sort=_f[r.sort]),r.order===Kd.ascending&&(l.sortDirection="ascending"),a.page&&(l.page=a.page),a.pageSize&&(l.pageSize=a.pageSize),this.http.get("/v1/mydiarynotes",{params:Q({},l),headers:this.buildClientIdHeader()})}fetchSpecificDiaryNote(i,a,r,s){return this.http.get(`/v1/diarynotes/${i}`,{params:{patientSsin:s,source:r??"vitalink",version:a},headers:this.buildClientIdHeader()}).pipe(Bp(l=>(console.error("Error fetching diary note with attachement:",l),qb(()=>l))))}postDiaryNote(i,a,r,s){return this.http.post("/v1/diarynotes",this.buildFormData(i,a,r,s),{headers:this.buildClientIdHeader()})}deleteDiaryNote(i,a,r,s){return this.http.delete(`/v1/diarynotes/${i}`,{params:{version:a,source:r??"vitalink",patientSsin:s},observe:"response",headers:this.buildClientIdHeader()}).pipe(Dt(l=>({diaryNote:l.body,statusCode:l.status})))}buildFormData(i,a,r,s){let l=new FormData,c={language:s,subject:{firstName:r.firstName,lastName:r.lastName,ssin:r.ssin},content:i,contentType:"plaintext"};return l.append("attachments",a),l.append("diaryNote",new Blob([JSON.stringify(c)],{type:"application/json"})),l}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Yhe={items:[{language:"fr",id:"7530f63b-7e82-4884-8ddd-fa137e0a9b42",creation:"2021-02-10T15:38:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"Mickey",lastName:"Mouse",nihdi:"10000000004",role:"persphysician"},subject:{ssin:"00000000097",firstName:"John",lastName:"Doe"},content:"Ce matin, après la prise de son médicament, le patient avait le ventre gonflé",contentType:"plaintext",attachments:[],tags:["medication"]},{language:"fr",id:"7a82de0a-ab8e-4985-bb3d-6aed1c8e7894",creation:"2020-12-31T15:38:16.176194+02:00",version:1,source:"vitalink",status:"deleted",author:{firstName:"Mickey",lastName:"Mouse",nihdi:"10000000004",role:"persphysician"},subject:{ssin:"00000000097",firstName:"John",lastName:"Doe"},content:"<strike>Ceci est une note supprimée</strike>",contentType:"html",attachments:[],tags:[]},{language:"nl",id:"b394a649-c91c-4088-a2d1-45e2f54cf071",creation:"2018-04-13T15:38:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"Goof",lastName:"Goofy",ssin:"12345678902",nihdi:"20000000001",role:"perspharmacist"},subject:{ssin:"00000000097",firstName:"John",lastName:"Doe"},content:"Inhoud van het journaal item, in Vitalink beperkt tot maximaal 320 karakters.",contentType:"plaintext",attachments:[],tags:[]}],availableFilters:{authors:["Mickey Mouse","Goof Goofy"],roles:["pharmacist","physician"],tags:["medication"]},errors:[],page:0,totalItems:3,totalPages:1},PS={note:{language:"nl",id:"7530f63b-7e82-4884-8ddd-fa137e0a9b42",creation:"2021-03-10T15:38:16.176194+02:00",version:1,source:"vitalink",status:"completed",author:{firstName:"Nadia",lastName:"Hassan",ssin:"82012419934",nihdi:"10025840123",role:"persorthopedist"},subject:{ssin:"80120532330",firstName:"Benjamin",lastName:"Van Rietvelde"},content:"Fis parturient montes, nascetur ridiculus mus. Donec quam felis... (demo)",contentType:"plaintext",tags:[]},attachments:[]},Whe={diaryNote:PS,statusCode:200},FS=(()=>{const t=class t extends Zd{constructor(){super(...arguments),this.demoService=S(kce)}search(i,a,r,s){return this.demoService.get("/v1/mydiarynotes",Yhe,this.buildClientIdHeader())}fetchSpecificDiaryNote(i,a,r,s){return this.demoService.get(`/v1/diarynotes/${i}`,PS,this.buildClientIdHeader())}postDiaryNote(i,a,r,s){return this.demoService.post("/v1/diarynotes",{},this.buildClientIdHeader())}deleteDiaryNote(i,a,r,s){return this.demoService.delete(`/v1/diarynotes/${i}`,Whe,this.buildClientIdHeader())}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Khe=(e,t)=>e.getEnvironmentVariable("env")===Sn.DEMO?t.get(FS):t.get(MS),Zhe={provide:Zd,useFactory:Khe,deps:[Do,lt]},Xhe=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],Qhe=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"];function Jhe(e,t){e&1&&(I(0,"span",3),dt(1,1),N())}function epe(e,t){e&1&&(I(0,"span",6),dt(1,2),N())}var tpe=["*"],ipe=new $("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),Ny=new $("MatChipAvatar"),Ry=new $("MatChipTrailingIcon"),fp=new $("MatChipRemove"),LS=new $("MatChip"),gp=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_parentChip",S(LS));o(this,"isInteractive",!0);o(this,"_isPrimary",!0);o(this,"_disabled",!1);o(this,"tabIndex",-1);o(this,"_allowFocusWhenDisabled",!1);S(Li).load(nl),this._elementRef.nativeElement.nodeName==="BUTTON"&&this._elementRef.nativeElement.setAttribute("type","button")}get disabled(){var i;return this._disabled||((i=this._parentChip)==null?void 0:i.disabled)||!1}set disabled(i){this._disabled=i}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}focus(){this._elementRef.nativeElement.focus()}_handleClick(i){!this.disabled&&this.isInteractive&&this._isPrimary&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(i){(i.keyCode===13||i.keyCode===32)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(i.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(i,a){i&1&&de("click",function(r){return a._handleClick(r)})("keydown",function(r){return a._handleKeydown(r)}),i&2&&(_e("tabindex",a._getTabindex())("disabled",a._getDisabledAttribute())("aria-disabled",a.disabled),We("mdc-evolution-chip__action--primary",a._isPrimary)("mdc-evolution-chip__action--presentational",!a.isInteractive)("mdc-evolution-chip__action--trailing",!a._isPrimary))},inputs:{isInteractive:"isInteractive",disabled:[2,"disabled","disabled",qe],tabIndex:[2,"tabIndex","tabIndex",i=>i==null?-1:on(i)],_allowFocusWhenDisabled:"_allowFocusWhenDisabled"}}));let e=t;return e})(),VS=(()=>{const t=class t extends gp{constructor(){super(...arguments);o(this,"_isPrimary",!1)}_handleClick(a){this.disabled||(a.stopPropagation(),a.preventDefault(),this._parentChip.remove())}_handleKeydown(a){(a.keyCode===13||a.keyCode===32)&&!this.disabled&&(a.stopPropagation(),a.preventDefault(),this._parentChip.remove())}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Qt(t)))(r||t)}})()),o(t,"ɵdir",Se({type:t,selectors:[["","matChipRemove",""]],hostAttrs:["role","button",1,"mat-mdc-chip-remove","mat-mdc-chip-trailing-icon","mat-focus-indicator","mdc-evolution-chip__icon","mdc-evolution-chip__icon--trailing"],hostVars:1,hostBindings:function(a,r){a&2&&_e("aria-hidden",null)},features:[bi([{provide:fp,useExisting:t}]),Pt]}));let e=t;return e})(),Xd=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",S($t));o(this,"_elementRef",S(ze));o(this,"_ngZone",S(Ne));o(this,"_focusMonitor",S(al));o(this,"_globalRippleOptions",S(Um,{optional:!0}));o(this,"_document",S(et));o(this,"_onFocus",new le);o(this,"_onBlur",new le);o(this,"_isBasicChip");o(this,"role",null);o(this,"_hasFocusInternal",!1);o(this,"_pendingFocus");o(this,"_actionChanges");o(this,"_animationsDisabled");o(this,"_allLeadingIcons");o(this,"_allTrailingIcons");o(this,"_allRemoveIcons");o(this,"id",S(_i).getId("mat-mdc-chip-"));o(this,"ariaLabel",null);o(this,"ariaDescription",null);o(this,"_ariaDescriptionId",`${this.id}-aria-description`);o(this,"_chipListDisabled",!1);o(this,"_textElement");o(this,"_value");o(this,"color");o(this,"removable",!0);o(this,"highlighted",!1);o(this,"disableRipple",!1);o(this,"_disabled",!1);o(this,"removed",new ce);o(this,"destroyed",new ce);o(this,"basicChipAttrName","mat-basic-chip");o(this,"leadingIcon");o(this,"trailingIcon");o(this,"removeIcon");o(this,"primaryAction");o(this,"_rippleLoader",S(mw));o(this,"_injector",S(lt));var r;let i=S(Li);i.load(nl),i.load(Ir);let a=S(Ui,{optional:!0});this._animationsDisabled=a==="NoopAnimations",this._monitorFocus(),(r=this._rippleLoader)==null||r.configureRipple(this._elementRef.nativeElement,{className:"mat-mdc-chip-ripple",disabled:this._isRippleDisabled()})}_hasFocus(){return this._hasFocusInternal}get value(){return this._value!==void 0?this._value:this._textElement.textContent.trim()}set value(i){this._value=i}get disabled(){return this._disabled||this._chipListDisabled}set disabled(i){this._disabled=i}ngOnInit(){let i=this._elementRef.nativeElement;this._isBasicChip=i.hasAttribute(this.basicChipAttrName)||i.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=Xi(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngDoCheck(){this._rippleLoader.setDisabled(this._elementRef.nativeElement,this._isRippleDisabled())}ngOnDestroy(){var i,a;this._focusMonitor.stopMonitoring(this._elementRef),(i=this._rippleLoader)==null||i.destroyRipple(this._elementRef.nativeElement),(a=this._actionChanges)==null||a.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){var i;return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!((i=this._globalRippleOptions)!=null&&i.disabled)}_hasTrailingIcon(){return!!(this.trailingIcon||this.removeIcon)}_handleKeydown(i){(i.keyCode===8&&!i.repeat||i.keyCode===46)&&(i.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(i){return this._getActions().find(a=>{let r=a._elementRef.nativeElement;return r===i||r.contains(i)})}_getActions(){let i=[];return this.primaryAction&&i.push(this.primaryAction),this.removeIcon&&i.push(this.removeIcon),this.trailingIcon&&i.push(this.trailingIcon),i}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(i=>{let a=i!==null;a!==this._hasFocusInternal&&(this._hasFocusInternal=a,a?this._onFocus.next({chip:this}):(this._changeDetectorRef.markForCheck(),setTimeout(()=>this._ngZone.run(()=>this._onBlur.next({chip:this})))))})}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(i,a,r){if(i&1&&(pi(r,Ny,5),pi(r,Ry,5),pi(r,fp,5),pi(r,Ny,5),pi(r,Ry,5),pi(r,fp,5)),i&2){let s;Pe(s=Fe())&&(a.leadingIcon=s.first),Pe(s=Fe())&&(a.trailingIcon=s.first),Pe(s=Fe())&&(a.removeIcon=s.first),Pe(s=Fe())&&(a._allLeadingIcons=s),Pe(s=Fe())&&(a._allTrailingIcons=s),Pe(s=Fe())&&(a._allRemoveIcons=s)}},viewQuery:function(i,a){if(i&1&&mt(gp,5),i&2){let r;Pe(r=Fe())&&(a.primaryAction=r.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:31,hostBindings:function(i,a){i&1&&de("keydown",function(r){return a._handleKeydown(r)}),i&2&&(vn("id",a.id),_e("role",a.role)("aria-label",a.ariaLabel),br("mat-"+(a.color||"primary")),We("mdc-evolution-chip",!a._isBasicChip)("mdc-evolution-chip--disabled",a.disabled)("mdc-evolution-chip--with-trailing-action",a._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",a.leadingIcon)("mdc-evolution-chip--with-primary-icon",a.leadingIcon)("mdc-evolution-chip--with-avatar",a.leadingIcon)("mat-mdc-chip-with-avatar",a.leadingIcon)("mat-mdc-chip-highlighted",a.highlighted)("mat-mdc-chip-disabled",a.disabled)("mat-mdc-basic-chip",a._isBasicChip)("mat-mdc-standard-chip",!a._isBasicChip)("mat-mdc-chip-with-trailing-icon",a._hasTrailingIcon())("_mat-animation-noopable",a._animationsDisabled))},inputs:{role:"role",id:"id",ariaLabel:[0,"aria-label","ariaLabel"],ariaDescription:[0,"aria-description","ariaDescription"],value:"value",color:"color",removable:[2,"removable","removable",qe],highlighted:[2,"highlighted","highlighted",qe],disableRipple:[2,"disableRipple","disableRipple",qe],disabled:[2,"disabled","disabled",qe]},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[bi([{provide:LS,useExisting:t}])],ngContentSelectors:Qhe,decls:8,vars:3,consts:[[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-focus-indicator"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(i,a){i&1&&(Fi(Xhe),he(0,"span",0),I(1,"span",1)(2,"span",2),se(3,Jhe,2,0,"span",3),I(4,"span",4),dt(5),he(6,"span",5),N()()(),se(7,epe,2,0,"span",6)),i&2&&(D(2),X("isInteractive",!1),D(),oe(a.leadingIcon?3:-1),D(4),oe(a._hasTrailingIcon()?7:-1))},dependencies:[gp],styles:[`.mdc-evolution-chip,.mdc-evolution-chip__cell,.mdc-evolution-chip__action{display:inline-flex;align-items:center}.mdc-evolution-chip{position:relative;max-width:100%}.mdc-evolution-chip__cell,.mdc-evolution-chip__action{height:100%}.mdc-evolution-chip__cell--primary{flex-basis:100%;overflow-x:hidden}.mdc-evolution-chip__cell--trailing{flex:1 0 auto}.mdc-evolution-chip__action{align-items:center;background:none;border:none;box-sizing:content-box;cursor:pointer;display:inline-flex;justify-content:center;outline:none;padding:0;text-decoration:none;color:inherit}.mdc-evolution-chip__action--presentational{cursor:auto}.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{pointer-events:none}@media(forced-colors: active){.mdc-evolution-chip--disabled,.mdc-evolution-chip__action:disabled{forced-color-adjust:none}}.mdc-evolution-chip__action--primary{font:inherit;letter-spacing:inherit;white-space:inherit;overflow-x:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-outline-width, 1px);border-radius:var(--mdc-chip-container-shape-radius, 8px);box-sizing:border-box;content:"";height:100%;left:0;position:absolute;pointer-events:none;top:0;width:100%;z-index:1;border-style:solid}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-outline-color, var(--mat-sys-outline))}.mdc-evolution-chip__action--primary:not(.mdc-evolution-chip__action--presentational):not(.mdc-ripple-upgraded):focus::before{border-color:var(--mdc-chip-focus-outline-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--primary::before{border-color:var(--mdc-chip-disabled-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary::before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:0;padding-right:12px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__action--primary{padding-left:12px;padding-right:0}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--primary{padding-left:0;padding-right:0}.mdc-evolution-chip__action--trailing{position:relative;overflow:visible}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__action--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-standard-chip.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__action--trailing{padding-left:8px;padding-right:8px}.mdc-evolution-chip__text-label{-webkit-user-select:none;user-select:none;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mat-mdc-standard-chip .mdc-evolution-chip__text-label{font-family:var(--mdc-chip-label-text-font, var(--mat-sys-label-large-font));line-height:var(--mdc-chip-label-text-line-height, var(--mat-sys-label-large-line-height));font-size:var(--mdc-chip-label-text-size, var(--mat-sys-label-large-size));font-weight:var(--mdc-chip-label-text-weight, var(--mat-sys-label-large-weight));letter-spacing:var(--mdc-chip-label-text-tracking, var(--mat-sys-label-large-tracking))}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label,.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mdc-evolution-chip__graphic{align-items:center;display:inline-flex;justify-content:center;overflow:hidden;pointer-events:none;position:relative;flex:1 0 auto}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{width:var(--mdc-chip-with-avatar-avatar-size, 24px);height:var(--mdc-chip-with-avatar-avatar-size, 24px);font-size:var(--mdc-chip-with-avatar-avatar-size, 24px)}.mdc-evolution-chip--selecting .mdc-evolution-chip__graphic{transition:width 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--selected):not(.mdc-evolution-chip--with-primary-icon) .mdc-evolution-chip__graphic{width:0}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mat-mdc-standard-chip.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:6px;padding-right:6px}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:4px;padding-right:8px}[dir=rtl] .mdc-evolution-chip--with-avatar.mdc-evolution-chip--with-primary-graphic.mdc-evolution-chip--with-trailing-action .mdc-evolution-chip__graphic{padding-left:8px;padding-right:4px}.mdc-evolution-chip__checkmark{position:absolute;opacity:0;top:50%;left:50%;height:20px;width:20px}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark{transition:transform 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1);transform:translate(-75%, -50%)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{transform:translate(-50%, -50%);opacity:1}.mdc-evolution-chip__checkmark-svg{display:block}.mdc-evolution-chip__checkmark-path{stroke-width:2px;stroke-dasharray:29.7833385;stroke-dashoffset:29.7833385;stroke:currentColor}.mdc-evolution-chip--selecting .mdc-evolution-chip__checkmark-path{transition:stroke-dashoffset 150ms 45ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark-path{stroke-dashoffset:0}@media(forced-colors: active){.mdc-evolution-chip__checkmark-path{stroke:CanvasText !important}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--trailing{height:18px;width:18px;font-size:18px}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove{opacity:calc(var(--mat-chip-trailing-action-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing.mat-mdc-chip-remove:focus{opacity:calc(var(--mat-chip-trailing-action-focus-opacity, 1)*var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38))}.mat-mdc-standard-chip{border-radius:var(--mdc-chip-container-shape-radius, 8px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color)}.mat-mdc-standard-chip.mdc-evolution-chip--selected:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-flat-disabled-selected-container-color, color-mix(in srgb, var(--mat-sys-on-surface) 12%, transparent))}@media(forced-colors: active){.mat-mdc-standard-chip{outline:solid 1px}}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 24px);width:var(--mdc-chip-with-icon-icon-size, 18px);height:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mdc-evolution-chip--selected .mdc-evolution-chip__icon--primary{opacity:0}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, var(--mat-sys-on-surface-variant))}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-highlighted{--mdc-chip-with-icon-icon-color:var(--mdc-chip-with-icon-selected-icon-color, var(--mat-sys-on-secondary-container));--mdc-chip-elevated-container-color:var(--mdc-chip-elevated-selected-container-color, var(--mat-sys-secondary-container));--mdc-chip-label-text-color:var(--mdc-chip-selected-label-text-color, var(--mat-sys-on-secondary-container));--mdc-chip-outline-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-selected .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-hover-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-focus-overlay .mat-mdc-chip-selected:hover,.mat-mdc-chip-highlighted:hover .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-hover-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-focus-state-layer-color, var(--mat-sys-on-surface-variant));opacity:var(--mdc-chip-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected.cdk-focused .mat-mdc-chip-focus-overlay,.mat-mdc-chip-highlighted.cdk-focused .mat-mdc-chip-focus-overlay{background:var(--mdc-chip-selected-focus-state-layer-color, var(--mat-sys-on-secondary-container));opacity:var(--mdc-chip-selected-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mdc-evolution-chip--disabled:not(.mdc-evolution-chip--selected) .mat-mdc-chip-avatar{opacity:var(--mdc-chip-with-avatar-disabled-avatar-opacity, 0.38)}.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{opacity:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-opacity, 0.38)}.mdc-evolution-chip--disabled.mdc-evolution-chip--selected .mdc-evolution-chip__checkmark{opacity:var(--mdc-chip-with-icon-disabled-icon-opacity, 0.38)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{opacity:var(--mat-chip-disabled-container-opacity, 1)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-trailing-icon-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip.mdc-evolution-chip--selected.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing,.mat-mdc-standard-chip.mat-mdc-chip-highlighted.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mat-chip-selected-disabled-trailing-icon-color, var(--mat-sys-on-surface))}.mat-mdc-chip-remove{opacity:var(--mat-chip-trailing-action-opacity, 1)}.mat-mdc-chip-remove:focus{opacity:var(--mat-chip-trailing-action-focus-opacity, 1)}.mat-mdc-chip-remove::after{background-color:var(--mat-chip-trailing-action-state-layer-color, var(--mat-sys-on-surface-variant))}.mat-mdc-chip-remove:hover::after{opacity:var(--mat-chip-trailing-action-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity))}.mat-mdc-chip-remove:focus::after{opacity:var(--mat-chip-trailing-action-focus-state-layer-opacity, var(--mat-sys-focus-state-layer-opacity))}.mat-mdc-chip-selected .mat-mdc-chip-remove::after,.mat-mdc-chip-highlighted .mat-mdc-chip-remove::after{background-color:var(--mat-chip-selected-trailing-action-state-layer-color, var(--mat-sys-on-secondary-container))}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-standard-chip .mdc-evolution-chip__cell--primary,.mat-mdc-standard-chip .mdc-evolution-chip__action--primary,.mat-mdc-standard-chip .mat-mdc-chip-action-label{overflow:visible}.mat-mdc-standard-chip .mat-mdc-chip-graphic,.mat-mdc-standard-chip .mat-mdc-chip-trailing-icon{box-sizing:content-box}.mat-mdc-standard-chip._mat-animation-noopable,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__graphic,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark,.mat-mdc-standard-chip._mat-animation-noopable .mdc-evolution-chip__checkmark-path{transition-duration:1ms;animation-duration:1ms}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip .mat-ripple.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-focus-indicator::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.mat-mdc-chip-remove::before{margin:calc(var(--mat-focus-indicator-border-width, 3px)*-1);left:8px;right:8px}.mat-mdc-chip-remove::after{content:"";display:block;opacity:0;position:absolute;top:-3px;bottom:-3px;left:5px;right:5px;border-radius:50%;box-sizing:border-box;padding:12px;margin:-12px;background-clip:content-box}.mat-mdc-chip-remove .mat-icon{width:18px;height:18px;font-size:18px;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}@media(forced-colors: active){.mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}}.mat-mdc-chip-action:focus .mat-focus-indicator::before{content:""}.mdc-evolution-chip__icon,.mat-mdc-chip-remove .mat-icon{min-height:fit-content}
|
|
43
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),ape=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_changeDetectorRef",S($t));o(this,"_dir",S($i,{optional:!0}));o(this,"_lastDestroyedFocusedChipIndex",null);o(this,"_keyManager");o(this,"_destroyed",new le);o(this,"_defaultRole","presentation");o(this,"_disabled",!1);o(this,"tabIndex",0);o(this,"_explicitRole",null);o(this,"_chips");o(this,"_chipActions",new Oc)}get chipFocusChanges(){return this._getChipStream(i=>i._onFocus)}get chipDestroyedChanges(){return this._getChipStream(i=>i.destroyed)}get chipRemovedChanges(){return this._getChipStream(i=>i.removed)}get disabled(){return this._disabled}set disabled(i){this._disabled=i,this._syncChipsState()}get empty(){return!this._chips||this._chips.length===0}get role(){return this._explicitRole?this._explicitRole:this.empty?null:this._defaultRole}set role(i){this._explicitRole=i}get focused(){return this._hasFocusedChip()}ngAfterViewInit(){this._setUpFocusManagement(),this._trackChipSetChanges(),this._trackDestroyedFocusedChip()}ngOnDestroy(){var i;(i=this._keyManager)==null||i.destroy(),this._chipActions.destroy(),this._destroyed.next(),this._destroyed.complete()}_hasFocusedChip(){return this._chips&&this._chips.some(i=>i._hasFocus())}_syncChipsState(){var i;(i=this._chips)==null||i.forEach(a=>{a._chipListDisabled=this._disabled,a._changeDetectorRef.markForCheck()})}focus(){}_handleKeydown(i){this._originatesFromChip(i)&&this._keyManager.onKeydown(i)}_isValidIndex(i){return i>=0&&i<this._chips.length}_allowFocusEscape(){let i=this._elementRef.nativeElement.tabIndex;i!==-1&&(this._elementRef.nativeElement.tabIndex=-1,setTimeout(()=>this._elementRef.nativeElement.tabIndex=i))}_getChipStream(i){return this._chips.changes.pipe(Qi(null),cr(()=>Xi(...this._chips.map(i))))}_originatesFromChip(i){let a=i.target;for(;a&&a!==this._elementRef.nativeElement;){if(a.classList.contains("mat-mdc-chip"))return!0;a=a.parentElement}return!1}_setUpFocusManagement(){var i;this._chips.changes.pipe(Qi(this._chips)).subscribe(a=>{let r=[];a.forEach(s=>s._getActions().forEach(l=>r.push(l))),this._chipActions.reset(r),this._chipActions.notifyOnChanges()}),this._keyManager=new Zre(this._chipActions).withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr").withHomeAndEnd().skipPredicate(a=>this._skipPredicate(a)),this.chipFocusChanges.pipe(Ct(this._destroyed)).subscribe(({chip:a})=>{let r=a._getSourceAction(document.activeElement);r&&this._keyManager.updateActiveItem(r)}),(i=this._dir)==null||i.change.pipe(Ct(this._destroyed)).subscribe(a=>this._keyManager.withHorizontalOrientation(a))}_skipPredicate(i){return!i.isInteractive||i.disabled}_trackChipSetChanges(){this._chips.changes.pipe(Qi(null),Ct(this._destroyed)).subscribe(()=>{this.disabled&&Promise.resolve().then(()=>this._syncChipsState()),this._redirectDestroyedChipFocus()})}_trackDestroyedFocusedChip(){this.chipDestroyedChanges.pipe(Ct(this._destroyed)).subscribe(i=>{let a=this._chips.toArray().indexOf(i.chip);this._isValidIndex(a)&&i.chip._hasFocus()&&(this._lastDestroyedFocusedChipIndex=a)})}_redirectDestroyedChipFocus(){if(this._lastDestroyedFocusedChipIndex!=null){if(this._chips.length){let i=Math.min(this._lastDestroyedFocusedChipIndex,this._chips.length-1),a=this._chips.toArray()[i];a.disabled?this._chips.length===1?this.focus():this._keyManager.setPreviousItemActive():a.focus()}else this.focus();this._lastDestroyedFocusedChipIndex=null}}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-chip-set"]],contentQueries:function(i,a,r){if(i&1&&pi(r,Xd,5),i&2){let s;Pe(s=Fe())&&(a._chips=s)}},hostAttrs:[1,"mat-mdc-chip-set","mdc-evolution-chip-set"],hostVars:1,hostBindings:function(i,a){i&1&&de("keydown",function(r){return a._handleKeydown(r)}),i&2&&_e("role",a.role)},inputs:{disabled:[2,"disabled","disabled",qe],role:"role",tabIndex:[2,"tabIndex","tabIndex",i=>i==null?0:on(i)]},ngContentSelectors:tpe,decls:2,vars:0,consts:[["role","presentation",1,"mdc-evolution-chip-set__chips"]],template:function(i,a){i&1&&(Fi(),I(0,"div",0),dt(1),N())},styles:[`.mat-mdc-chip-set{display:flex}.mat-mdc-chip-set:focus{outline:none}.mat-mdc-chip-set .mdc-evolution-chip-set__chips{min-width:100%;margin-left:-8px;margin-right:0}.mat-mdc-chip-set .mdc-evolution-chip{margin:4px 0 4px 8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip-set__chips{margin-left:0;margin-right:-8px}[dir=rtl] .mat-mdc-chip-set .mdc-evolution-chip{margin-left:0;margin-right:8px}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mat-mdc-chip-set-stacked{flex-direction:column;align-items:flex-start}.mat-mdc-chip-set-stacked .mat-mdc-chip{width:100%}.mat-mdc-chip-set-stacked .mdc-evolution-chip__graphic{flex-grow:0}.mat-mdc-chip-set-stacked .mdc-evolution-chip__action--primary{flex-basis:100%;justify-content:start}input.mat-mdc-chip-input{flex:1 0 150px;margin-left:8px}[dir=rtl] input.mat-mdc-chip-input{margin-left:0;margin-right:8px}
|
|
44
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),npe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",wt({type:t})),o(t,"ɵinj",xt({providers:[mf,{provide:ipe,useValue:{separatorKeyCodes:[13]}}],imports:[ai,Gm,ai]}));let e=t;return e})(),rpe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-text-field-style-loader",""],decls:0,vars:0,template:function(i,a){},styles:[`textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0 !important;box-sizing:content-box !important;height:auto !important;overflow:hidden !important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0 !important;box-sizing:content-box !important;height:0 !important}@keyframes cdk-text-field-autofill-start{/*!*/}@keyframes cdk-text-field-autofill-end{/*!*/}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}
|
|
45
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),ope={passive:!0},spe=(()=>{const t=class t{constructor(){o(this,"_platform",S(qt));o(this,"_ngZone",S(Ne));o(this,"_renderer",S(aa).createRenderer(null,null));o(this,"_styleLoader",S(Li));o(this,"_monitoredElements",new Map)}monitor(i){if(!this._platform.isBrowser)return Lp;this._styleLoader.load(rpe);let a=Mn(i),r=this._monitoredElements.get(a);if(r)return r.subject;let s=new le,l="cdk-text-field-autofilled",c=u=>{u.animationName==="cdk-text-field-autofill-start"&&!a.classList.contains(l)?(a.classList.add(l),this._ngZone.run(()=>s.next({target:u.target,isAutofilled:!0}))):u.animationName==="cdk-text-field-autofill-end"&&a.classList.contains(l)&&(a.classList.remove(l),this._ngZone.run(()=>s.next({target:u.target,isAutofilled:!1})))},d=this._ngZone.runOutsideAngular(()=>(a.classList.add("cdk-text-field-autofill-monitored"),hi(this._renderer,a,"animationstart",c,ope)));return this._monitoredElements.set(a,{subject:s,unlisten:d}),s}stopMonitoring(i){let a=Mn(i),r=this._monitoredElements.get(a);r&&(r.unlisten(),r.subject.complete(),a.classList.remove("cdk-text-field-autofill-monitored"),a.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(a))}ngOnDestroy(){this._monitoredElements.forEach((i,a)=>this.stopMonitoring(a))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),lpe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",wt({type:t})),o(t,"ɵinj",xt({}));let e=t;return e})(),zS=new $("MAT_INPUT_VALUE_ACCESSOR"),cpe=["button","checkbox","file","hidden","image","radio","range","reset","submit"],dpe=new $("MAT_INPUT_CONFIG"),jS=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_platform",S(qt));o(this,"ngControl",S(ul,{optional:!0,self:!0}));o(this,"_autofillMonitor",S(spe));o(this,"_ngZone",S(Ne));o(this,"_formField",S(Bd,{optional:!0}));o(this,"_renderer",S(na));o(this,"_uid",S(_i).getId("mat-input-"));o(this,"_previousNativeValue");o(this,"_inputValueAccessor");o(this,"_signalBasedValueAccessor");o(this,"_previousPlaceholder");o(this,"_errorStateTracker");o(this,"_config",S(dpe,{optional:!0}));o(this,"_cleanupIosKeyup");o(this,"_cleanupWebkitWheel");o(this,"_formFieldDescribedBy");o(this,"_isServer");o(this,"_isNativeSelect");o(this,"_isTextarea");o(this,"_isInFormField");o(this,"focused",!1);o(this,"stateChanges",new le);o(this,"controlType","mat-input");o(this,"autofilled",!1);o(this,"_disabled",!1);o(this,"_id");o(this,"placeholder");o(this,"name");o(this,"_required");o(this,"_type","text");o(this,"userAriaDescribedBy");o(this,"_readonly",!1);o(this,"disabledInteractive");o(this,"_neverEmptyInputTypes",["date","datetime","datetime-local","month","time","week"].filter(i=>Cv().has(i)));o(this,"_iOSKeyupListener",i=>{let a=i.target;!a.value&&a.selectionStart===0&&a.selectionEnd===0&&(a.setSelectionRange(1,1),a.setSelectionRange(0,0))});o(this,"_webkitBlinkWheelListener",()=>{});var d;let i=S(Gd,{optional:!0}),a=S(pf,{optional:!0}),r=S(mf),s=S(zS,{optional:!0,self:!0}),l=this._elementRef.nativeElement,c=l.nodeName.toLowerCase();s?ms(s.value)?this._signalBasedValueAccessor=s:this._inputValueAccessor=s:this._inputValueAccessor=l,this._previousNativeValue=this.value,this.id=this.id,this._platform.IOS&&this._ngZone.runOutsideAngular(()=>{this._cleanupIosKeyup=this._renderer.listen(l,"keyup",this._iOSKeyupListener)}),this._errorStateTracker=new rS(r,this.ngControl,a,i,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect=c==="select",this._isTextarea=c==="textarea",this._isInFormField=!!this._formField,this.disabledInteractive=((d=this._config)==null?void 0:d.disabledInteractive)||!1,this._isNativeSelect&&(this.controlType=l.multiple?"mat-native-select-multiple":"mat-native-select"),this._signalBasedValueAccessor&&c1(()=>{this._signalBasedValueAccessor.value(),this.stateChanges.next()})}get disabled(){return this._disabled}set disabled(i){this._disabled=Jr(i),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(i){this._id=i||this._uid}get required(){var i,a;return this._required??((a=(i=this.ngControl)==null?void 0:i.control)==null?void 0:a.hasValidator(sf.required))??!1}set required(i){this._required=Jr(i)}get type(){return this._type}set type(i){let a=this._type;this._type=i||"text",this._validateType(),!this._isTextarea&&Cv().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._type!==a&&this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(i){this._errorStateTracker.matcher=i}get value(){return this._signalBasedValueAccessor?this._signalBasedValueAccessor.value():this._inputValueAccessor.value}set value(i){i!==this.value&&(this._signalBasedValueAccessor?this._signalBasedValueAccessor.value.set(i):this._inputValueAccessor.value=i,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(i){this._readonly=Jr(i)}get errorState(){return this._errorStateTracker.errorState}set errorState(i){this._errorStateTracker.errorState=i}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(i=>{this.autofilled=i.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){var i,a;this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),(i=this._cleanupIosKeyup)==null||i.call(this),(a=this._cleanupWebkitWheel)==null||a.call(this)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==null&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(i){this._elementRef.nativeElement.focus(i)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(i){if(i!==this.focused){if(!this._isNativeSelect&&i&&this.disabled&&this.disabledInteractive){let a=this._elementRef.nativeElement;a.type==="number"?(a.type="text",a.setSelectionRange(0,0),a.type="number"):a.setSelectionRange(0,0)}this.focused=i,this.stateChanges.next()}}_onInput(){}_dirtyCheckNativeValue(){let i=this._elementRef.nativeElement.value;this._previousNativeValue!==i&&(this._previousNativeValue=i,this.stateChanges.next())}_dirtyCheckPlaceholder(){let i=this._getPlaceholder();if(i!==this._previousPlaceholder){let a=this._elementRef.nativeElement;this._previousPlaceholder=i,i?a.setAttribute("placeholder",i):a.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){cpe.indexOf(this._type)>-1}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let i=this._elementRef.nativeElement.validity;return i&&i.badInput}get empty(){return!this._isNeverEmpty()&&!this._elementRef.nativeElement.value&&!this._isBadInput()&&!this.autofilled}get shouldLabelFloat(){if(this._isNativeSelect){let i=this._elementRef.nativeElement,a=i.options[0];return this.focused||i.multiple||!this.empty||!!(i.selectedIndex>-1&&a&&a.label)}else return this.focused&&!this.disabled||!this.empty}setDescribedByIds(i){let a=this._elementRef.nativeElement,r=a.getAttribute("aria-describedby"),s;if(r){let l=this._formFieldDescribedBy||i;s=i.concat(r.split(" ").filter(c=>c&&!l.includes(c)))}else s=i;this._formFieldDescribedBy=i,s.length?a.setAttribute("aria-describedby",s.join(" ")):a.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){let i=this._elementRef.nativeElement;return this._isNativeSelect&&(i.multiple||i.size>1)}_ensureWheelDefaultBehavior(){var i;(i=this._cleanupWebkitWheel)==null||i.call(this),this._type==="number"&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._cleanupWebkitWheel=this._renderer.listen(this._elementRef.nativeElement,"wheel",this._webkitBlinkWheelListener))}_getReadonlyAttribute(){return this._isNativeSelect?null:this.readonly||this.disabled&&this.disabledInteractive?"true":null}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:21,hostBindings:function(i,a){i&1&&de("focus",function(){return a._focusChanged(!0)})("blur",function(){return a._focusChanged(!1)})("input",function(){return a._onInput()}),i&2&&(vn("id",a.id)("disabled",a.disabled&&!a.disabledInteractive)("required",a.required),_e("name",a.name||null)("readonly",a._getReadonlyAttribute())("aria-disabled",a.disabled&&a.disabledInteractive?"true":null)("aria-invalid",a.empty&&a.required?null:a.errorState)("aria-required",a.required)("id",a.id),We("mat-input-server",a._isServer)("mat-mdc-form-field-textarea-control",a._isInFormField&&a._isTextarea)("mat-mdc-form-field-input-control",a._isInFormField)("mat-mdc-input-disabled-interactive",a.disabledInteractive)("mdc-text-field__input",a._isInFormField)("mat-mdc-native-select-inline",a._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly",disabledInteractive:[2,"disabledInteractive","disabledInteractive",qe]},exportAs:["matInput"],features:[bi([{provide:tf,useExisting:t}]),vi]}));let e=t;return e})(),upe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",wt({type:t})),o(t,"ɵinj",xt({imports:[ai,Ss,Ss,lpe,ai]}));let e=t;return e})(),hpe=(e,t)=>({text:e,file:t});function ppe(e,t){if(e&1){let n=Ke();I(0,"mat-chip",11),de("removed",function(){ve(n);let i=V();return ye(i.selectedFile=void 0)}),B(1),I(2,"button",12),he(3,"mat-icon",13),N()()}if(e&2){let n=V();X("removable",!0),D(),Ie(" ",(n.selectedFile==null?null:n.selectedFile.name)||"No file selected"," ")}}function mpe(e,t){if(e&1){let n=Ke();I(0,"mat-chip",6)(1,"label",14),B(2),H(3,"translate"),N(),I(4,"input",15),de("change",function(i){ve(n);let a=V();return ye(a.fileChanged(i))}),N()()}e&2&&(D(2),Ie(" ",W(3,1,"diaryNotesPage.add-note-dialog.file-upload-button")," "))}function fpe(e,t){e&1&&(I(0,"mat-error",8),B(1),H(2,"translate"),N()),e&2&&(D(),Ee(W(2,1,"diaryNotesPage.add-note-dialog.file-size-error")))}var gpe=(()=>{const t=class t{constructor(){this.inputtedData="",this.showSizeError=!1}fileChanged(i){let a=i.target.files[0],r=a.size/1024/1024;this.showSizeError=r>6,this.selectedFile=this.showSizeError?void 0:a}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],decls:32,vars:31,consts:[["mat-dialog-title",""],[1,"contact-info-form"],["for","note"],["appearance","outline",1,"formfield-wrapper"],["id","note","matInput","","maxlength","319",3,"ngModelChange","ngModel"],[3,"removable"],["clickable","",1,"mh-black","file-upload-chip"],["align","start"],[1,"size-error"],["mat-button","","mat-dialog-close",""],["mat-flat-button","","type","button",3,"disabled","mat-dialog-close"],[3,"removed","removable"],["matChipRemove",""],["fontIcon","close"],["for","file-upload"],["tabindex","0","id","file-upload","type","file","accept",".jpeg, .pdf, .png, .tiff, .jpg",3,"change"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),N(),I(3,"mat-dialog-content")(4,"div",1)(5,"label",2),B(6),H(7,"translate"),N(),I(8,"mat-form-field",3)(9,"textarea",4),Ha("ngModelChange",function(r){return hn(a.inputtedData,r)||(a.inputtedData=r),r}),N(),I(10,"mat-hint"),B(11),H(12,"translate"),N()()(),I(13,"div")(14,"h3"),B(15),H(16,"translate"),N(),se(17,ppe,4,2,"mat-chip",5)(18,mpe,5,3,"mat-chip",6),I(19,"div")(20,"mat-hint",7),B(21),H(22,"translate"),N(),se(23,fpe,3,3,"mat-error",8),N(),he(24,"div"),N()(),I(25,"mat-dialog-actions")(26,"button",9),B(27),H(28,"translate"),N(),I(29,"button",10),B(30),H(31,"translate"),N()()),i&2&&(D(),Ee(W(2,14,"diaryNotesPage.add-note-dialog.title")),D(5),Ee(W(7,16,"diaryNotesPage.add-note-dialog.field-description")),D(3),Ba("ngModel",a.inputtedData),D(2),_r(" ",a.inputtedData.length,"/319 ",W(12,18,"diaryNotesPage.add-note-dialog.character-counter")," "),D(4),Ee(W(16,20,"diaryNotesPage.add-note-dialog.file-upload-title")),D(2),oe(a.selectedFile?17:18),D(4),Ee(W(22,22,"diaryNotesPage.add-note-dialog.file-info")),D(2),oe(a.showSizeError?23:-1),D(4),Ie(" ",W(28,24,"diaryNotesPage.add-note-dialog.cancel")," "),D(2),X("disabled",!a.showSizeError)("disabled",a.inputtedData.length===0)("mat-dialog-close",Aie(28,hpe,a.inputtedData,a.selectedFile)),D(),Ie(" ",W(31,26,"diaryNotesPage.add-note-dialog.confirm")," "))},dependencies:[ll,Hd,ba,sp,cl,Aw,iS,$d,Uw,tS,hf,sl,jS,ko,_a,Hn,Xd,VS,ol],styles:["textarea[_ngcontent-%COMP%]{height:120px!important}.formfield-wrapper[_ngcontent-%COMP%]{width:100%;min-width:50vw}.text-length[_ngcontent-%COMP%]{margin-bottom:16px}input[type=file][_ngcontent-%COMP%]{display:none}.close-button[_ngcontent-%COMP%]{position:absolute;top:1px;right:1px;z-index:1}.file-input-container[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;cursor:pointer}.file-label[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin:0;width:100%}.close-file-button[_ngcontent-%COMP%]{padding:0;margin-left:8px}.file-upload-chip[_ngcontent-%COMP%], .file-upload-chip[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{cursor:pointer}"]});let e=t;return e})(),vpe=(()=>{const t=class t{constructor(){this.translate=S(Bn),this.cdRef=S($t),this.destroyRef=S(Hi),this.result="",this.translate.onLangChange.pipe(wo(this.destroyRef)).subscribe(()=>{this.result=this.getResult(this.contentType,this.index),this.cdRef.markForCheck()})}transform(i,a){return i!==this.contentType&&a!==this.index&&(this.contentType=i,this.index=a,this.result=this.getResult(i,a)),this.result}getResult(i,a){let r=i?RS.getExtension(i):"unknown";return this.translate.instant("commons.file")+"_"+(a+1)+"."+r}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=xo({name:"attachementFilename",type:t,pure:!0});let e=t;return e})(),xf=(()=>{const t=class t{transform(i){let a="";return Array.isArray(i)&&i.forEach(r=>{a+=r.charAt(0).toUpperCase()+r.slice(1)+" "}),typeof i=="string"&&i.split(" ").length>1&&i.split(" ").forEach((r,s)=>{s===0?a=r.charAt(0).toUpperCase()+r.slice(1):a+=" "+r}),typeof i=="string"&&i.split(" ").length===1&&(a=i.charAt(0).toUpperCase()+i.slice(1)),a}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=xo({name:"firstLetterUppercase",type:t,pure:!0});let e=t;return e})(),vp=new $("MAT_DATE_LOCALE",{providedIn:"root",factory:ype});function ype(){return S(Rd)}var Vr="Method not implemented",Gi=class{constructor(){o(this,"locale");o(this,"_localeChanges",new le);o(this,"localeChanges",this._localeChanges)}setTime(e,t,n,i){throw new Error(Vr)}getHours(e){throw new Error(Vr)}getMinutes(e){throw new Error(Vr)}getSeconds(e){throw new Error(Vr)}parseTime(e,t){throw new Error(Vr)}addSeconds(e,t){throw new Error(Vr)}getValidDateOrNull(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}deserialize(e){return e==null||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}setLocale(e){this.locale=e,this._localeChanges.next()}compareDate(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}compareTime(e,t){return this.getHours(e)-this.getHours(t)||this.getMinutes(e)-this.getMinutes(t)||this.getSeconds(e)-this.getSeconds(t)}sameDate(e,t){if(e&&t){let n=this.isValid(e),i=this.isValid(t);return n&&i?!this.compareDate(e,t):n==i}return e==t}sameTime(e,t){if(e&&t){let n=this.isValid(e),i=this.isValid(t);return n&&i?!this.compareTime(e,t):n==i}return e==t}clampDate(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e}},Ao=new $("mat-date-formats"),bpe=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/,_pe=/^(\d?\d)[:.](\d?\d)(?:[:.](\d?\d))?\s*(AM|PM)?$/i;function Zu(e,t){let n=Array(e);for(let i=0;i<e;i++)n[i]=t(i);return n}var xpe=(()=>{const t=class t extends Gi{constructor(){super();o(this,"useUtcForDisplay",!1);o(this,"_matDateLocale",S(vp,{optional:!0}));let a=S(vp,{optional:!0});a!==void 0&&(this._matDateLocale=a),super.setLocale(this._matDateLocale)}getYear(a){return a.getFullYear()}getMonth(a){return a.getMonth()}getDate(a){return a.getDate()}getDayOfWeek(a){return a.getDay()}getMonthNames(a){let r=new Intl.DateTimeFormat(this.locale,{month:a,timeZone:"utc"});return Zu(12,s=>this._format(r,new Date(2017,s,1)))}getDateNames(){let a=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return Zu(31,r=>this._format(a,new Date(2017,0,r+1)))}getDayOfWeekNames(a){let r=new Intl.DateTimeFormat(this.locale,{weekday:a,timeZone:"utc"});return Zu(7,s=>this._format(r,new Date(2017,0,s+1)))}getYearName(a){let r=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(r,a)}getFirstDayOfWeek(){var a,r;if(typeof Intl<"u"&&Intl.Locale){let s=new Intl.Locale(this.locale),l=((r=((a=s.getWeekInfo)==null?void 0:a.call(s))||s.weekInfo)==null?void 0:r.firstDay)??0;return l===7?0:l}return 0}getNumDaysInMonth(a){return this.getDate(this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+1,0))}clone(a){return new Date(a.getTime())}createDate(a,r,s){let l=this._createDateWithOverflow(a,r,s);return l.getMonth()!=r,l}today(){return new Date}parse(a,r){return typeof a=="number"?new Date(a):a?new Date(Date.parse(a)):null}format(a,r){if(!this.isValid(a))throw Error("NativeDateAdapter: Cannot format invalid date.");let s=new Intl.DateTimeFormat(this.locale,Qe(Q({},r),{timeZone:"utc"}));return this._format(s,a)}addCalendarYears(a,r){return this.addCalendarMonths(a,r*12)}addCalendarMonths(a,r){let s=this._createDateWithOverflow(this.getYear(a),this.getMonth(a)+r,this.getDate(a));return this.getMonth(s)!=((this.getMonth(a)+r)%12+12)%12&&(s=this._createDateWithOverflow(this.getYear(s),this.getMonth(s),0)),s}addCalendarDays(a,r){return this._createDateWithOverflow(this.getYear(a),this.getMonth(a),this.getDate(a)+r)}toIso8601(a){return[a.getUTCFullYear(),this._2digit(a.getUTCMonth()+1),this._2digit(a.getUTCDate())].join("-")}deserialize(a){if(typeof a=="string"){if(!a)return null;if(bpe.test(a)){let r=new Date(a);if(this.isValid(r))return r}}return super.deserialize(a)}isDateInstance(a){return a instanceof Date}isValid(a){return!isNaN(a.getTime())}invalid(){return new Date(NaN)}setTime(a,r,s,l){let c=this.clone(a);return c.setHours(r,s,l,0),c}getHours(a){return a.getHours()}getMinutes(a){return a.getMinutes()}getSeconds(a){return a.getSeconds()}parseTime(a,r){if(typeof a!="string")return a instanceof Date?new Date(a.getTime()):null;let s=a.trim();if(s.length===0)return null;let l=this._parseTimeString(s);if(l===null){let c=s.replace(/[^0-9:(AM|PM)]/gi,"").trim();c.length>0&&(l=this._parseTimeString(c))}return l||this.invalid()}addSeconds(a,r){return new Date(a.getTime()+r*1e3)}_createDateWithOverflow(a,r,s){let l=new Date;return l.setFullYear(a,r,s),l.setHours(0,0,0,0),l}_2digit(a){return("00"+a).slice(-2)}_format(a,r){let s=new Date;return s.setUTCFullYear(r.getFullYear(),r.getMonth(),r.getDate()),s.setUTCHours(r.getHours(),r.getMinutes(),r.getSeconds(),r.getMilliseconds()),a.format(s)}_parseTimeString(a){let r=a.toUpperCase().match(_pe);if(r){let s=parseInt(r[1]),l=parseInt(r[2]),c=r[3]==null?void 0:parseInt(r[3]),d=r[4];if(s===12?s=d==="AM"?0:s:d==="PM"&&(s+=12),Xu(s,0,23)&&Xu(l,0,59)&&(c==null||Xu(c,0,59)))return this.setTime(this.today(),s,l,c||0)}return null}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})();function Xu(e,t,n){return!isNaN(e)&&e>=t&&e<=n}function wpe(e,t){return this._trackRow(t)}var BS=(e,t)=>t.id;function Spe(e,t){if(e&1&&(I(0,"tr",0)(1,"td",3),B(2),N()()),e&2){let n=V();D(),Td("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),_e("colspan",n.numCols),D(),Ie(" ",n.label," ")}}function kpe(e,t){if(e&1&&(I(0,"td",3),B(1),N()),e&2){let n=V(2);Td("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),_e("colspan",n._firstRowOffset),D(),Ie(" ",n._firstRowOffset>=n.labelMinRequiredCells?n.label:""," ")}}function Epe(e,t){if(e&1){let n=Ke();I(0,"td",6)(1,"button",7),de("click",function(i){let a=ve(n).$implicit,r=V(2);return ye(r._cellClicked(a,i))})("focus",function(i){let a=ve(n).$implicit,r=V(2);return ye(r._emitActiveDateChange(a,i))}),I(2,"span",8),B(3),N(),he(4,"span",9),N()()}if(e&2){let n=t.$implicit,i=t.$index,a=V().$index,r=V();Td("width",r._cellWidth)("padding-top",r._cellPadding)("padding-bottom",r._cellPadding),_e("data-mat-row",a)("data-mat-col",i),D(),We("mat-calendar-body-disabled",!n.enabled)("mat-calendar-body-active",r._isActiveCell(a,i))("mat-calendar-body-range-start",r._isRangeStart(n.compareValue))("mat-calendar-body-range-end",r._isRangeEnd(n.compareValue))("mat-calendar-body-in-range",r._isInRange(n.compareValue))("mat-calendar-body-comparison-bridge-start",r._isComparisonBridgeStart(n.compareValue,a,i))("mat-calendar-body-comparison-bridge-end",r._isComparisonBridgeEnd(n.compareValue,a,i))("mat-calendar-body-comparison-start",r._isComparisonStart(n.compareValue))("mat-calendar-body-comparison-end",r._isComparisonEnd(n.compareValue))("mat-calendar-body-in-comparison-range",r._isInComparisonRange(n.compareValue))("mat-calendar-body-preview-start",r._isPreviewStart(n.compareValue))("mat-calendar-body-preview-end",r._isPreviewEnd(n.compareValue))("mat-calendar-body-in-preview",r._isInPreview(n.compareValue)),X("ngClass",n.cssClasses)("tabindex",r._isActiveCell(a,i)?0:-1),_e("aria-label",n.ariaLabel)("aria-disabled",!n.enabled||null)("aria-pressed",r._isSelected(n.compareValue))("aria-current",r.todayValue===n.compareValue?"date":null)("aria-describedby",r._getDescribedby(n.compareValue)),D(),We("mat-calendar-body-selected",r._isSelected(n.compareValue))("mat-calendar-body-comparison-identical",r._isComparisonIdentical(n.compareValue))("mat-calendar-body-today",r.todayValue===n.compareValue),D(),Ie(" ",n.displayValue," ")}}function Cpe(e,t){if(e&1&&(I(0,"tr",1),se(1,kpe,2,6,"td",4),Mi(2,Epe,5,48,"td",5,BS),N()),e&2){let n=t.$implicit,i=t.$index,a=V();D(),oe(i===0&&a._firstRowOffset?1:-1),D(),Pi(n)}}function Dpe(e,t){if(e&1&&(I(0,"th",2)(1,"span",6),B(2),N(),I(3,"span",3),B(4),N()()),e&2){let n=t.$implicit;D(2),Ee(n.long),D(2),Ee(n.narrow)}}var Ipe=["*"];function Ape(e,t){}function Ope(e,t){if(e&1){let n=Ke();I(0,"mat-month-view",4),Ha("activeDateChange",function(i){ve(n);let a=V();return hn(a.activeDate,i)||(a.activeDate=i),ye(i)}),de("_userSelection",function(i){ve(n);let a=V();return ye(a._dateSelected(i))})("dragStarted",function(i){ve(n);let a=V();return ye(a._dragStarted(i))})("dragEnded",function(i){ve(n);let a=V();return ye(a._dragEnded(i))}),N()}if(e&2){let n=V();Ba("activeDate",n.activeDate),X("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)("comparisonStart",n.comparisonStart)("comparisonEnd",n.comparisonEnd)("startDateAccessibleName",n.startDateAccessibleName)("endDateAccessibleName",n.endDateAccessibleName)("activeDrag",n._activeDrag)}}function Tpe(e,t){if(e&1){let n=Ke();I(0,"mat-year-view",5),Ha("activeDateChange",function(i){ve(n);let a=V();return hn(a.activeDate,i)||(a.activeDate=i),ye(i)}),de("monthSelected",function(i){ve(n);let a=V();return ye(a._monthSelectedInYearView(i))})("selectedChange",function(i){ve(n);let a=V();return ye(a._goToDateInView(i,"month"))}),N()}if(e&2){let n=V();Ba("activeDate",n.activeDate),X("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function Npe(e,t){if(e&1){let n=Ke();I(0,"mat-multi-year-view",6),Ha("activeDateChange",function(i){ve(n);let a=V();return hn(a.activeDate,i)||(a.activeDate=i),ye(i)}),de("yearSelected",function(i){ve(n);let a=V();return ye(a._yearSelectedInMultiYearView(i))})("selectedChange",function(i){ve(n);let a=V();return ye(a._goToDateInView(i,"year"))}),N()}if(e&2){let n=V();Ba("activeDate",n.activeDate),X("selected",n.selected)("dateFilter",n.dateFilter)("maxDate",n.maxDate)("minDate",n.minDate)("dateClass",n.dateClass)}}function Rpe(e,t){}var Mpe=["button"],Ppe=[[["","matDatepickerToggleIcon",""]]],Fpe=["[matDatepickerToggleIcon]"];function Lpe(e,t){e&1&&(dn(),I(0,"svg",2),he(1,"path",3),N())}var Oo=(()=>{const t=class t{constructor(){o(this,"changes",new le);o(this,"calendarLabel","Calendar");o(this,"openCalendarLabel","Open calendar");o(this,"closeCalendarLabel","Close calendar");o(this,"prevMonthLabel","Previous month");o(this,"nextMonthLabel","Next month");o(this,"prevYearLabel","Previous year");o(this,"nextYearLabel","Next year");o(this,"prevMultiYearLabel","Previous 24 years");o(this,"nextMultiYearLabel","Next 24 years");o(this,"switchToMonthViewLabel","Choose date");o(this,"switchToMultiYearViewLabel","Choose month and year");o(this,"startDateLabel","Start date");o(this,"endDateLabel","End date");o(this,"comparisonDateLabel","Comparison range")}formatYearRange(i,a){return`${i} – ${a}`}formatYearRangeLabel(i,a){return`${i} to ${a}`}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac,providedIn:"root"}));let e=t;return e})(),Vpe=0,wf=class{constructor(e,t,n,i,a={},r=e,s){o(this,"value");o(this,"displayValue");o(this,"ariaLabel");o(this,"enabled");o(this,"cssClasses");o(this,"compareValue");o(this,"rawValue");o(this,"id",Vpe++);this.value=e,this.displayValue=t,this.ariaLabel=n,this.enabled=i,this.cssClasses=a,this.compareValue=r,this.rawValue=s}},zpe={passive:!1,capture:!0},Ul={passive:!0,capture:!0},My={passive:!0},uo=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_ngZone",S(Ne));o(this,"_platform",S(qt));o(this,"_intl",S(Oo));o(this,"_eventCleanups");o(this,"_skipNextFocus");o(this,"_focusActiveCellAfterViewChecked",!1);o(this,"label");o(this,"rows");o(this,"todayValue");o(this,"startValue");o(this,"endValue");o(this,"labelMinRequiredCells");o(this,"numCols",7);o(this,"activeCell",0);o(this,"isRange",!1);o(this,"cellAspectRatio",1);o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"previewStart",null);o(this,"previewEnd",null);o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"selectedValueChange",new ce);o(this,"previewChange",new ce);o(this,"activeDateChange",new ce);o(this,"dragStarted",new ce);o(this,"dragEnded",new ce);o(this,"_firstRowOffset");o(this,"_cellPadding");o(this,"_cellWidth");o(this,"_startDateLabelId");o(this,"_endDateLabelId");o(this,"_comparisonStartDateLabelId");o(this,"_comparisonEndDateLabelId");o(this,"_didDragSinceMouseDown",!1);o(this,"_injector",S(lt));o(this,"comparisonDateAccessibleName",this._intl.comparisonDateLabel);o(this,"_trackRow",i=>i);o(this,"_enterHandler",i=>{if(this._skipNextFocus&&i.type==="focus"){this._skipNextFocus=!1;return}if(i.target&&this.isRange){let a=this._getCellFromElement(i.target);a&&this._ngZone.run(()=>this.previewChange.emit({value:a.enabled?a:null,event:i}))}});o(this,"_touchmoveHandler",i=>{if(!this.isRange)return;let a=Py(i),r=a?this._getCellFromElement(a):null;a!==i.target&&(this._didDragSinceMouseDown=!0),Ju(i.target)&&i.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:r!=null&&r.enabled?r:null,event:i}))});o(this,"_leaveHandler",i=>{this.previewEnd!==null&&this.isRange&&(i.type!=="blur"&&(this._didDragSinceMouseDown=!0),i.target&&this._getCellFromElement(i.target)&&!(i.relatedTarget&&this._getCellFromElement(i.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:i})))});o(this,"_mousedownHandler",i=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;let a=i.target&&this._getCellFromElement(i.target);!a||!this._isInRange(a.compareValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:a.rawValue,event:i})})});o(this,"_mouseupHandler",i=>{if(!this.isRange)return;let a=Ju(i.target);if(!a){this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:i})});return}a.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{let r=this._getCellFromElement(a);this.dragEnded.emit({value:(r==null?void 0:r.rawValue)??null,event:i})})});o(this,"_touchendHandler",i=>{let a=Py(i);a&&this._mouseupHandler({target:a})});let i=S(na),a=S(_i);this._startDateLabelId=a.getId("mat-calendar-body-start-"),this._endDateLabelId=a.getId("mat-calendar-body-end-"),this._comparisonStartDateLabelId=a.getId("mat-calendar-body-comparison-start-"),this._comparisonEndDateLabelId=a.getId("mat-calendar-body-comparison-end-"),S(Li).load(nl),this._ngZone.runOutsideAngular(()=>{let r=this._elementRef.nativeElement,s=[hi(i,r,"touchmove",this._touchmoveHandler,zpe),hi(i,r,"mouseenter",this._enterHandler,Ul),hi(i,r,"focus",this._enterHandler,Ul),hi(i,r,"mouseleave",this._leaveHandler,Ul),hi(i,r,"blur",this._leaveHandler,Ul),hi(i,r,"mousedown",this._mousedownHandler,My),hi(i,r,"touchstart",this._mousedownHandler,My)];this._platform.isBrowser&&s.push(i.listen("window","mouseup",this._mouseupHandler),i.listen("window","touchend",this._touchendHandler)),this._eventCleanups=s})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(i,a){this._didDragSinceMouseDown||i.enabled&&this.selectedValueChange.emit({value:i.value,event:a})}_emitActiveDateChange(i,a){i.enabled&&this.activeDateChange.emit({value:i.value,event:a})}_isSelected(i){return this.startValue===i||this.endValue===i}ngOnChanges(i){let a=i.numCols,{rows:r,numCols:s}=this;(i.rows||a)&&(this._firstRowOffset=r&&r.length&&r[0].length?s-r[0].length:0),(i.cellAspectRatio||a||!this._cellPadding)&&(this._cellPadding=`${50*this.cellAspectRatio/s}%`),(a||!this._cellWidth)&&(this._cellWidth=`${100/s}%`)}ngOnDestroy(){this._eventCleanups.forEach(i=>i())}_isActiveCell(i,a){let r=i*this.numCols+a;return i&&(r-=this._firstRowOffset),r==this.activeCell}_focusActiveCell(i=!0){gr(()=>{setTimeout(()=>{let a=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");a&&(i||(this._skipNextFocus=!0),a.focus())})},{injector:this._injector})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(i){return eh(i,this.startValue,this.endValue)}_isRangeEnd(i){return th(i,this.startValue,this.endValue)}_isInRange(i){return ih(i,this.startValue,this.endValue,this.isRange)}_isComparisonStart(i){return eh(i,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(i,a,r){if(!this._isComparisonStart(i)||this._isRangeStart(i)||!this._isInRange(i))return!1;let s=this.rows[a][r-1];if(!s){let l=this.rows[a-1];s=l&&l[l.length-1]}return s&&!this._isRangeEnd(s.compareValue)}_isComparisonBridgeEnd(i,a,r){if(!this._isComparisonEnd(i)||this._isRangeEnd(i)||!this._isInRange(i))return!1;let s=this.rows[a][r+1];if(!s){let l=this.rows[a+1];s=l&&l[0]}return s&&!this._isRangeStart(s.compareValue)}_isComparisonEnd(i){return th(i,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(i){return ih(i,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(i){return this.comparisonStart===this.comparisonEnd&&i===this.comparisonStart}_isPreviewStart(i){return eh(i,this.previewStart,this.previewEnd)}_isPreviewEnd(i){return th(i,this.previewStart,this.previewEnd)}_isInPreview(i){return ih(i,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(i){if(!this.isRange)return null;if(this.startValue===i&&this.endValue===i)return`${this._startDateLabelId} ${this._endDateLabelId}`;if(this.startValue===i)return this._startDateLabelId;if(this.endValue===i)return this._endDateLabelId;if(this.comparisonStart!==null&&this.comparisonEnd!==null){if(i===this.comparisonStart&&i===this.comparisonEnd)return`${this._comparisonStartDateLabelId} ${this._comparisonEndDateLabelId}`;if(i===this.comparisonStart)return this._comparisonStartDateLabelId;if(i===this.comparisonEnd)return this._comparisonEndDateLabelId}return null}_getCellFromElement(i){let a=Ju(i);if(a){let r=a.getAttribute("data-mat-row"),s=a.getAttribute("data-mat-col");if(r&&s)return this.rows[parseInt(r)][parseInt(s)]}return null}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[vi],decls:11,vars:11,consts:[["aria-hidden","true"],["role","row"],[1,"mat-calendar-body-hidden-label",3,"id"],[1,"mat-calendar-body-label"],[1,"mat-calendar-body-label",3,"paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"click","focus","ngClass","tabindex"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(i,a){i&1&&(se(0,Spe,3,6,"tr",0),Mi(1,Cpe,4,1,"tr",1,wpe,!0),I(3,"span",2),B(4),N(),I(5,"span",2),B(6),N(),I(7,"span",2),B(8),N(),I(9,"span",2),B(10),N()),i&2&&(oe(a._firstRowOffset<a.labelMinRequiredCells?0:-1),D(),Pi(a.rows),D(2),X("id",a._startDateLabelId),D(),Ie(" ",a.startDateAccessibleName,`
|
|
46
46
|
`),D(),X("id",a._endDateLabelId),D(),Ie(" ",a.endDateAccessibleName,`
|
|
47
47
|
`),D(),X("id",a._comparisonStartDateLabelId),D(),_r(" ",a.comparisonDateAccessibleName," ",a.startDateAccessibleName,`
|
|
48
48
|
`),D(),X("id",a._comparisonEndDateLabelId),D(),_r(" ",a.comparisonDateAccessibleName," ",a.endDateAccessibleName,`
|
|
49
49
|
`))},dependencies:[Qs],styles:[`.mat-calendar-body{min-width:224px}.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-outline-color, var(--mat-sys-primary))}.mat-calendar-body-label{height:0;line-height:0;text-align:start;padding-left:4.7142857143%;padding-right:4.7142857143%;font-size:var(--mat-datepicker-calendar-body-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-body-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-datepicker-calendar-body-label-text-color, var(--mat-sys-on-surface))}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size));-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview{color:var(--mat-datepicker-calendar-date-preview-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){color:var(--mat-datepicker-calendar-date-disabled-state-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){border-color:var(--mat-datepicker-calendar-date-today-disabled-state-outline-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}@media(forced-colors: active){.mat-calendar-body-disabled{opacity:.5}}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px;color:var(--mat-datepicker-calendar-date-text-color, var(--mat-sys-on-surface));border-color:var(--mat-datepicker-calendar-date-outline-color, transparent)}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}@media(forced-colors: active){.mat-calendar-body-cell-content{border:none}}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-focus-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent))}@media(hover: hover){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background-color:var(--mat-datepicker-calendar-date-hover-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent))}}.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-state-background-color, var(--mat-sys-primary));color:var(--mat-datepicker-calendar-date-selected-state-text-color, var(--mat-sys-on-primary))}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:var(--mat-datepicker-calendar-date-selected-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-calendar-body-selected.mat-calendar-body-today{box-shadow:inset 0 0 0 1px var(--mat-datepicker-calendar-date-today-selected-state-outline-color, var(--mat-sys-primary))}.mat-calendar-body-in-range::before{background:var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range::before{background:var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container))}.mat-calendar-body-comparison-bridge-start::before,[dir=rtl] .mat-calendar-body-comparison-bridge-end::before{background:linear-gradient(to right, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-comparison-bridge-end::before,[dir=rtl] .mat-calendar-body-comparison-bridge-start::before{background:linear-gradient(to left, var(--mat-datepicker-calendar-date-in-range-state-background-color, var(--mat-sys-primary-container)) 50%, var(--mat-datepicker-calendar-date-in-comparison-range-state-background-color, var(--mat-sys-tertiary-container)) 50%)}.mat-calendar-body-in-range>.mat-calendar-body-comparison-identical,.mat-calendar-body-in-comparison-range.mat-calendar-body-in-range::after{background:var(--mat-datepicker-calendar-date-in-overlap-range-state-background-color, var(--mat-sys-secondary-container))}.mat-calendar-body-comparison-identical.mat-calendar-body-selected,.mat-calendar-body-in-comparison-range>.mat-calendar-body-selected{background:var(--mat-datepicker-calendar-date-in-overlap-range-selected-state-background-color, var(--mat-sys-secondary))}@media(forced-colors: active){.mat-datepicker-popup:not(:empty),.mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-selected{background:none}.mat-calendar-body-in-range::before,.mat-calendar-body-comparison-bridge-start::before,.mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}}
|
|
50
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})();function Qu(e){return(e==null?void 0:e.nodeName)==="TD"}function Ju(e){var n;let t;return Qu(e)?t=e:Qu(e.parentNode)?t=e.parentNode:Qu((n=e.parentNode)==null?void 0:n.parentNode)&&(t=e.parentNode.parentNode),(t==null?void 0:t.getAttribute("data-mat-row"))!=null?t:null}function eh(e,t,n){return n!==null&&t!==n&&e<n&&e===t}function th(e,t,n){return t!==null&&t!==n&&e>=t&&e===n}function ih(e,t,n,i){return i&&t!==null&&n!==null&&t!==n&&e>=t&&e<=n}function Py(e){let t=e.changedTouches[0];return document.elementFromPoint(t.clientX,t.clientY)}var Pa=class{constructor(e,t){o(this,"start");o(this,"end");o(this,"_disableStructuralEquivalency");this.start=e,this.end=t}},Ds=(()=>{const t=class t{constructor(i,a){o(this,"selection");o(this,"_adapter");o(this,"_selectionChanged",new le);o(this,"selectionChanged",this._selectionChanged);this.selection=i,this._adapter=a,this.selection=i}updateSelection(i,a){let r=this.selection;this.selection=i,this._selectionChanged.next({selection:i,source:a,oldValue:r})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(i){return this._adapter.isDateInstance(i)&&this._adapter.isValid(i)}};o(t,"ɵfac",function(i){_ee()}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),zpe=(()=>{const t=class t extends Ds{constructor(i){super(null,i)}add(i){super.updateSelection(i,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let i=new t(this._adapter);return i.updateSelection(this.selection,this),i}};o(t,"ɵfac",function(i){return new(i||t)(pe(Gi))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})();function jpe(e,t){return e||new zpe(t)}var HS={provide:Ds,deps:[[new f0,new g0,Ds],Gi],useFactory:jpe},$S=new $("MAT_DATE_RANGE_SELECTION_STRATEGY"),ah=7,Bpe=0,Fy=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",S($t));o(this,"_dateFormats",S(Ao,{optional:!0}));o(this,"_dateAdapter",S(Gi,{optional:!0}));o(this,"_dir",S($i,{optional:!0}));o(this,"_rangeStrategy",S($S,{optional:!0}));o(this,"_rerenderSubscription",ct.EMPTY);o(this,"_selectionKeyPressed");o(this,"_activeDate");o(this,"_selected");o(this,"_minDate");o(this,"_maxDate");o(this,"dateFilter");o(this,"dateClass");o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"activeDrag",null);o(this,"selectedChange",new ce);o(this,"_userSelection",new ce);o(this,"dragStarted",new ce);o(this,"dragEnded",new ce);o(this,"activeDateChange",new ce);o(this,"_matCalendarBody");o(this,"_monthLabel");o(this,"_weeks");o(this,"_firstWeekOffset");o(this,"_rangeStart");o(this,"_rangeEnd");o(this,"_comparisonRangeStart");o(this,"_comparisonRangeEnd");o(this,"_previewStart");o(this,"_previewEnd");o(this,"_isRange");o(this,"_todayDate");o(this,"_weekdays");S(Li).load(Ir),this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(i){let a=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._hasSameMonthAndYear(a,this._activeDate)||this._init()}get selected(){return this._selected}set selected(i){i instanceof Pa?this._selected=i:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Qi(null)).subscribe(()=>this._init())}ngOnChanges(i){let a=i.comparisonStart||i.comparisonEnd;a&&!a.firstChange&&this._setRanges(this.selected),i.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(i){let a=i.value,r=this._getDateFromDayOfMonth(a),s,l;this._selected instanceof Pa?(s=this._getDateInCurrentMonth(this._selected.start),l=this._getDateInCurrentMonth(this._selected.end)):s=l=this._getDateInCurrentMonth(this._selected),(s!==a||l!==a)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:i.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(i){let a=i.value,r=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(a),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(i){let a=this._activeDate,r=this._isRtl();switch(i.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=i.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=i.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&i.preventDefault();return;case 27:this._previewEnd!=null&&!Di(i)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:i}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:i})),i.preventDefault(),i.stopPropagation());return;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),i.preventDefault()}_handleCalendarBodyKeyup(i){(i.keyCode===32||i.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:i}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(ah+this._dateAdapter.getDayOfWeek(i)-this._dateAdapter.getFirstDayOfWeek())%ah,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(i){this._matCalendarBody._focusActiveCell(i)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:i,value:a}){var r,s;if(this._rangeStrategy){let l=a?a.rawValue:null,c=this._rangeStrategy.createPreview(l,this.selected,i);if(this._previewStart=this._getCellCompareValue(c.start),this._previewEnd=this._getCellCompareValue(c.end),this.activeDrag&&l){let d=(s=(r=this._rangeStrategy).createDrag)==null?void 0:s.call(r,this.activeDrag.value,this.selected,l,i);d&&(this._previewStart=this._getCellCompareValue(d.start),this._previewEnd=this._getCellCompareValue(d.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(i){var a,r;if(this.activeDrag)if(i.value){let s=(r=(a=this._rangeStrategy)==null?void 0:a.createDrag)==null?void 0:r.call(a,this.activeDrag.value,this.selected,i.value,i.event);this.dragEnded.emit({value:s??null,event:i.event})}else this.dragEnded.emit({value:null,event:i.event})}_getDateFromDayOfMonth(i){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),i)}_initWeekdays(){let i=this._dateAdapter.getFirstDayOfWeek(),a=this._dateAdapter.getDayOfWeekNames("narrow"),r=this._dateAdapter.getDayOfWeekNames("long").map((s,l)=>({long:s,narrow:a[l],id:Bpe++}));this._weekdays=r.slice(i).concat(r.slice(0,i))}_createWeekCells(){let i=this._dateAdapter.getNumDaysInMonth(this.activeDate),a=this._dateAdapter.getDateNames();this._weeks=[[]];for(let r=0,s=this._firstWeekOffset;r<i;r++,s++){s==ah&&(this._weeks.push([]),s=0);let l=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),r+1),c=this._shouldEnableDate(l),d=this._dateAdapter.format(l,this._dateFormats.display.dateA11yLabel),u=this.dateClass?this.dateClass(l,"month"):void 0;this._weeks[this._weeks.length-1].push(new wf(r+1,a[r],d,c,u,this._getCellCompareValue(l),l))}}_shouldEnableDate(i){return!!i&&(!this.minDate||this._dateAdapter.compareDate(i,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(i,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(i))}_getDateInCurrentMonth(i){return i&&this._hasSameMonthAndYear(i,this.activeDate)?this._dateAdapter.getDate(i):null}_hasSameMonthAndYear(i,a){return!!(i&&a&&this._dateAdapter.getMonth(i)==this._dateAdapter.getMonth(a)&&this._dateAdapter.getYear(i)==this._dateAdapter.getYear(a))}_getCellCompareValue(i){if(i){let a=this._dateAdapter.getYear(i),r=this._dateAdapter.getMonth(i),s=this._dateAdapter.getDate(i);return new Date(a,r,s).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(i){i instanceof Pa?(this._rangeStart=this._getCellCompareValue(i.start),this._rangeEnd=this._getCellCompareValue(i.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(i),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(i){return!this.dateFilter||this.dateFilter(i)}_clearPreview(){this._previewStart=this._previewEnd=null}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-month-view"]],viewQuery:function(i,a){if(i&1&&mt(uo,5),i&2){let r;Pe(r=Fe())&&(a._matCalendarBody=r.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[vi],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(i,a){i&1&&(I(0,"table",0)(1,"thead",1)(2,"tr"),Mi(3,Cpe,5,2,"th",2,BS),N(),I(5,"tr",3),he(6,"th",4),N()(),I(7,"tbody",5),de("selectedValueChange",function(r){return a._dateSelected(r)})("activeDateChange",function(r){return a._updateActiveDate(r)})("previewChange",function(r){return a._previewChanged(r)})("dragStarted",function(r){return a.dragStarted.emit(r)})("dragEnded",function(r){return a._dragEnded(r)})("keyup",function(r){return a._handleCalendarBodyKeyup(r)})("keydown",function(r){return a._handleCalendarBodyKeydown(r)}),N()()),i&2&&(D(3),Pi(a._weekdays),D(4),X("label",a._monthLabel)("rows",a._weeks)("todayValue",a._todayDate)("startValue",a._rangeStart)("endValue",a._rangeEnd)("comparisonStart",a._comparisonRangeStart)("comparisonEnd",a._comparisonRangeEnd)("previewStart",a._previewStart)("previewEnd",a._previewEnd)("isRange",a._isRange)("labelMinRequiredCells",3)("activeCell",a._dateAdapter.getDate(a.activeDate)-1)("startDateAccessibleName",a.startDateAccessibleName)("endDateAccessibleName",a.endDateAccessibleName))},dependencies:[uo],encapsulation:2,changeDetection:0}));let e=t;return e})(),Ta=24,Ly=4,Vy=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",S($t));o(this,"_dateAdapter",S(Gi,{optional:!0}));o(this,"_dir",S($i,{optional:!0}));o(this,"_rerenderSubscription",ct.EMPTY);o(this,"_selectionKeyPressed");o(this,"_activeDate");o(this,"_selected");o(this,"_minDate");o(this,"_maxDate");o(this,"dateFilter");o(this,"dateClass");o(this,"selectedChange",new ce);o(this,"yearSelected",new ce);o(this,"activeDateChange",new ce);o(this,"_matCalendarBody");o(this,"_years");o(this,"_todayYear");o(this,"_selectedYear");this._dateAdapter,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(i){let a=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),qS(this._dateAdapter,a,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(i){i instanceof Pa?this._selected=i:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i)),this._setSelectedYear(i)}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Qi(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let i=this._dateAdapter.getYear(this._activeDate)-Xo(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let a=0,r=[];a<Ta;a++)r.push(i+a),r.length==Ly&&(this._years.push(r.map(s=>this._createCellForYear(s))),r=[]);this._changeDetectorRef.markForCheck()}_yearSelected(i){let a=i.value,r=this._dateAdapter.createDate(a,0,1),s=this._getDateFromYear(a);this.yearSelected.emit(r),this.selectedChange.emit(s)}_updateActiveDate(i){let a=i.value,r=this._activeDate;this.activeDate=this._getDateFromYear(a),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(i){let a=this._activeDate,r=this._isRtl();switch(i.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ly);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Xo(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ta-Xo(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?-24*10:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?Ta*10:Ta);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),i.preventDefault()}_handleCalendarBodyKeyup(i){(i.keyCode===32||i.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:i}),this._selectionKeyPressed=!1)}_getActiveCell(){return Xo(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(i){let a=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(i,a,1));return this._dateAdapter.createDate(i,a,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForYear(i){let a=this._dateAdapter.createDate(i,0,1),r=this._dateAdapter.getYearName(a),s=this.dateClass?this.dateClass(a,"multi-year"):void 0;return new wf(i,r,r,this._shouldEnableYear(i),s)}_shouldEnableYear(i){if(i==null||this.maxDate&&i>this._dateAdapter.getYear(this.maxDate)||this.minDate&&i<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;let a=this._dateAdapter.createDate(i,0,1);for(let r=a;this._dateAdapter.getYear(r)==i;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedYear(i){if(this._selectedYear=null,i instanceof Pa){let a=i.start||i.end;a&&(this._selectedYear=this._dateAdapter.getYear(a))}else i&&(this._selectedYear=this._dateAdapter.getYear(i))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(i,a){if(i&1&&mt(uo,5),i&2){let r;Pe(r=Fe())&&(a._matCalendarBody=r.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(i,a){i&1&&(I(0,"table",0)(1,"thead",1)(2,"tr"),he(3,"th",2),N()(),I(4,"tbody",3),de("selectedValueChange",function(r){return a._yearSelected(r)})("activeDateChange",function(r){return a._updateActiveDate(r)})("keyup",function(r){return a._handleCalendarBodyKeyup(r)})("keydown",function(r){return a._handleCalendarBodyKeydown(r)}),N()()),i&2&&(D(4),X("rows",a._years)("todayValue",a._todayYear)("startValue",a._selectedYear)("endValue",a._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",a._getActiveCell()))},dependencies:[uo],encapsulation:2,changeDetection:0}));let e=t;return e})();function qS(e,t,n,i,a){let r=e.getYear(t),s=e.getYear(n),l=US(e,i,a);return Math.floor((r-l)/Ta)===Math.floor((s-l)/Ta)}function Xo(e,t,n,i){let a=e.getYear(t);return Hpe(a-US(e,n,i),Ta)}function US(e,t,n){let i=0;return n?i=e.getYear(n)-Ta+1:t&&(i=e.getYear(t)),i}function Hpe(e,t){return(e%t+t)%t}var zy=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",S($t));o(this,"_dateFormats",S(Ao,{optional:!0}));o(this,"_dateAdapter",S(Gi,{optional:!0}));o(this,"_dir",S($i,{optional:!0}));o(this,"_rerenderSubscription",ct.EMPTY);o(this,"_selectionKeyPressed");o(this,"_activeDate");o(this,"_selected");o(this,"_minDate");o(this,"_maxDate");o(this,"dateFilter");o(this,"dateClass");o(this,"selectedChange",new ce);o(this,"monthSelected",new ce);o(this,"activeDateChange",new ce);o(this,"_matCalendarBody");o(this,"_months");o(this,"_yearLabel");o(this,"_todayMonth");o(this,"_selectedMonth");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(i){let a=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._dateAdapter.getYear(a)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(i){i instanceof Pa?this._selected=i:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i)),this._setSelectedMonth(i)}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Qi(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(i){let a=i.value,r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),a,1);this.monthSelected.emit(r);let s=this._getDateFromMonth(a);this.selectedChange.emit(s)}_updateActiveDate(i){let a=i.value,r=this._activeDate;this.activeDate=this._getDateFromMonth(a),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(i){let a=this._activeDate,r=this._isRtl();switch(i.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),i.preventDefault()}_handleCalendarBodyKeyup(i){(i.keyCode===32||i.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:i}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let i=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(a=>a.map(r=>this._createCellForMonth(r,i[r]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(i){return i&&this._dateAdapter.getYear(i)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(i):null}_getDateFromMonth(i){let a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1),r=this._dateAdapter.getNumDaysInMonth(a);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForMonth(i,a){let r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1),s=this._dateAdapter.format(r,this._dateFormats.display.monthYearA11yLabel),l=this.dateClass?this.dateClass(r,"year"):void 0;return new wf(i,a.toLocaleUpperCase(),s,this._shouldEnableMonth(i),l)}_shouldEnableMonth(i){let a=this._dateAdapter.getYear(this.activeDate);if(i==null||this._isYearAndMonthAfterMaxDate(a,i)||this._isYearAndMonthBeforeMinDate(a,i))return!1;if(!this.dateFilter)return!0;let r=this._dateAdapter.createDate(a,i,1);for(let s=r;this._dateAdapter.getMonth(s)==i;s=this._dateAdapter.addCalendarDays(s,1))if(this.dateFilter(s))return!0;return!1}_isYearAndMonthAfterMaxDate(i,a){if(this.maxDate){let r=this._dateAdapter.getYear(this.maxDate),s=this._dateAdapter.getMonth(this.maxDate);return i>r||i===r&&a>s}return!1}_isYearAndMonthBeforeMinDate(i,a){if(this.minDate){let r=this._dateAdapter.getYear(this.minDate),s=this._dateAdapter.getMonth(this.minDate);return i<r||i===r&&a<s}return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedMonth(i){i instanceof Pa?this._selectedMonth=this._getMonthInCurrentYear(i.start)||this._getMonthInCurrentYear(i.end):this._selectedMonth=this._getMonthInCurrentYear(i)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-year-view"]],viewQuery:function(i,a){if(i&1&&mt(uo,5),i&2){let r;Pe(r=Fe())&&(a._matCalendarBody=r.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(i,a){i&1&&(I(0,"table",0)(1,"thead",1)(2,"tr"),he(3,"th",2),N()(),I(4,"tbody",3),de("selectedValueChange",function(r){return a._monthSelected(r)})("activeDateChange",function(r){return a._updateActiveDate(r)})("keyup",function(r){return a._handleCalendarBodyKeyup(r)})("keydown",function(r){return a._handleCalendarBodyKeydown(r)}),N()()),i&2&&(D(4),X("label",a._yearLabel)("rows",a._months)("todayValue",a._todayMonth)("startValue",a._selectedMonth)("endValue",a._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",a._dateAdapter.getMonth(a.activeDate)))},dependencies:[uo],encapsulation:2,changeDetection:0}));let e=t;return e})(),GS=(()=>{const t=class t{constructor(){o(this,"_intl",S(Oo));o(this,"calendar",S(yp));o(this,"_dateAdapter",S(Gi,{optional:!0}));o(this,"_dateFormats",S(Ao,{optional:!0}));o(this,"_periodButtonLabelId",S(_i).getId("mat-calendar-period-label-"));S(Li).load(Ir);let i=S($t);this.calendar.stateChanges.subscribe(()=>i.markForCheck())}get periodButtonText(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return this.calendar.currentView=="month"?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView=="month"?"multi-year":"month"}previousClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?-1:-24)}nextClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?1:Ta)}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(i,a){return this.calendar.currentView=="month"?this._dateAdapter.getYear(i)==this._dateAdapter.getYear(a)&&this._dateAdapter.getMonth(i)==this._dateAdapter.getMonth(a):this.calendar.currentView=="year"?this._dateAdapter.getYear(i)==this._dateAdapter.getYear(a):qS(this._dateAdapter,i,a,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let i=this._dateAdapter.getYear(this.calendar.activeDate)-Xo(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),a=i+Ta-1,r=this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1)),s=this._dateAdapter.getYearName(this._dateAdapter.createDate(a,0,1));return[r,s]}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Dpe,decls:17,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"click","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(i,a){i&1&&(Fi(),I(0,"div",0)(1,"div",1)(2,"span",2),B(3),N(),I(4,"button",3),de("click",function(){return a.currentPeriodClicked()}),I(5,"span",4),B(6),N(),dn(),I(7,"svg",5),he(8,"polygon",6),N()(),Dh(),he(9,"div",7),dt(10),I(11,"button",8),de("click",function(){return a.previousClicked()}),dn(),I(12,"svg",9),he(13,"path",10),N()(),Dh(),I(14,"button",11),de("click",function(){return a.nextClicked()}),dn(),I(15,"svg",9),he(16,"path",12),N()()()()),i&2&&(D(2),X("id",a._periodButtonLabelId),D(),Ee(a.periodButtonDescription),D(),_e("aria-label",a.periodButtonLabel)("aria-describedby",a._periodButtonLabelId),D(2),Ee(a.periodButtonText),D(),We("mat-calendar-invert",a.calendar.currentView!=="month"),D(4),X("disabled",!a.previousEnabled()),_e("aria-label",a.prevButtonLabel),D(3),X("disabled",!a.nextEnabled()),_e("aria-label",a.nextButtonLabel))},dependencies:[_a,So],encapsulation:2,changeDetection:0}));let e=t;return e})(),yp=(()=>{const t=class t{constructor(){o(this,"_dateAdapter",S(Gi,{optional:!0}));o(this,"_dateFormats",S(Ao,{optional:!0}));o(this,"_changeDetectorRef",S($t));o(this,"_elementRef",S(ze));o(this,"headerComponent");o(this,"_calendarHeaderPortal");o(this,"_intlChanges");o(this,"_moveFocusOnNextTick",!1);o(this,"_startAt");o(this,"startView","month");o(this,"_selected");o(this,"_minDate");o(this,"_maxDate");o(this,"dateFilter");o(this,"dateClass");o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"selectedChange",new ce);o(this,"yearSelected",new ce);o(this,"monthSelected",new ce);o(this,"viewChanged",new ce(!0));o(this,"_userSelection",new ce);o(this,"_userDragDrop",new ce);o(this,"monthView");o(this,"yearView");o(this,"multiYearView");o(this,"_clampedActiveDate");o(this,"_currentView");o(this,"_activeDrag",null);o(this,"stateChanges",new le);this._intlChanges=S(Oo).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(i){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get selected(){return this._selected}set selected(i){i instanceof Pa?this._selected=i:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get activeDate(){return this._clampedActiveDate}set activeDate(i){this._clampedActiveDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(i){let a=this._currentView!==i?i:null;this._currentView=i,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),a&&this.viewChanged.emit(a)}ngAfterContentInit(){this._calendarHeaderPortal=new Ln(this.headerComponent||GS),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(i){let a=i.minDate&&!this._dateAdapter.sameDate(i.minDate.previousValue,i.minDate.currentValue)?i.minDate:void 0,r=i.maxDate&&!this._dateAdapter.sameDate(i.maxDate.previousValue,i.maxDate.currentValue)?i.maxDate:void 0,s=a||r||i.dateFilter;if(s&&!s.firstChange){let l=this._getCurrentViewComponent();l&&(this._elementRef.nativeElement.contains(Qr())&&(this._moveFocusOnNextTick=!0),this._changeDetectorRef.detectChanges(),l._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(i){let a=i.value;(this.selected instanceof Pa||a&&!this._dateAdapter.sameDate(a,this.selected))&&this.selectedChange.emit(a),this._userSelection.emit(i)}_yearSelectedInMultiYearView(i){this.yearSelected.emit(i)}_monthSelectedInYearView(i){this.monthSelected.emit(i)}_goToDateInView(i,a){this.activeDate=i,this.currentView=a}_dragStarted(i){this._activeDrag=i}_dragEnded(i){this._activeDrag&&(i.value&&this._userDragDrop.emit(i),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-calendar"]],viewQuery:function(i,a){if(i&1&&(mt(Fy,5),mt(zy,5),mt(Vy,5)),i&2){let r;Pe(r=Fe())&&(a.monthView=r.first),Pe(r=Fe())&&(a.yearView=r.first),Pe(r=Fe())&&(a.multiYearView=r.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[bi([HS]),vi],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(i,a){if(i&1&&(se(0,Ipe,0,0,"ng-template",0),I(1,"div",1),se(2,Ape,1,11,"mat-month-view",2)(3,Ope,1,6,"mat-year-view",3)(4,Tpe,1,6,"mat-multi-year-view",3),N()),i&2){let r;X("cdkPortalOutlet",a._calendarHeaderPortal),D(2),oe((r=a.currentView)==="month"?2:r==="year"?3:r==="multi-year"?4:-1)}},dependencies:[Sr,Cre,Fy,zy,Vy],styles:[`.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size))}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight));--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}@media(forced-colors: active){.mat-calendar-arrow{fill:CanvasText}}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight))}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color, transparent)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}
|
|
51
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),YS=new $("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let e=S(xi);return()=>e.scrollStrategies.reposition()}});function
|
|
52
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),jy=(()=>{const t=class t{constructor(){o(this,"_overlay",S(xi));o(this,"_viewContainerRef",S(jn));o(this,"_dateAdapter",S(Gi,{optional:!0}));o(this,"_dir",S($i,{optional:!0}));o(this,"_model",S(Ds));o(this,"_scrollStrategy",S(YS));o(this,"_inputStateChanges",ct.EMPTY);o(this,"_document",S(et));o(this,"calendarHeaderComponent");o(this,"_startAt");o(this,"startView","month");o(this,"_color");o(this,"touchUi",!1);o(this,"_disabled");o(this,"xPosition","start");o(this,"yPosition","below");o(this,"restoreFocus",!0);o(this,"yearSelected",new ce);o(this,"monthSelected",new ce);o(this,"viewChanged",new ce(!0));o(this,"dateClass");o(this,"openedStream",new ce);o(this,"closedStream",new ce);o(this,"_panelClass");o(this,"_opened",!1);o(this,"id",S(_i).getId("mat-datepicker-"));o(this,"_overlayRef");o(this,"_componentRef");o(this,"_focusedElementBeforeOpen",null);o(this,"_backdropHarnessClass",`${this.id}-backdrop`);o(this,"_actionsPortal");o(this,"datepickerInput");o(this,"stateChanges",new le);o(this,"_injector",S(lt));o(this,"_changeDetectorRef",S($t));this._dateAdapter,this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(i){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(i){this._color=i}get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(i){i!==this._disabled&&(this._disabled=i,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(i){this._panelClass=Qre(i)}get opened(){return this._opened}set opened(i){i?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(i){let a=i.xPosition||i.yPosition;if(a&&!a.firstChange&&this._overlayRef){let r=this._overlayRef.getConfig().positionStrategy;r instanceof bw&&(this._setConnectedPositions(r),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(i){this._model.add(i)}_selectYear(i){this.yearSelected.emit(i)}_selectMonth(i){this.monthSelected.emit(i)}_viewChanged(i){this.viewChanged.emit(i)}registerInput(i){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=i,this._inputStateChanges=i.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(i){var a;this._actionsPortal,this._actionsPortal=i,(a=this._componentRef)==null||a.instance._assignActions(i,!0)}removeActions(i){var a;i===this._actionsPortal&&(this._actionsPortal=null,(a=this._componentRef)==null||a.instance._assignActions(null,!0))}open(){var i;this._opened||this.disabled||(i=this._componentRef)!=null&&i.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=Qr(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){var r;if(!this._opened||(r=this._componentRef)!=null&&r.instance._isAnimating)return;let i=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",a=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:s,location:l}=this._componentRef;s._animationDone.pipe(Ei(1)).subscribe(()=>{let c=this._document.activeElement;i&&(!c||c===this._document.activeElement||l.nativeElement.contains(c))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()}),s._startExitAnimation()}i?setTimeout(a):a()}_applyPendingSelection(){var i,a;(a=(i=this._componentRef)==null?void 0:i.instance)==null||a._applyPendingSelection()}_forwardContentValues(i){i.datepicker=this,i.color=this.color,i._dialogLabelId=this.datepickerInput.getOverlayLabelId(),i._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let i=this.touchUi,a=new Ln(WS,this._viewContainerRef),r=this._overlayRef=this._overlay.create(new rl({positionStrategy:i?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[i?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:i?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:`mat-datepicker-${i?"dialog":"popup"}`}));this._getCloseStream(r).subscribe(s=>{s&&s.preventDefault(),this.close()}),r.keydownEvents().subscribe(s=>{let l=s.keyCode;(l===38||l===40||l===37||l===39||l===33||l===34)&&s.preventDefault()}),this._componentRef=r.attach(a),this._forwardContentValues(this._componentRef.instance),i||gr(()=>{r.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){let i=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(i)}_setConnectedPositions(i){let a=this.xPosition==="end"?"end":"start",r=a==="start"?"end":"start",s=this.yPosition==="above"?"bottom":"top",l=s==="top"?"bottom":"top";return i.withPositions([{originX:a,originY:l,overlayX:a,overlayY:s},{originX:a,originY:s,overlayX:a,overlayY:l},{originX:r,originY:l,overlayX:r,overlayY:s},{originX:r,originY:s,overlayX:r,overlayY:l}])}_getCloseStream(i){let a=["ctrlKey","shiftKey","metaKey"];return Xi(i.backdropClick(),i.detachments(),i.keydownEvents().pipe(oi(r=>r.keyCode===27&&!Di(r)||this.datepickerInput&&Di(r,"altKey")&&r.keyCode===38&&a.every(s=>!Di(r,s)))))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",qe],disabled:[2,"disabled","disabled",qe],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",qe],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",qe]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[vi]}));let e=t;return e})(),Upe=(()=>{const t=class t extends jy{};o(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})()),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[bi([HS,{provide:jy,useExisting:t}]),Pt],decls:0,vars:0,template:function(i,a){},encapsulation:2,changeDetection:0}));let e=t;return e})(),Gl=class{constructor(e,t){o(this,"target");o(this,"targetElement");o(this,"value");this.target=e,this.targetElement=t,this.value=this.target.value}},Gpe=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_dateAdapter",S(Gi,{optional:!0}));o(this,"_dateFormats",S(Ao,{optional:!0}));o(this,"_isInitialized");o(this,"_model");o(this,"_disabled");o(this,"dateChange",new ce);o(this,"dateInput",new ce);o(this,"stateChanges",new le);o(this,"_onTouched",()=>{});o(this,"_validatorOnChange",()=>{});o(this,"_cvaOnChange",()=>{});o(this,"_valueChangesSubscription",ct.EMPTY);o(this,"_localeSubscription",ct.EMPTY);o(this,"_pendingValue");o(this,"_parseValidator",()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}});o(this,"_filterValidator",i=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value));return!a||this._matchesFilter(a)?null:{matDatepickerFilter:!0}});o(this,"_minValidator",i=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value)),r=this._getMinDate();return!r||!a||this._dateAdapter.compareDate(r,a)<=0?null:{matDatepickerMin:{min:r,actual:a}}});o(this,"_maxValidator",i=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value)),r=this._getMaxDate();return!r||!a||this._dateAdapter.compareDate(r,a)>=0?null:{matDatepickerMax:{max:r,actual:a}}});o(this,"_lastValueValid",!1);this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(i){this._assignValueProgrammatically(i)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(i){let a=i,r=this._elementRef.nativeElement;this._disabled!==a&&(this._disabled=a,this.stateChanges.next(void 0)),a&&this._isInitialized&&r.blur&&r.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(i){this._model=i,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(a=>{if(this._shouldHandleChangeEvent(a)){let r=this._getValueFromModel(a.selection);this._lastValueValid=this._isValidValue(r),this._cvaOnChange(r),this._onTouched(),this._formatValue(r),this.dateInput.emit(new Gl(this,this._elementRef.nativeElement)),this.dateChange.emit(new Gl(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(i){Ype(i,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(i){this._validatorOnChange=i}validate(i){return this._validator?this._validator(i):null}writeValue(i){this._assignValueProgrammatically(i)}registerOnChange(i){this._cvaOnChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i}_onKeydown(i){let a=["ctrlKey","shiftKey","metaKey"];Di(i,"altKey")&&i.keyCode===40&&a.every(r=>!Di(i,r))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),i.preventDefault())}_onInput(i){let a=this._lastValueValid,r=this._dateAdapter.parse(i,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(r),r=this._dateAdapter.getValidDateOrNull(r);let s=!this._dateAdapter.sameDate(r,this.value);!r||s?this._cvaOnChange(r):(i&&!this.value&&this._cvaOnChange(r),a!==this._lastValueValid&&this._validatorOnChange()),s&&(this._assignValue(r),this.dateInput.emit(new Gl(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Gl(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(i){this._elementRef.nativeElement.value=i!=null?this._dateAdapter.format(i,this._dateFormats.display.dateInput):""}_assignValue(i){this._model?(this._assignValueToModel(i),this._pendingValue=null):this._pendingValue=i}_isValidValue(i){return!i||this._dateAdapter.isValid(i)}_parentDisabled(){return!1}_assignValueProgrammatically(i){i=this._dateAdapter.deserialize(i),this._lastValueValid=this._isValidValue(i),i=this._dateAdapter.getValidDateOrNull(i),this._assignValue(i),this._formatValue(i)}_matchesFilter(i){let a=this._getDateFilter();return!a||a(i)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,inputs:{value:"value",disabled:[2,"disabled","disabled",qe]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[vi]}));let e=t;return e})();function Ype(e,t){let n=Object.keys(e);for(let i of n){let{previousValue:a,currentValue:r}=e[i];if(t.isDateInstance(a)&&t.isDateInstance(r)){if(!t.sameDate(a,r))return!0}else return!0}return!1}var Wpe={provide:af,useExisting:pn(()=>Sf),multi:!0},Kpe={provide:dl,useExisting:pn(()=>Sf),multi:!0},Sf=(()=>{const t=class t extends Gpe{constructor(){super();o(this,"_formField",S(Bd,{optional:!0}));o(this,"_closedSubscription",ct.EMPTY);o(this,"_openedSubscription",ct.EMPTY);o(this,"_datepicker");o(this,"_ariaOwns",Ra(null));o(this,"_min");o(this,"_max");o(this,"_dateFilter");o(this,"_validator");this._validator=sf.compose(super._getValidators())}set matDatepicker(a){a&&(this._datepicker=a,this._ariaOwns.set(a.opened?a.id:null),this._closedSubscription=a.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=a.openedStream.subscribe(()=>{this._ariaOwns.set(a.id)}),this._registerModel(a.registerInput(this)))}get min(){return this._min}set min(a){let r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a));this._dateAdapter.sameDate(r,this._min)||(this._min=r,this._validatorOnChange())}get max(){return this._max}set max(a){let r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a));this._dateAdapter.sameDate(r,this._max)||(this._max=r,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(a){let r=this._matchesFilter(this.value);this._dateFilter=a,this._matchesFilter(this.value)!==r&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(a){return a}_assignValueToModel(a){this._model&&this._model.updateSelection(a,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(a){return a.source!==this}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",Se({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(a,r){a&1&&de("input",function(s){return r._onInput(s.target.value)})("change",function(){return r._onChange()})("blur",function(){return r._onBlur()})("keydown",function(s){return r._onKeydown(s)}),a&2&&(vn("disabled",r.disabled),_e("aria-haspopup",r._datepicker?"dialog":null)("aria-owns",r._ariaOwns())("min",r.min?r._dateAdapter.toIso8601(r.min):null)("max",r.max?r._dateAdapter.toIso8601(r.max):null)("data-mat-calendar",r._datepicker?r._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[bi([Wpe,Kpe,{provide:zS,useExisting:t}]),Pt]}));let e=t;return e})(),Zpe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matDatepickerToggleIcon",""]]}));let e=t;return e})(),KS=(()=>{const t=class t{constructor(){o(this,"_intl",S(Oo));o(this,"_changeDetectorRef",S($t));o(this,"_stateChanges",ct.EMPTY);o(this,"datepicker");o(this,"tabIndex");o(this,"ariaLabel");o(this,"_disabled");o(this,"disableRipple");o(this,"_customIcon");o(this,"_button");let i=S(new lm("tabindex"),{optional:!0}),a=Number(i);this.tabIndex=a||a===0?a:null}get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(i){this._disabled=i}ngOnChanges(i){i.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(i){this.datepicker&&!this.disabled&&(this.datepicker.open(),i.stopPropagation())}_watchStateChanges(){let i=this.datepicker?this.datepicker.stateChanges:yt(),a=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:yt(),r=this.datepicker?Xi(this.datepicker.openedStream,this.datepicker.closedStream):yt();this._stateChanges.unsubscribe(),this._stateChanges=Xi(this._intl.changes,i,a,r).subscribe(()=>this._changeDetectorRef.markForCheck())}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(i,a,r){if(i&1&&pi(r,Zpe,5),i&2){let s;Pe(s=Fe())&&(a._customIcon=s.first)}},viewQuery:function(i,a){if(i&1&&mt(Rpe,5),i&2){let r;Pe(r=Fe())&&(a._button=r.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(i,a){i&1&&de("click",function(r){return a._open(r)}),i&2&&(_e("tabindex",null)("data-mat-calendar",a.datepicker?a.datepicker.id:null),We("mat-datepicker-toggle-active",a.datepicker&&a.datepicker.opened)("mat-accent",a.datepicker&&a.datepicker.color==="accent")("mat-warn",a.datepicker&&a.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",qe],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[vi],ngContentSelectors:Ppe,decls:4,vars:7,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(i,a){i&1&&(Fi(Mpe),I(0,"button",1,0),se(2,Fpe,2,0,":svg:svg",2),dt(3),N()),i&2&&(X("disabled",a.disabled)("disableRipple",a.disableRipple),_e("aria-haspopup",a.datepicker?"dialog":null)("aria-label",a.ariaLabel||a._intl.openCalendarLabel)("tabindex",a.disabled?-1:a.tabIndex)("aria-expanded",a.datepicker?a.datepicker.opened:null),D(2),oe(a._customIcon?-1:2))},dependencies:[So],styles:[`.mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-on-surface-variant))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}}
|
|
53
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Xpe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",wt({type:t})),o(t,"ɵinj",xt({providers:[Oo,qpe],imports:[ko,jd,sw,xs,ai,WS,KS,GS,Hc]}));let e=t;return e})();function Qpe(e,t){e&1&&(I(0,"mat-error"),B(1),H(2,"translate"),N()),e&2&&(D(),Ee(W(2,1,"commons.errors.invalid_date_format")))}function Jpe(e,t){e&1&&(I(0,"mat-error"),B(1),H(2,"translate"),N()),e&2&&(D(),Ee(W(2,1,"diaryNotesPage.filters.errFrom")))}function eme(e,t){e&1&&(I(0,"mat-error"),B(1),H(2,"translate"),N()),e&2&&(D(),Ee(W(2,1,"commons.errors.invalid_date_format")))}function tme(e,t){e&1&&(I(0,"mat-error"),B(1),H(2,"translate"),N()),e&2&&(D(),Ee(W(2,1,"diaryNotesPage.filters.errUntil")))}function ime(e,t){e&1&&he(0,"mat-option",18)}function ame(e,t){if(e&1&&(I(0,"mat-option",19),B(1),N()),e&2){let n=t.$implicit;Nd("value",n),_e("translate","no"),D(),Ee(n)}}function nme(e,t){if(e&1){let n=Ke();I(0,"button",21),H(1,"translate"),H(2,"translate"),de("click",function(i){ve(n);let a=V(2);return a.filter.author="",ye(i.stopPropagation())}),he(3,"mat-icon",22),N()}e&2&&(X("title",W(1,2,"diaryNotesPage.filters.deleteSelection")),_e("aria-label",W(2,4,"diaryNotesPage.filters.deleteSelection")))}function rme(e,t){if(e&1){let n=Ke();I(0,"div",6)(1,"label",16),B(2),H(3,"translate"),N(),I(4,"mat-form-field",8)(5,"mat-select",17),Ha("ngModelChange",function(i){ve(n);let a=V();return hn(a.filter.author,i)||(a.filter.author=i),ye(i)}),se(6,ime,1,0,"mat-option",18),Mi(7,ame,2,3,"mat-option",19,va),N(),se(9,nme,4,6,"button",20),N()()}if(e&2){let n=V();D(2),Ee(W(3,4,"diaryNotesPage.filters.author")),D(3),Ba("ngModel",n.filter.author),D(),oe(n.filter.author?6:-1),D(),Pi(t),D(2),oe(n.filter.author?9:-1)}}function ome(e,t){e&1&&he(0,"mat-option",18)}function sme(e,t){if(e&1&&(I(0,"mat-option",19),B(1),H(2,"translate"),H(3,"firstLetterUppercase"),N()),e&2){let n=t.$implicit;Nd("value",n),_e("translate","no"),D(),Ie("",W(3,5,W(2,3,"commons.roles."+n.toLowerCase()))," ")}}function lme(e,t){if(e&1){let n=Ke();I(0,"button",21),H(1,"translate"),H(2,"translate"),de("click",function(i){ve(n);let a=V(2);return a.filter.role=void 0,ye(i.stopPropagation())}),he(3,"mat-icon",22),N()}e&2&&(X("title",W(1,2,"diaryNotesPage.filters.deleteSelection")),_e("aria-label",W(2,4,"diaryNotesPage.filters.deleteSelection")))}function cme(e,t){if(e&1){let n=Ke();I(0,"div",6)(1,"label",23),B(2),H(3,"translate"),N(),I(4,"mat-form-field",8)(5,"mat-select",24),Ha("ngModelChange",function(i){ve(n);let a=V();return hn(a.filter.role,i)||(a.filter.role=i),ye(i)}),se(6,ome,1,0,"mat-option",18),Mi(7,sme,4,7,"mat-option",19,va),N(),se(9,lme,4,6,"button",20),N()()}if(e&2){let n=V();D(2),Ee(W(3,4,"diaryNotesPage.filters.role")),D(3),Ba("ngModel",n.filter.role),D(),oe(n.filter.role?6:-1),D(),Pi(t),D(2),oe(n.filter.role?9:-1)}}function dme(e,t){if(e&1&&(I(0,"mat-option",19),B(1),H(2,"translate"),H(3,"firstLetterUppercase"),N()),e&2){let n=t.$implicit;Nd("value",n),D(),Ie(" ",W(3,4,W(2,2,"commons.tags."+n.toLowerCase()))," ")}}function ume(e,t){if(e&1){let n=Ke();I(0,"button",21),H(1,"translate"),H(2,"translate"),de("click",function(i){ve(n);let a=V(2);return a.filter.tags=[],ye(i.stopPropagation())}),he(3,"mat-icon",22),N()}e&2&&(X("title",W(1,2,"diaryNotesPage.filters.deleteSelection")),_e("aria-label",W(2,4,"diaryNotesPage.filters.deleteSelection")))}function hme(e,t){if(e&1){let n=Ke();I(0,"div",6)(1,"label",25),B(2),H(3,"translate"),N(),I(4,"mat-form-field",8)(5,"mat-select",26),Ha("ngModelChange",function(i){ve(n);let a=V();return hn(a.filter.tags,i)||(a.filter.tags=i),ye(i)}),Mi(6,dme,4,6,"mat-option",19,va),N(),se(8,ume,4,6,"button",20),N()()}if(e&2){let n=V();D(2),Ee(W(3,3,"diaryNotesPage.filters.tags")),D(3),Ba("ngModel",n.filter.tags),D(),Pi(t),D(2),oe((n.filter==null||n.filter.tags==null?null:n.filter.tags.length)>0?8:-1)}}var pme=(()=>{const t=class t{constructor(){this.translateService=S(Bn),this.dateAdapter=S(Gi),this.destroyRef=S(Hi),this.data=S(Jm),this.today=new Date,this.filter={dateRange:{from:null,until:null}},this.setActiveFilters=i=>{this.filter=Qe(Q({},i),{dateRange:{from:i.dateRange.from?new Date(i.dateRange.from):null,until:i.dateRange.until?new Date(i.dateRange.until):null}})}}ngOnInit(){this.dateAdapter.setLocale(this.translateService.currentLang),this.filterOptions=this.data.filterOptions,this.authors=this.filterOptions.authors,this.roles=this.filterOptions.roles,this.tags=this.filterOptions.tags,this.data.activeFilters$.pipe(wZ()).subscribe(this.setActiveFilters),this.translateService.onLangChange.pipe(wo(this.destroyRef)).subscribe(({lang:i})=>{this.dateAdapter.setLocale(i)})}onSelectFromDate(i){this.filter.dateRange.from=i.value}onSelectUntilDate(i){this.filter.dateRange.until=i.value}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],decls:40,vars:33,consts:[["dateRangeFrom","ngModel"],["fromPicker",""],["dateRangeUntil","ngModel"],["untilPicker",""],["mat-dialog-title",""],[1,"date-range"],[1,"mh-form-field"],["for","fromFilter"],["appearance","outline"],["id","fromFilter","matInput","","name","fromPicker","placeholder","dd/mm/yyyy",3,"ngModelChange","dateChange","ngModel","matDatepicker","max"],["matSuffix","",3,"for"],["startView","month",3,"startAt"],["for","untilDate"],["id","untilDate","matInput","","name","untilPicker","placeholder","dd/mm/yyyy",3,"ngModelChange","dateChange","ngModel","matDatepicker","min","max"],["mat-button","","mat-dialog-close",""],["mat-flat-button","","type","button",3,"disabled","mat-dialog-close"],["for","author"],["id","author","name","author",3,"ngModelChange","ngModel"],["value",""],[3,"value"],["matSuffix","","mat-icon-button","",3,"title"],["matSuffix","","mat-icon-button","",3,"click","title"],["aria-hidden","true","fontIcon","close"],["for","role"],["id","role","name","role",3,"ngModelChange","ngModel"],["for","tags"],["id","tags","name","tags","multiple","",3,"ngModelChange","ngModel"]],template:function(i,a){if(i&1){let r=Ke();I(0,"h2",4),B(1),H(2,"translate"),N(),I(3,"mat-dialog-content")(4,"form")(5,"div",5)(6,"div",6)(7,"label",7),B(8),H(9,"translate"),N(),I(10,"mat-form-field",8)(11,"input",9,0),Ha("ngModelChange",function(s){return ve(r),hn(a.filter.dateRange.from,s)||(a.filter.dateRange.from=s),ye(s)}),de("dateChange",function(s){return ve(r),ye(a.onSelectFromDate(s))}),N(),he(13,"mat-datepicker-toggle",10)(14,"mat-datepicker",11,1),se(16,Qpe,3,3,"mat-error")(17,Jpe,3,3,"mat-error"),N()(),I(18,"div",6)(19,"label",12),B(20),H(21,"translate"),N(),I(22,"mat-form-field",8)(23,"input",13,2),Ha("ngModelChange",function(s){return ve(r),hn(a.filter.dateRange.until,s)||(a.filter.dateRange.until=s),ye(s)}),de("dateChange",function(s){return ve(r),ye(a.onSelectUntilDate(s))}),N(),he(25,"mat-datepicker-toggle",10)(26,"mat-datepicker",11,3),se(28,eme,3,3,"mat-error")(29,tme,3,3,"mat-error"),N()()(),se(30,rme,10,6,"div",6)(31,cme,10,6,"div",6)(32,hme,9,5,"div",6),N()(),I(33,"mat-dialog-actions")(34,"button",14),B(35),H(36,"translate"),N(),I(37,"button",15),B(38),H(39,"translate"),N()()}if(i&2){let r,s,l,c=Dn(12),d=Dn(15),u=Dn(24),p=Dn(27);D(),Ee(W(2,23,"diaryNotesPage.filters.filter")),D(7),Ee(W(9,25,"diaryNotesPage.filters.from")),D(3),Ba("ngModel",a.filter.dateRange.from),X("matDatepicker",d)("max",a.filter.dateRange.until?a.filter.dateRange.until:a.today),D(2),X("for",d),D(),X("startAt",a.today),D(2),oe(c.hasError("matDatepickerParse")?16:c.hasError("matDatepickerMax")?17:-1),D(4),Ee(W(21,27,"diaryNotesPage.filters.until")),D(3),Ba("ngModel",a.filter.dateRange.until),X("matDatepicker",p)("min",a.filter.dateRange.from)("max",a.today),D(2),X("for",p),D(),X("startAt",a.today),D(2),oe(u.hasError("matDatepickerParse")?28:u.hasError("matDatepickerMin")?29:-1),D(2),oe((r=a.authors)?30:-1,r),D(),oe((s=a.roles)?31:-1,s),D(),oe((l=a.tags)?32:-1,l),D(3),Ie(" ",W(36,29,"diaryNotesPage.cancel")," "),D(2),X("disabled",c.invalid||u.invalid)("mat-dialog-close",a.filter),D(),Ie(" ",W(39,31,"diaryNotesPage.confirm")," ")}},dependencies:[ll,Hd,KS,Upe,ff,Yd,cl,ol,iS,gle,$d,Uw,Qse,hf,Gd,So,Sf,jS,sl,ef,Ss,Aw,Nse,dpe,Xpe,sS,cp,ko,_a,ba,xf,Hn,ise],styles:["@media only screen and (min-width: 960px){.date-range[_ngcontent-%COMP%]{display:flex;gap:16px}.date-range[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:100%}}"]});let e=t;return e})();function mme(e,t){if(e&1){let n=Ke();I(0,"mat-chip",4),de("removed",function(){ve(n);let i=V(2);return ye(i.onClearFilter("author"))}),B(1),H(2,"translate"),I(3,"span"),B(4),H(5,"firstLetterUppercase"),N(),I(6,"button",5),he(7,"mat-icon",6),N()()}if(e&2){let n=V(),i=V();X("removable",!0)("disabled",i.disabled),D(),Ie(" ",W(2,5,"diaryNotesPage.filters.author"),": "),D(2),_e("translate","no"),D(),Ee(W(5,7,n.author))}}function fme(e,t){if(e&1){let n=Ke();I(0,"mat-chip",4),de("removed",function(){ve(n);let i=V(2);return ye(i.onClearFilter("role"))}),B(1),H(2,"translate"),I(3,"span"),B(4),H(5,"translate"),H(6,"firstLetterUppercase"),N(),I(7,"button",5),he(8,"mat-icon",6),N()()}if(e&2){let n=V(),i=V();X("removable",!0)("disabled",i.disabled),D(),Ie(" ",W(2,5,"diaryNotesPage.filters.role"),": "),D(2),_e("translate","no"),D(),Ie("",W(6,9,W(5,7,"commons.roles."+n.role.toLowerCase()))," ")}}function gme(e,t){e&1&&B(0," , ")}function vme(e,t){if(e&1&&(B(0),H(1,"translate"),H(2,"firstLetterUppercase"),se(3,gme,1,0)),e&2){let n=t.$implicit,i=t.$index,a=t.$count;Ie(" ",W(2,4,W(1,2,"commons.tags."+n.toLowerCase()))," "),D(3),oe(i!==a-1?3:-1)}}function yme(e,t){if(e&1){let n=Ke();I(0,"mat-chip",4),de("removed",function(){ve(n);let i=V(2);return ye(i.onClearFilter("tags"))}),B(1),H(2,"translate"),I(3,"span"),Mi(4,vme,4,6,null,null,va),N(),I(6,"button",5),he(7,"mat-icon",6),N()()}if(e&2){let n=V(),i=V();X("removable",!0)("disabled",i.disabled),D(),Ie(" ",W(2,4,"diaryNotesPage.filters.tags"),":"),D(2),_e("translate","no"),D(),Pi(n==null?null:n.tags)}}function bme(e,t){if(e&1&&(B(0),H(1,"translate"),H(2,"date")),e&2){let n=V(2);_r(" ",W(1,2,"diaryNotesPage.filters.from")," : ",xr(2,4,n==null?null:n.dateRange.from,"dd/MM/yyyy")," ")}}function _me(e,t){if(e&1&&(B(0),H(1,"translate"),H(2,"date")),e&2){let n=V(2);_r(" ",W(1,2,"diaryNotesPage.filters.until")," : ",xr(2,4,n==null?null:n.dateRange.until,"dd/MM/yyyy")," ")}}function xme(e,t){if(e&1){let n=Ke();I(0,"mat-chip",4),de("removed",function(){ve(n);let i=V(2);return ye(i.onClearFilter("range"))}),se(1,bme,3,7)(2,_me,3,7),I(3,"button",5),he(4,"mat-icon",6),N()()}if(e&2){let n=V(),i=V();X("removable",!0)("disabled",i.disabled),D(),oe(n.dateRange.from?1:-1),D(),oe(n!=null&&n.dateRange.until?2:-1)}}function wme(e,t){if(e&1&&(I(0,"mat-chip-set"),se(1,mme,8,9,"mat-chip",3)(2,fme,9,11,"mat-chip",3)(3,yme,8,6,"mat-chip",3)(4,xme,5,4,"mat-chip",3),N()),e&2){let n=t;D(),oe(n!=null&&n.author&&n.author!==""?1:-1),D(),oe(n!=null&&n.role&&n.role!==""?2:-1),D(),oe(n!=null&&n.tags&&n.tags.length>0?3:-1),D(),oe(n.dateRange.from||n!=null&&n.dateRange.until?4:-1)}}var Sme=(()=>{const t=class t{constructor(){this.diarynoteService=S(Cs),this.destroyRef=S(Hi),this.dialog=S(Ar),this.activeFilters$=this.diarynoteService.filterState$.pipe(vc({refCount:!0,bufferSize:1}))}onShowFilterDialog(){this.dialog.open(pme,{data:{filterOptions:this.filterOptions,activeFilters$:this.activeFilters$}}).beforeClosed().pipe(oi(i=>i),wo(this.destroyRef)).subscribe(i=>{this.diarynoteService.updateFilter(i)})}onClearFilter(i){this.diarynoteService.clearFilterByKey(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-diarynotes-filter-block"]],inputs:{filterOptions:"filterOptions",services:"services",disabled:"disabled"},decls:7,vars:7,consts:[[1,"filter-container"],["mat-stroked-button","",3,"click","disabled"],["fontIcon","tune"],[3,"removable","disabled"],[3,"removed","removable","disabled"],["matChipRemove",""],["fontIcon","close"]],template:function(i,a){if(i&1&&(I(0,"div",0)(1,"button",1),de("click",function(){return a.onShowFilterDialog()}),he(2,"mat-icon",2),B(3),H(4,"translate"),N(),se(5,wme,5,4,"mat-chip-set"),H(6,"async"),N()),i&2){let r;D(),X("disabled",a.disabled),D(2),Ie(" ",W(4,3,"diaryNotesPage.filters.filter")," "),D(2),oe((r=W(6,5,a.activeFilters$))?5:-1,r)}},dependencies:[ba,xf,x1,_1,_a,Hn,ape,Xd,VS,ipe],styles:[".filter-container[_ngcontent-%COMP%]{margin-bottom:1rem;display:flex;align-items:center}"]});let e=t;return e})(),kme=["*"],Eme=new $("MAT_CARD_CONFIG"),Cme=(()=>{const t=class t{constructor(){o(this,"appearance");let i=S(Eme,{optional:!0});this.appearance=(i==null?void 0:i.appearance)||"raised"}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(i,a){i&2&&We("mat-mdc-card-outlined",a.appearance==="outlined")("mdc-card--outlined",a.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:kme,decls:1,vars:0,template:function(i,a){i&1&&(Fi(),dt(0))},styles:[`.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-sys-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-sys-corner-medium));border-width:var(--mdc-outlined-card-outline-width, 1px);border-color:var(--mdc-outlined-card-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}
|
|
54
|
-
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Dme=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),Ime=(()=>{const t=class t{constructor(){o(this,"align","start")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(i,a){i&2&&We("mat-mdc-card-actions-align-end",a.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]}));let e=t;return e})(),Ame=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],decls:14,vars:14,consts:[["mat-dialog-title",""],["mat-button","","type","button",3,"mat-dialog-close"],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),N(),I(3,"mat-dialog-content")(4,"p"),B(5),H(6,"translate"),N()(),I(7,"mat-dialog-actions")(8,"button",1),B(9),H(10,"translate"),N(),I(11,"button",2),B(12),H(13,"translate"),N()()),i&2&&(D(),Ee(W(2,6,"diaryNotesPage.delete-dialog.title")),D(4),Ee(W(6,8,"diaryNotesPage.delete-dialog.message")),D(3),X("mat-dialog-close",!1),D(),Ie(" ",W(10,10,"diaryNotesPage.delete-dialog.cancel")," "),D(2),X("mat-dialog-close",!0),D(),Ie(" ",W(13,12,"diaryNotesPage.delete-dialog.confirm")," "))},dependencies:[ll,cl,ba,_a,ol,sl],encapsulation:2});let e=t;return e})(),Ome=(()=>{const t=class t{constructor(){this.rolesMapData={patient:"patient",physician:"persphysician",midwife:"persmidwife",nurse:"persnurse",dentist:"persdentist",pharmacist:"perspharmacist"}}transform(i,a){return this.diaryNote!==i&&(this.diaryNote=i,this.user=a,this.setCanDelete()),this.canDelete}setCanDelete(){this.canDelete=this.diaryNote&&this.user?this.canDeleteDiaryNote(this.diaryNote):!1}canDeleteDiaryNote(i){var r,s,l,c,d,u,p,v,f;let a=this.user.organization?(r=this.user.organization[this.getOrganizationType(this.user.organization)])==null?void 0:r.nihii:void 0;return((s=i==null?void 0:i.source)==null?void 0:s.toLowerCase())==="vitalink"&&(i==null?void 0:i.status)==="completed"&&this.equalsCheck((l=i==null?void 0:i.author)==null?void 0:l.role,this.mapRole(this.user.role))&&(this.equalsCheck((c=i==null?void 0:i.author)==null?void 0:c.ssin,(d=this.user)==null?void 0:d.ssin)||this.equalsCheck((u=i==null?void 0:i.author)==null?void 0:u.nihdi,(p=this.user.professional)==null?void 0:p.nihii11)||this.equalsCheck((f=(v=i==null?void 0:i.author)==null?void 0:v.organization)==null?void 0:f.nihdi,a))}mapRole(i){return this.rolesMapData[i]||"patient"}equalsCheck(i,a){return i===a&&!!i}getOrganizationType(i){let a=["pharmacy"],r=null;return a.forEach(s=>{i[s]&&(r=s)}),r}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=xo({name:"canDeleteDiarynote",type:t,pure:!0});let e=t;return e})(),ZS=e=>({"strike-through":e}),Tme=e=>({count:e});function Nme(e,t){if(e&1&&(I(0,"span",1),B(1),H(2,"translate"),N()),e&2){let n=V().$implicit;D(),_r("",W(2,2,"diaryNotesPage.table.error")," ( ",n.id," )")}}function Rme(e,t){if(e&1&&(I(0,"mat-chip",6),B(1),H(2,"translate"),N()),e&2){let n=t.$implicit;X("disableRipple",!0),D(),Ie(" ",W(2,2,"commons.tags."+n)," ")}}function Mme(e,t){if(e&1&&(he(0,"dt",5),I(1,"dd")(2,"mat-chip-set"),Mi(3,Rme,3,4,"mat-chip",6,va),N()()),e&2){let n=V(2).$implicit;D(3),Pi(n.tags)}}function Pme(e,t){if(e&1){let n=Ke();I(0,"mat-chip",9),de("click",function(){let i=ve(n).$index,a=V(3).$implicit,r=V();return ye(r.onDownloadFile(a,i))}),he(1,"mat-icon",10),B(2),H(3,"attachementFilename"),N()}if(e&2){let n=t.$implicit,i=t.$index;D(2),Ie(" ",xr(3,1,n.contentType,i)," ")}}function Fme(e,t){if(e&1&&(I(0,"dt"),B(1),H(2,"translate"),N(),I(3,"dd",7),Mi(4,Pme,4,4,"mat-chip",8,va),N()),e&2){let n=V(2).$implicit,i=V();D(),Ee(xr(2,2,"diaryNotesPage.table.attachment",Pc(5,Tme,n.attachments.length))),D(2),X("ngClass",Pc(7,ZS,!i.diaryNoteCompleted(n.status))),D(),Pi(n.attachments)}}function Lme(e,t){if(e&1){let n=Ke();I(0,"button",11),de("click",function(){ve(n);let i=V(2).$implicit,a=V();return ye(a.onDeleteNote(i))}),he(1,"mat-icon",12),N()}}function Vme(e,t){if(e&1&&(I(0,"dl"),se(1,Mme,5,0),I(2,"dt"),B(3),H(4,"translate"),N(),I(5,"dd"),B(6),H(7,"date"),N(),I(8,"dt"),B(9),H(10,"translate"),N(),I(11,"dd"),B(12),H(13,"firstLetterUppercase"),H(14,"firstLetterUppercase"),H(15,"translate"),H(16,"firstLetterUppercase"),N(),I(17,"dt"),B(18),H(19,"translate"),N(),he(20,"dd",2),H(21,"firstLetterUppercase"),se(22,Fme,6,9),N(),I(23,"mat-card-actions",3),se(24,Lme,2,0,"button",4),H(25,"canDeleteDiarynote"),N()),e&2){let n=V().$implicit,i=V();D(),oe((n.tags==null?null:n.tags.length)>0?1:-1),D(2),Ee(W(4,13,"diaryNotesPage.table.date")),D(3),Ee(xr(7,15,n.creation,"dd/MM/yyyy")),D(3),Ee(W(10,18,"diaryNotesPage.table.author")),D(2),_e("translate","no"),D(),e1(" ",W(13,20,n.author.lastName)," ",W(14,22,n.author.firstName)," (",W(16,26,W(15,24,"commons.roles."+n.author.role.toLowerCase())),") "),D(6),Ee(W(19,28,"diaryNotesPage.table.note")),D(2),X("ngClass",Pc(35,ZS,!i.diaryNoteCompleted(n.status)))("innerHTML",W(21,30,n.content),JQ),D(2),oe((n.attachments==null?null:n.attachments.length)>0?22:-1),D(2),oe(xr(25,32,n,i.userInfo)?24:-1)}}function zme(e,t){if(e&1&&(I(0,"mat-card")(1,"mat-card-content")(2,"div",0),se(3,Nme,3,4,"span",1)(4,Vme,26,37),N()()()),e&2){let n=t.$implicit;D(3),oe(n!=null&&n.error?3:4)}}var jme=(()=>{const t=class t{constructor(){this.diarynoteService=S(Cs),this.dialog=S(Ar),this.destroyRef=S(Hi)}diaryNoteCompleted(i){return Cs.isDiaryNoteCompleted(i)}onDownloadFile(i,a){this.diarynoteService.downloadSpecificDiaryNoteAttachment(i.id,i.version,i.source,i.subject.ssin,a)}onDeleteNote(i){this.dialog.open(Ame).beforeClosed().pipe(oi(a=>a),wo(this.destroyRef)).subscribe(()=>{this.diarynoteService.deleteDiaryNote(i.id,i.version,i.source,i.subject.ssin)})}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-diarynotes-table"]],inputs:{diaryNoteDataItems:"diaryNoteDataItems",services:"services",userInfo:"userInfo"},decls:2,vars:0,consts:[[1,"content-wrapper"],[1,"error-text"],[3,"ngClass","innerHTML"],["align","end"],["mat-icon-button","","aria-label","Delete"],[1,"no-colon"],[1,"mh-black","mh-no-overlay",3,"disableRipple"],[3,"ngClass"],["clickable",""],["clickable","",3,"click"],["aria-hidden","true","fontIcon","insert_drive_file"],["mat-icon-button","","aria-label","Delete",3,"click"],["fontIcon","delete"]],template:function(i,a){i&1&&Mi(0,zme,5,1,"mat-card",null,va),i&2&&Pi(a.diaryNoteDataItems)},dependencies:[Qs,x1,ba,xf,Cme,Dme,Hn,So,Ime,gpe,Ome,Xd],styles:['mat-card[_ngcontent-%COMP%]{margin-bottom:10px;box-sizing:border-box}.content-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}mat-card-actions[_ngcontent-%COMP%]{margin:0;padding:0;display:flex;align-items:center}.strike-through[_ngcontent-%COMP%], .strike-through[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{text-decoration:line-through!important}dl[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 1fr;column-gap:16px;row-gap:6px;align-items:center}dt[_ngcontent-%COMP%]{font-weight:700;margin:0;position:relative}dt[_ngcontent-%COMP%]:not(.no-colon):after{content:":";position:absolute;right:-8px}dd[_ngcontent-%COMP%]{margin:0}']});let e=t;return e})(),Bme=()=>[10,25,50],Hme=e=>({addNote:e}),$me=()=>({height:"47px",margin:"0"});function qme(e,t){e&1&&(I(0,"div"),B(1,"Component not properly initialized!"),N())}function Ume(e,t){if(e&1){let n=Ke();I(0,"div",2),he(1,"vidis-diarynotes-filter-block",5),I(2,"vidis-sort-dropdown",6),de("sortDataChange",function(i){ve(n);let a=V(3);return ye(a.handleSortEvent(i))}),N()()}if(e&2){let n=V(),i=V(2);D(),X("filterOptions",n.data==null?null:n.data.availableFilters)("services",i.services)("disabled",n.status===i.loadingStatus.LOADING),D(),X("sortItems",i.sortDropdownData)("sortData",i.sortDataState())("disabled",n.status===i.loadingStatus.LOADING)}}function Gme(e,t){if(e&1&&he(0,"vidis-status-message",3),e&2){let n=V();X("error",n.error)}}function Yme(e,t){if(e&1&&he(0,"vidis-error-display",8),e&2){let n=t.$implicit;X("message",n.code)}}function Wme(e,t){if(e&1&&Mi(0,Yme,1,1,"vidis-error-display",8,va),e&2){let n=V(2);Pi(n.data==null?null:n.data.errors)}}function Kme(e,t){if(e&1){let n=Ke();he(0,"vidis-diarynotes-table",9),I(1,"mat-paginator",10),H(2,"async"),de("page",function(i){ve(n);let a=V(4);return ye(a.handlePageEvent(i))}),N()}if(e&2){let n=V(2),i=V(2);X("diaryNoteDataItems",n.data==null?null:n.data.items)("services",i.services)("userInfo",i.userInfo),D(),X("length",n.data==null?null:n.data.totalItems)("pageSize",W(2,8,i.paginationState$).pageSize)("pageIndex",n.data==null?null:n.data.page)("pageSizeOptions",a1(10,Bme))("disabled",(n.data==null?null:n.data.totalItems)<=0)}}function Zme(e,t){e&1&&(I(0,"h3"),B(1),H(2,"translate"),N(),I(3,"div",11)(4,"p",12),B(5),H(6,"translate"),he(7,"br"),B(8),H(9,"translate"),H(10,"translate"),N(),I(11,"p",12),B(12),H(13,"translate"),he(14,"br"),B(15),H(16,"translate"),he(17,"br"),B(18),H(19,"translate"),he(20,"br"),B(21),H(22,"translate"),N()()),e&2&&(D(),Ee(W(2,7,"diaryNotesPage.noDiaryNotes")),D(4),Ie(" ",W(6,9,"diaryNotesPage.noNote.part1"),""),D(3),Ie(" ",xr(10,13,"diaryNotesPage.noNote.part2",Pc(24,Hme,W(9,11,"diaryNotesPage.table.addNote")))," "),D(4),Ie(" ",W(13,16,"diaryNotesPage.noNote.part3")," :"),D(3),Ie(" ",W(16,18,"diaryNotesPage.noNote.part4"),""),D(3),Ie(" ",W(19,20,"diaryNotesPage.noNote.part5"),""),D(3),Ie(" ",W(22,22,"diaryNotesPage.noNote.part6")," "))}function Xme(e,t){if(e&1){let n=Ke();I(0,"p",7)(1,"span"),B(2),H(3,"translate"),N(),I(4,"button",13),de("click",function(){ve(n);let i=V(4);return ye(i.clearAllFilters())}),B(5),H(6,"translate"),N()()}e&2&&(D(2),Ee(W(3,2,"diaryNotesPage.filters.nonefound")),D(3),Ie(" ",W(6,4,"diaryNotesPage.filters.clearfilters")," "))}function Qme(e,t){if(e&1&&(se(0,Wme,2,0)(1,Kme,3,11),H(2,"async"),se(3,Zme,23,26)(4,Xme,7,6,"p",7)),e&2){let n=V(),i=V(2);oe(!(n.data==null||n.data.errors==null)&&n.data.errors.length?0:-1),D(),oe((n.data==null?null:n.data.totalItems)>0?1:W(2,2,i.isFilterEmpty$)?3:4)}}function Jme(e,t){e&1&&he(0,"ngx-skeleton-loader",4),e&2&&X("count",10)("theme",a1(2,$me))}function efe(e,t){if(e&1){let n=Ke();I(0,"div")(1,"button",0),de("click",function(){ve(n);let i=V(2);return ye(i.onAddNote())}),I(2,"mat-icon",1),B(3,"add_circle"),N(),B(4),H(5,"translate"),N()(),se(6,Ume,3,6,"div",2),H(7,"async"),se(8,Gme,1,1,"vidis-status-message",3)(9,Qme,5,4)(10,Jme,1,3,"ngx-skeleton-loader",4)}if(e&2){let n,i=t,a=V(2);D(),X("disabled",i.status===a.loadingStatus.LOADING),D(3),Ie(" ",W(5,4,"diaryNotesPage.table.addNote")," "),D(2),oe((i.data==null?null:i.data.totalItems)>0||W(7,6,a.isFilterEmpty$)===!1?6:-1),D(2),oe((n=i.status)===a.loadingStatus.ERROR?8:n===a.loadingStatus.SUCCESS?9:n===a.loadingStatus.LOADING?10:-1)}}function tfe(e,t){if(e&1&&(se(0,efe,11,8),H(1,"async"),I(2,"span"),B(3),H(4,"translate"),N()),e&2){let n,i=V();oe((n=W(1,2,i.diarynotesState$))?0:-1,n),D(3),Ee(W(4,4,"diaryNotesPage.disclaimer"))}}var ife=(()=>{const t=class t extends _he{constructor(){super(...arguments),this.dialog=S(Ar),this.getTotalItems=new ce,this.extraRequiredFields=["professional","ssin","offlineDataStorageEnabled","isOfflineAuthenticated","exchangeClientId"],this.loadingStatus=Pn,this.sortDropdownData=["date","author","role"]}fetchData(i){return Et(this,null,function*(){return this.diarynoteService.setClientId(this.exchangeClientId),this.diarynoteService.fetchDiarynotes(i)})}onAddNote(){this.dialog.open(fpe).beforeClosed().pipe(oi(i=>i),wo(this.destroyRef)).subscribe(i=>{this.diarynoteService.postDiarynote(i.text,i.file)})}clearAllFilters(){this.diarynoteService.clearFilter()}handlePageEvent(i){let a={page:i.pageIndex,pageSize:i.pageSize};this.diarynoteService.updatePagination(a)}handleSortEvent(i){this.diarynoteService.updateSorting(i)}injectService(){this.authServiceSelector.getInstance().resolveUserInfo().then(i=>{this.userInfo=i}).catch(i=>console.error("Failed to load user info",i)),this.diarynoteService=this.injector.get(Cs),this.diarynotesState$=this.diarynoteService.diarynotesState$,this.paginationState$=this.diarynoteService.paginationState$,gd(this.injector,()=>{this.sortDataState=gre(this.diarynoteService.sortState$)}),this.isFilterEmpty$=this.diarynoteService.filterState$.pipe(Dt(i=>!i.dateRange.from&&!i.dateRange.until&&!i.author&&!i.role&&(!i.tags||i.tags.length===0))),this.diarynoteService.diarynotesState$.pipe(Dt(i=>{var a;return((a=i==null?void 0:i.data)==null?void 0:a.totalItems)??0})).subscribe(i=>this.getTotalItems.emit(i)),this.diarynotesState$.subscribe(i=>{this.checkError(i.error)})}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],inputs:{exchangeClientId:"exchangeClientId"},outputs:{getTotalItems:"getTotalItems"},features:[bi([Cs,MS,FS,Khe]),Pt],decls:2,vars:1,consts:[["mat-button","","color","primary",3,"click","disabled"],[1,"mr-2"],[1,"filter-container"],[3,"error"],[3,"count","theme"],[3,"filterOptions","services","disabled"],[3,"sortDataChange","sortItems","sortData","disabled"],[1,"text-center"],[3,"message"],[3,"diaryNoteDataItems","services","userInfo"],["showFirstLastButtons","",3,"page","length","pageSize","pageIndex","pageSizeOptions","disabled"],[1,"no-diary-notes__content"],[1,"description"],["mat-button","",3,"click"]],template:function(i,a){i&1&&se(0,qme,2,0,"div")(1,tfe,5,6),i&2&&oe(a.isCorrectlySetup()?1:0)},dependencies:[hce,_a,Hn,jme,Sme,khe,jhe,zhe,ba,_1,Mhe,pce],styles:["@media only screen and (min-width: 960px){.filter-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}div[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}}.text-center[_ngcontent-%COMP%]{text-align:center}.no-diary-notes[_ngcontent-%COMP%]{background:#fff;padding:40px;border-radius:8px;position:relative}.no-diary-notes__content[_ngcontent-%COMP%]{margin-top:30px;border-left:8px solid #2473db;padding-left:30px}.no-diary-notes__content[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{max-width:50%}"]});let e=t;return e})(),XS={};Ae(XS,{default:()=>afe,friday:()=>ik,monday:()=>QS,saturday:()=>ak,sunday:()=>nk,thursday:()=>tk,tuesday:()=>JS,wednesday:()=>ek});var QS="Montag",JS="Dienstag",ek="Mittwoch",tk="Donnerstag",ik="Freitag",ak="Samstag",nk="Sonntag",afe={monday:QS,tuesday:JS,wednesday:ek,thursday:tk,friday:ik,saturday:ak,sunday:nk},rk={};Ae(rk,{default:()=>nfe,friday:()=>dk,monday:()=>ok,saturday:()=>uk,sunday:()=>hk,thursday:()=>ck,tuesday:()=>sk,wednesday:()=>lk});var ok="Monday",sk="Tuesday",lk="Wednesday",ck="Thursday",dk="Friday",uk="Saturday",hk="Sunday",nfe={monday:ok,tuesday:sk,wednesday:lk,thursday:ck,friday:dk,saturday:uk,sunday:hk},pk={};Ae(pk,{default:()=>rfe,friday:()=>yk,monday:()=>mk,saturday:()=>bk,sunday:()=>_k,thursday:()=>vk,tuesday:()=>fk,wednesday:()=>gk});var mk="Lundi",fk="Mardi",gk="Mercredi",vk="Jeudi",yk="Vendredi",bk="Samedi",_k="Dimanche",rfe={monday:mk,tuesday:fk,wednesday:gk,thursday:vk,friday:yk,saturday:bk,sunday:_k},xk={};Ae(xk,{default:()=>ofe,friday:()=>Ck,monday:()=>wk,saturday:()=>Dk,sunday:()=>Ik,thursday:()=>Ek,tuesday:()=>Sk,wednesday:()=>kk});var wk="Maandag",Sk="Dinsdag",kk="Woensdag",Ek="Donderdag",Ck="Vrijdag",Dk="Zaterdag",Ik="Zondag",ofe={monday:wk,tuesday:Sk,wednesday:kk,thursday:Ek,friday:Ck,saturday:Dk,sunday:Ik},sfe={nl:xk,fr:pk,de:XS,en:rk},Ak={};Ae(Ak,{VIDIS_0035:()=>Ok,VIDIS_0050:()=>Tk,VIDIS_0090:()=>Nk,VIDIS_0100:()=>lE,VIDIS_0110:()=>dE,VIDIS_0120:()=>cE,VIDIS_0121:()=>Rk,VIDIS_0122:()=>Mk,VIDIS_0123:()=>Pk,VIDIS_0124:()=>Fk,VIDIS_0125:()=>Lk,VIDIS_0126:()=>Vk,VIDIS_0131:()=>zk,VIDIS_0132:()=>jk,VIDIS_0133:()=>Bk,VIDIS_0134:()=>Hk,VIDIS_0135:()=>$k,VIDIS_0136:()=>qk,VIDIS_0190:()=>Uk,VIDIS_0200:()=>uE,VIDIS_0210:()=>Gk,VIDIS_0211:()=>Yk,VIDIS_0230:()=>Wk,VIDIS_0290:()=>Kk,VIDIS_0330:()=>Zk,VIDIS_0340:()=>hE,VIDIS_0341:()=>pE,VIDIS_0400:()=>oE,VIDIS_04001:()=>mE,VIDIS_0435:()=>Xk,VIDIS_0440:()=>Qk,VIDIS_3030:()=>sE,VIDIS_3090:()=>iE,VIDIS_3100:()=>nE,VIDIS_3120:()=>rE,VIDIS_3140:()=>aE,VIDIS_3150:()=>tE,VIDIS_5000:()=>Jk,VIDIS_7000:()=>eE,"action-not-authorized-close-button":()=>PE,"action-not-authorized-title":()=>ME,"data-not-available-title":()=>RE,default:()=>lfe,general:()=>gE,"has-hidden-prescriptions":()=>kE,invalid_date_format:()=>xE,myHealth:()=>yE,myHealthUrl:()=>bE,network_error:()=>_E,"no-access":()=>vE,prescriptionList:()=>fE,"report-message-confirm-toast":()=>NE,"report-message-content":()=>DE,"report-message-explanation":()=>CE,"report-message-ignore-button":()=>TE,"report-message-link":()=>AE,"report-message-report-button":()=>OE,"report-message-term-use":()=>IE,"report-message-title":()=>EE,"status-message-content":()=>SE,"status-message-title":()=>wE});var Ok="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",Tk="Die Patienten-INSS fehlt. (VIDIS_0050)",Nk="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",Rk="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",Mk="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",Pk="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",Fk="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",Lk="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",Vk="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",zk="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",jk="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",Bk="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",Hk="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",$k="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",qk="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",Uk="Ungültige INSS-Patientennummer. (VIDIS_0190)",Gk="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",Yk="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",Wk="Der Vorgang ist ungültig (VIDIS_0230)",Kk='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',Zk="Ihre Authentifizierungsstufe erlaubt keinen Zugriff auf diese Seite. Bitte melden Sie sich mit einem anderen Authentifizierungsmittel an (itsme, eID oder mit einem per E-Mail oder App verschickten Sicherheitscode). (VIDIS_0330)",Xk="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",Qk="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",Jk="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",eE="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",tE="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",iE="Das Rezept ist abgelaufen.",aE="Reservierungen müssen bei derselben Apotheke erfolgen wie die, bei der das Visi-Flag gesetzt wurde. Sie können das Visi-Flag auch offen lassen.",nE="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",rE="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",oE="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",sE="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",lE="Vorgang nicht erlaubt.",cE="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",dE="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",uE="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",hE="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, da Ihr Visum nicht aktiv ist. Bitte wenden Sie sich per E-Mail unter visa@health.belgium.be an den FÖD Gesundheit.",pE="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, entweder weil Ihr Visum nicht aktiv ist, bitte wenden Sie sich in diesem Fall per E-Mail an den FÖD Gesundheit unter visa@health.belgium.be, oder weil die LIKIV-Nummer der Apotheke ungültig ist, bitte kontaktieren Sie in diesem Fall das LIKIV per E-Mail unter dossierpharma@riziv-inami.fgov.be.",mE="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",fE="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",gE="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",vE="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",yE="Zurück zum Portal Meine Gesundheit",bE="https://wwwint.meinegesundheit.belgien.be/#/",_E="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",xE="Ungültiges Datumsformat.",wE="Dienst vorübergehend nicht verfügbar",SE=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
|
|
55
|
-
Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,kE="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",EE="Technisches Problem",CE="Bitte versuchen Sie es später noch einmal.",DE="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",IE="unsere Nutzungsbedingungen",AE="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",OE="Problem melden",TE="Nicht melden",NE="Das Problem wurde gemeldet",RE="Daten nicht verfügbar",ME="Aktion nicht erlaubt",PE="Schließen",
|
|
56
|
-
Please try again later.`,TC="The patient has hidden one or more prescriptions.",NC="Technical problem",RC="Please try again later.",MC="Help us identify and resolve the issue. By reporting it, you accept ",PC="our terms of use",FC="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",LC="Report the problem",VC="Don't report",zC="The problem has been reported",jC="Data not available",BC="Action not authorized",HC="Close",
|
|
57
|
-
Veuillez réessayer plus tard.`,VD="Le patient a masqué une ou plusieurs prescriptions.",zD="Problème technique",jD="Veuillez réessayer plus tard.",BD="Aidez-nous à identifier et résoudre le problème. En le signalant vous acceptez nos ",HD="conditions d'utilisation",$D="https://www.riziv.fgov.be/fr/page/declaration-de-confidentialite-application-mobile-masante",qD="Signaler le problème",UD="Ignorer",GD="Le problème a été signalé",YD="Données non disponibles",WD="Action non autorisée",KD="Fermer",
|
|
58
|
-
Probeer het later nog eens.`,UI="De patiënt heeft 1 of meerdere voorschriften verborgen.",GI="Technisch probleem",YI="Probeer het later opnieuw.",WI="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",KI="gebruiksvoorwaarden",ZI="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",XI="Probleem melden",QI="Niet melden",JI="Het probleem is gemeld",e2="Gegevens niet beschikbaar",t2="Actie niet toegestaan",i2="Sluiten",ufe={VIDIS_0035:XD,VIDIS_0050:QD,VIDIS_0090:JD,VIDIS_0121:eI,VIDIS_0122:tI,VIDIS_0123:iI,VIDIS_0124:aI,VIDIS_0125:nI,VIDIS_0126:rI,VIDIS_0131:oI,VIDIS_0132:sI,VIDIS_0133:lI,VIDIS_0134:cI,VIDIS_0135:dI,VIDIS_0136:uI,VIDIS_0190:hI,VIDIS_0210:pI,VIDIS_0211:mI,VIDIS_0230:fI,VIDIS_0290:gI,VIDIS_0330:vI,VIDIS_0435:yI,VIDIS_0440:bI,VIDIS_5000:_I,VIDIS_7000:xI,VIDIS_3150:wI,VIDIS_3090:SI,VIDIS_3140:kI,VIDIS_3100:EI,VIDIS_3120:CI,VIDIS_0400:DI,VIDIS_3030:II,VIDIS_0100:AI,VIDIS_0120:OI,VIDIS_0110:TI,VIDIS_0200:NI,VIDIS_0340:RI,VIDIS_0341:MI,VIDIS_04001:PI,prescriptionList:FI,general:LI,"no-access":VI,myHealth:zI,myHealthUrl:jI,network_error:BI,invalid_date_format:HI,"status-message-title":$I,"status-message-content":qI,"has-hidden-prescriptions":UI,"report-message-title":GI,"report-message-explanation":YI,"report-message-content":WI,"report-message-term-use":KI,"report-message-link":ZI,"report-message-report-button":XI,"report-message-ignore-button":QI,"report-message-confirm-toast":JI,"data-not-available-title":e2,"action-not-authorized-title":t2,"action-not-authorized-close-button":i2},hfe={nl:ZD,fr:$C,de:Ak,en:FE},a2={};Ae(a2,{close:()=>n2,default:()=>pfe,downloadLeaflet:()=>r2,file:()=>o2});var n2="Schließen",r2="Download Packungsbeilage (pdf)",o2="feile",pfe={close:n2,downloadLeaflet:r2,file:o2},s2={};Ae(s2,{close:()=>l2,default:()=>mfe,downloadLeaflet:()=>c2,file:()=>d2});var l2="Close",c2="Download leaflet (pdf)",d2="file",mfe={close:l2,downloadLeaflet:c2,file:d2},u2={};Ae(u2,{close:()=>h2,default:()=>ffe,downloadLeaflet:()=>p2,file:()=>m2});var h2="Fermer",p2="Télécharger la notice (pdf)",m2="fichier",ffe={close:h2,downloadLeaflet:p2,file:m2},f2={};Ae(f2,{close:()=>g2,default:()=>gfe,downloadLeaflet:()=>v2,file:()=>y2});var g2="Sluiten",v2="Download bijsluiter (pdf)",y2="bestand",gfe={close:g2,downloadLeaflet:v2,file:y2},vfe={nl:f2,fr:u2,de:a2,en:s2},b2={};Ae(b2,{default:()=>yfe,firstPage:()=>_2,itemsPerPage:()=>k2,lastPage:()=>x2,nextPage:()=>w2,prevPage:()=>S2});var _2="Erste Seite",x2="Letzte Seite",w2="Nächste Seite",S2="Vorherige Seite",k2="Anzahl pro Seite",yfe={firstPage:_2,lastPage:x2,nextPage:w2,prevPage:S2,itemsPerPage:k2},E2={};Ae(E2,{default:()=>bfe,firstPage:()=>C2,itemsPerPage:()=>O2,lastPage:()=>D2,nextPage:()=>I2,prevPage:()=>A2});var C2="First page",D2="Last page",I2="Next page",A2="Previous page",O2="Number per page",bfe={firstPage:C2,lastPage:D2,nextPage:I2,prevPage:A2,itemsPerPage:O2},T2={};Ae(T2,{default:()=>_fe,firstPage:()=>N2,itemsPerPage:()=>F2,lastPage:()=>R2,nextPage:()=>M2,prevPage:()=>P2});var N2="Première page",R2="Dernière page",M2="Page suivante",P2="Page précédente",F2="Nombre par page",_fe={firstPage:N2,lastPage:R2,nextPage:M2,prevPage:P2,itemsPerPage:F2},L2={};Ae(L2,{default:()=>xfe,firstPage:()=>V2,itemsPerPage:()=>H2,lastPage:()=>z2,nextPage:()=>j2,prevPage:()=>B2});var V2="Eerste pagina",z2="Laatste pagina",j2="Volgende pagina",B2="Vorige pagina",H2="Aantal per pagina",xfe={firstPage:V2,lastPage:z2,nextPage:j2,prevPage:B2,itemsPerPage:H2},wfe={nl:L2,fr:T2,de:b2,en:E2},$2={};Ae($2,{afterbreakfast:()=>q2,afterdinner:()=>U2,afterlunch:()=>G2,aftermeal:()=>Y2,afternoon:()=>W2,beforebreakfast:()=>K2,beforedinner:()=>Z2,beforelunch:()=>X2,betweenbreakfastandlunch:()=>Q2,betweendinnerandsleep:()=>J2,betweenlunchanddinner:()=>eA,betweenmeals:()=>tA,breakfast:()=>iA,default:()=>Sfe,dinner:()=>aA,duringbreakfast:()=>nA,duringdinner:()=>rA,duringlunch:()=>oA,evening:()=>sA,lunch:()=>lA,morning:()=>cA,night:()=>dA,thehourofsleep:()=>uA});var q2="nach dem Frühstück",U2="nach dem Abendessen",G2="nach dem Mittagessen",Y2="nach dem Essen",W2="Nachmittag",K2="vor dem Frühstück",Z2="vor dem Abendessen",X2="vor dem Mittagessen",Q2="zwischen Frühstück und Mittagessen",J2="zwischen Abendessen und Nachtruhe",eA="zwischen Mittagessen und Abendessen",tA="zwischen den Mahlzeiten",iA="Frühstück",aA="Abendessen",nA="zum Frühstück",rA="zum Abendessen",oA="zum Mittagessen",sA="Abend",lA="Mittagessen",cA="Vormittag",dA="Nacht",uA="Nachtruhe",Sfe={afterbreakfast:q2,afterdinner:U2,afterlunch:G2,aftermeal:Y2,afternoon:W2,beforebreakfast:K2,beforedinner:Z2,beforelunch:X2,betweenbreakfastandlunch:Q2,betweendinnerandsleep:J2,betweenlunchanddinner:eA,betweenmeals:tA,breakfast:iA,dinner:aA,duringbreakfast:nA,duringdinner:rA,duringlunch:oA,evening:sA,lunch:lA,morning:cA,night:dA,thehourofsleep:uA},hA={};Ae(hA,{afterbreakfast:()=>pA,afterdinner:()=>mA,afterlunch:()=>fA,aftermeal:()=>gA,afternoon:()=>vA,beforebreakfast:()=>yA,beforedinner:()=>bA,beforelunch:()=>_A,betweenbreakfastandlunch:()=>xA,betweendinnerandsleep:()=>wA,betweenlunchanddinner:()=>SA,betweenmeals:()=>kA,breakfast:()=>EA,default:()=>kfe,dinner:()=>CA,duringbreakfast:()=>DA,duringdinner:()=>IA,duringlunch:()=>AA,evening:()=>OA,lunch:()=>TA,morning:()=>NA,night:()=>RA,thehourofsleep:()=>MA});var pA="after breakfast",mA="after dinner",fA="after lunch",gA="after meal",vA="afternoon",yA="before breakfast",bA="before dinner",_A="before lunch",xA="between breakfast and lunch",wA="between dinner and the hour of sleep",SA="between lunch and dinner",kA="between meals",EA="breakfast",CA="dinner",DA="during breakfast",IA="during dinner",AA="during lunch",OA="evening",TA="lunch",NA="morning",RA="night",MA="the hour of sleep",kfe={afterbreakfast:pA,afterdinner:mA,afterlunch:fA,aftermeal:gA,afternoon:vA,beforebreakfast:yA,beforedinner:bA,beforelunch:_A,betweenbreakfastandlunch:xA,betweendinnerandsleep:wA,betweenlunchanddinner:SA,betweenmeals:kA,breakfast:EA,dinner:CA,duringbreakfast:DA,duringdinner:IA,duringlunch:AA,evening:OA,lunch:TA,morning:NA,night:RA,thehourofsleep:MA},PA={};Ae(PA,{afterbreakfast:()=>FA,afterdinner:()=>LA,afterlunch:()=>VA,aftermeal:()=>zA,afternoon:()=>jA,beforebreakfast:()=>BA,beforedinner:()=>HA,beforelunch:()=>$A,betweenbreakfastandlunch:()=>qA,betweendinnerandsleep:()=>UA,betweenlunchanddinner:()=>GA,betweenmeals:()=>YA,breakfast:()=>WA,default:()=>Efe,dinner:()=>KA,duringbreakfast:()=>ZA,duringdinner:()=>XA,duringlunch:()=>QA,evening:()=>JA,lunch:()=>eO,morning:()=>tO,night:()=>iO,thehourofsleep:()=>aO});var FA="après le petit-déjeuner",LA="après le repas du soir",VA="après le repas du midi",zA="après le repas",jA="après-midi",BA="avant le petit-déjeuner",HA="avant le repas du soir",$A="avant le repas du midi",qA="entre le petit-déjeuner et le repas du midi",UA="entre le repas du soir et l’heure du coucher",GA="entre le repas du midi et le repas du soir",YA="entre les repas",WA="petit-déjeuner",KA="repas du soir",ZA="pendant le petit-déjeuner",XA="pendant le repas du soir",QA="pendant le repas du midi",JA="soir",eO="repas du midi",tO="matin",iO="nuit",aO="heure du coucher",Efe={afterbreakfast:FA,afterdinner:LA,afterlunch:VA,aftermeal:zA,afternoon:jA,beforebreakfast:BA,beforedinner:HA,beforelunch:$A,betweenbreakfastandlunch:qA,betweendinnerandsleep:UA,betweenlunchanddinner:GA,betweenmeals:YA,breakfast:WA,dinner:KA,duringbreakfast:ZA,duringdinner:XA,duringlunch:QA,evening:JA,lunch:eO,morning:tO,night:iO,thehourofsleep:aO},nO={};Ae(nO,{afterbreakfast:()=>rO,afterdinner:()=>oO,afterlunch:()=>sO,aftermeal:()=>lO,afternoon:()=>cO,beforebreakfast:()=>dO,beforedinner:()=>uO,beforelunch:()=>hO,betweenbreakfastandlunch:()=>pO,betweendinnerandsleep:()=>mO,betweenlunchanddinner:()=>fO,betweenmeals:()=>gO,breakfast:()=>vO,default:()=>Cfe,dinner:()=>yO,duringbreakfast:()=>bO,duringdinner:()=>_O,duringlunch:()=>xO,evening:()=>wO,lunch:()=>SO,morning:()=>kO,night:()=>EO,thehourofsleep:()=>CO});var rO="na het ontbijt",oO="na het avondmaal",sO="na het middagmaal",lO="na de maaltijd",cO="namiddag",dO="voor het ontbijt",uO="voor het avondmaal",hO="voor het middagmaal",pO="tussen het ontbijt en het middagmaal",mO="tussen het avondmaal en het slapen gaan",fO="tussen het middagmaal en het avondmaal",gO="tussen de maaltijden",vO="ontbijt",yO="avondmaal",bO="tijdens het ontbijt",_O="tijdens het avondmaal",xO="tijdens het middagmaal",wO="'s avonds",SO="middagmaal",kO="'s ochtends",EO="'s nachts",CO="voor het slapen gaan",Cfe={afterbreakfast:rO,afterdinner:oO,afterlunch:sO,aftermeal:lO,afternoon:cO,beforebreakfast:dO,beforedinner:uO,beforelunch:hO,betweenbreakfastandlunch:pO,betweendinnerandsleep:mO,betweenlunchanddinner:fO,betweenmeals:gO,breakfast:vO,dinner:yO,duringbreakfast:bO,duringdinner:_O,duringlunch:xO,evening:wO,lunch:SO,morning:kO,night:EO,thehourofsleep:CO},Dfe={nl:nO,fr:PA,de:$2,en:hA},DO={};Ae(DO,{ambulance_driver:()=>IO,ambulance_first_aid:()=>AO,ambulance_rescuer:()=>OO,application:()=>TO,applied_psychology_bachelor:()=>NO,audician:()=>RO,audiologist:()=>MO,biologist_pharmacist:()=>PO,care_giver:()=>FO,certificateholder:()=>LO,citizen:()=>VO,clinical_orthopedic_pedagogue:()=>zO,clinical_psychologist:()=>jO,default:()=>Ife,dental_hygienist:()=>BO,dentist:()=>HO,deptalgology:()=>$O,deptanatomopathology:()=>qO,deptanesthesiology:()=>UO,deptbacteriology:()=>GO,deptcardiacsurgery:()=>YO,deptcardiology:()=>WO,deptchildandadolescentpsychiatry:()=>KO,deptdentistry:()=>ZO,deptdermatology:()=>XO,deptdiabetology:()=>QO,deptdietetics:()=>JO,deptemergency:()=>eT,deptendocrinology:()=>tT,deptgastroenterology:()=>iT,deptgeneralpractice:()=>aT,deptgenetics:()=>nT,deptgeriatry:()=>rT,deptgynecology:()=>oT,depthandsurgery:()=>sT,depthematology:()=>lT,deptinfectiousdisease:()=>cT,deptintensivecare:()=>dT,deptkinesitherapy:()=>uT,deptlaboratory:()=>hT,deptmajorburns:()=>pT,deptmaxillofacialsurgery:()=>mT,deptmedicine:()=>fT,deptmolecularbiology:()=>gT,deptneonatalogy:()=>vT,deptnephrology:()=>yT,deptneurology:()=>bT,deptneurosurgery:()=>_T,deptnte:()=>xT,deptnuclear:()=>wT,deptnursing:()=>ST,deptnutritiondietetics:()=>kT,deptobstetrics:()=>ET,deptoccupationaltherapy:()=>CT,deptoncology:()=>DT,deptophtalmology:()=>IT,deptorthopedy:()=>AT,deptpalliativecare:()=>OT,deptpediatricintensivecare:()=>TT,deptpediatricsurgery:()=>NT,deptpediatry:()=>RT,deptpharmacy:()=>MT,deptphysicalmedecine:()=>PT,deptphysiotherapy:()=>FT,deptplasticandreparatorysurgery:()=>LT,deptpneumology:()=>VT,deptpodiatry:()=>zT,deptpodology:()=>jT,deptpsychiatry:()=>BT,deptpsychogeriatry:()=>HT,deptpsychology:()=>$T,deptradiology:()=>qT,deptradiotherapy:()=>UT,deptrevalidation:()=>GT,deptrheumatology:()=>YT,deptrhumatology:()=>WT,deptsenology:()=>KT,deptsocialservice:()=>ZT,deptspeechtherapy:()=>XT,deptsportsmedecine:()=>QT,deptstomatology:()=>JT,deptsurgery:()=>eN,deptthoracicsurgery:()=>tN,depttoxicology:()=>iN,depttropicalmedecine:()=>aN,depturology:()=>nN,deptvascularsurgery:()=>rN,deptvisceraldigestiveabdominalsurgery:()=>oN,diabete_equipment_supplier:()=>sN,dietician:()=>lN,doctor:()=>cN,family_science_bachelor:()=>dN,gerontology_master:()=>uN,groupofnurses:()=>hN,groupofphysiciansdifferentaddress:()=>pN,groupofphysicianssameaddress:()=>mN,guardpost:()=>fN,hub:()=>gN,imaging_technologist:()=>vN,implantprovider:()=>yN,lab_technologist:()=>bN,logopedist:()=>_N,midwife:()=>xN,nurse:()=>wN,occupational_therapist:()=>SN,optician:()=>kN,orghospital:()=>EN,orginsurance:()=>CN,orglaboratory:()=>DN,orgpharmacy:()=>IN,orgpharmacyinvoicingoffice:()=>AN,orgpolyclinic:()=>ON,orgpractice:()=>TN,orgprevention:()=>NN,orgprimaryhealthcarecenter:()=>RN,orgpsychiatriccarehome:()=>MN,orgpublichealth:()=>PN,orgretirementhome:()=>FN,orgrevalidationcenter:()=>LN,orgshelteredliving:()=>VN,orthopedagogist_master:()=>zN,orthopedist:()=>jN,orthoptist:()=>BN,orthotist:()=>HN,patient:()=>$N,pediatric_nurse:()=>qN,persadministrative:()=>UN,persambulancefirstaid:()=>GN,persappliedpsychbachelor:()=>YN,persaudician:()=>WN,persaudiologist:()=>KN,persbandagistorthosiologist:()=>ZN,persbiologist:()=>XN,perscaregiver:()=>QN,persclinicalorthopedagogist:()=>JN,persclinicalpsychologist:()=>eR,persdentist:()=>tR,persdietician:()=>iR,perseducator:()=>aR,persfamilysciencebachelor:()=>nR,persgerontologymaster:()=>rR,perslogopedist:()=>oR,persmidwife:()=>sR,persmobilityimprover:()=>lR,persnurse:()=>cR,persoccupationaltherapist:()=>dR,persoptician:()=>uR,persoptometrist:()=>hR,persoraldentalhygienist:()=>pR,persorthopedagogistmaster:()=>mR,persorthopedist:()=>fR,persorthoptist:()=>gR,persorthotist:()=>vR,persparamedical:()=>yR,perspatientdriver:()=>bR,perspharmacist:()=>_R,perspharmacistclinicalbiologist:()=>xR,perspharmacyassistant:()=>wR,persphysician:()=>SR,persphysiotherapist:()=>kR,perspodologist:()=>ER,perspracticalnurse:()=>CR,persprosthesiologist:()=>DR,perspsychologist:()=>IR,perspsychomotortherapymaster:()=>AR,persreadaptationbachelor:()=>OR,persshoetechnologist:()=>TR,perssocialworker:()=>NR,perstechnician:()=>RR,perstrussmaker:()=>MR,pharmacist:()=>PR,pharmacist_assistant:()=>FR,physician:()=>LR,physiotherapist:()=>VR,podologist:()=>zR,practical_nurse:()=>jR,prosthetist:()=>BR,psychologist:()=>HR,psychomotor_therapy_master:()=>$R,readaptaion_bachelor:()=>qR,social_worker:()=>UR,specialized_educator:()=>GR,truss_maker:()=>YR});var IO="Rettungswagenfahrer",AO="Rettungssanitäter",OO="Rettungssanitäter",TO="Softwareapplikation",NO="Bachelor der angewandten Psychologie",RO="Hörgeräteakustiker",MO="Audiologe",PO="Fachapotheker für klinische Chemie",FO="Pflegekräfte",LO="Zertifikatinhaber",VO="Bürger",zO="Klinischer Heilpädagoge",jO="Klinischer Psychologe",BO="Dentalhygieniker",HO="Zahnarzt",$O="Algologie",qO="pathologische Anatomie",UO="Anästhesiologie",GO="Bakteriologie",YO="Herzchirurgie",WO="Kardiologie",KO="Kinder-und Jugendpsychiatrie",ZO="Zahnheilkunde",XO="Dermatologie",QO="Diabetologie",JO="Diätetik",eT="Notaufnahme",tT="Endokrinologie",iT="Gastroenterologie",aT="Allgemeinmedizin",nT="Genetik",rT="Geriatrie",oT="Gynäkologie",sT="Handchirurgie",lT="Hämatologie",cT="Infektionskrankheit",dT="Intensivmedizin",uT="Physiotherapie",hT="Labordienst/-abteilung einer Einrichtung",pT="Schwerbrandverletztenzentrum",mT="Mund-Kiefer-Gesichtschirurgie",fT="Innere Medizin",gT="Molekularbiologie",vT="Neonatologie",yT="Nephrologie",bT="Neurologie",_T="Neurologie",xT="Hals-Nasen-Ohren-Heilkunde (HNO)",wT="Nuklearmedizin",ST="Krankenpflege",kT="Diätetik",ET="Geburtshilfe",CT="Ergotherapie",DT="Onkologie",IT="Augenheilkunde",AT="Orthopädie",OT="Palliativpflege",TT="Kinder-Intensivstation",NT="Kinderchirurgie",RT="Pädiatrie",MT="Apothekendienst/-abteilung einer Einrichtung",PT="physikalische Medizin",FT="Physiotherapie",LT="plastische Chirurgie und rekonstruktive Chirurgie",VT="Pneumologie",zT="Podiatrie",jT="",BT="Psychiatrie",HT="Psychogeriatrie",$T="Psychologie",qT="Radiologie",UT="Strahlentherapie",GT="Rehabilitation",YT="Rheumatologie",WT="",KT="Senologie",ZT="Sozialdienst",XT="Logopädie",QT="Sportmedizin",JT="Stomatologie",eN="Chirurgie",tN="Thoraxchirurgie",iN="Toxikologie",aN="Tropenmedizin",nN="Urologie",rN="Vaskuläre Chirurgie",oN="Viszeralchirurgie/Abdominalchirurgie/Bauchchirurgie",sN="Lieferant von Material für Diabetesselbstverwaltung ",lN="Diätassistent",cN="Arzt",dN="Bachelor der Familienwissenschaften",uN="Master der Gerontologie",hN="Krankenpflegeverband",pN="Zusammenschluss von Ärzten, unterschiedliche Adresse",mN="Zusammenschluss von Ärzten, gleiche Adresse",fN="Schwesternstützpunkt",gN="Hub",vN="Technologe im bildgebenden Diagnoseverfahren",yN="Lieferant von Implantaten",bN="Labortechniker",_N="Logopäde",xN="Hebamme",wN="Fachkraft für Krankenpflege",SN="Ergotherapeut",kN="Optiker",EN="Krankenhaus",CN="Versicherung",DN="Unabhängiges Labor",IN="Unabhängige Apotheke",AN="Rechnungstelle für Apotheken",ON="Poliklinik",TN="Praxis",NN="Präventionsdienst",RN="Gesundheits- und Sozialzentrum",MN="psychiatrische Klinik",PN="Gesundheitsbehörde",FN="Altenheim",LN="Reha-Klinik",VN="Initiative für begleitetes Wohnen",zN="Master der Heilpädagogik",jN="Orthopäde",BN="Orthoptist-Optometrist",HN="Orthopädietechniker",$N="Patient",qN="Kinderkrankenschwester",UN="Büroangestellter",GN="Rettungswagen",YN="Bachelor in angewandter Psychologie",WN="Hörgeräteakustiker",KN="Audiologe",ZN="Bandagist Orthosiologe (Orthopädietechniker)",XN="medizinischer Labortechniker",QN="informelle Pflegeperson",JN="Klinischer Heilpädagoge",eR="Klinischer Psychologe",tR="Zahnarzt",iR="Diätassistent",aR="Erzieher",nR="Bachelor in Familienwissenschaften",rR="Master in Gerontologie",oR="Logopäde",sR="Hebamme",lR="Mobilitätsverbesserer (Orthopädietechniker)",cR="Krankenpfleger",dR="Ergotherapeut",uR="Optiker",hR="Optometrist",pR="Dentalhygieniker",mR="Master in Heilpädagogik",fR="Orthopädist",gR="Orthoptist",vR="Orthopädietechniker/Prothesenbauer",yR="medizinische Hilfskraft",bR="Fahrdienst",_R="Apotheker",xR="Fachapotheker für klinische Chemie",wR="Apothekenhelfer",SR="Arzt",kR="Physiotherapeut",ER="Podologe",CR="Pfleger",DR="Orthopädietechniker (Orthopädietechniker)",IR="Psychologe",AR="Master in Psychomotorik",OR="Bachelor in Rehabilitation",TR="Schuhtechniker (Orthopädietechniker)",NR="Sozialarbeiter",RR="Techniker für medizinische Bildgebung",MR="Bandagist",PR="Apotheker",FR="Pharmazeutisch-technischer Assistent ",LR="Arzt",VR="Physiotherapeut",zR="Podologe",jR="Pflegehelfer",BR="Prothesenhersteller",HR="Psychologe",$R="Master der psychomotorischen Therapie",qR="Bachelor der Rehabilitationswissenschaften",UR="Sozialassistent",GR="Bachelor der Erziehungswissenschaften",YR="Bandagist",Ife={ambulance_driver:IO,ambulance_first_aid:AO,ambulance_rescuer:OO,application:TO,applied_psychology_bachelor:NO,audician:RO,audiologist:MO,biologist_pharmacist:PO,care_giver:FO,certificateholder:LO,citizen:VO,clinical_orthopedic_pedagogue:zO,clinical_psychologist:jO,dental_hygienist:BO,dentist:HO,deptalgology:$O,deptanatomopathology:qO,deptanesthesiology:UO,deptbacteriology:GO,deptcardiacsurgery:YO,deptcardiology:WO,deptchildandadolescentpsychiatry:KO,deptdentistry:ZO,deptdermatology:XO,deptdiabetology:QO,deptdietetics:JO,deptemergency:eT,deptendocrinology:tT,deptgastroenterology:iT,deptgeneralpractice:aT,deptgenetics:nT,deptgeriatry:rT,deptgynecology:oT,depthandsurgery:sT,depthematology:lT,deptinfectiousdisease:cT,deptintensivecare:dT,deptkinesitherapy:uT,deptlaboratory:hT,deptmajorburns:pT,deptmaxillofacialsurgery:mT,deptmedicine:fT,deptmolecularbiology:gT,deptneonatalogy:vT,deptnephrology:yT,deptneurology:bT,deptneurosurgery:_T,deptnte:xT,deptnuclear:wT,deptnursing:ST,deptnutritiondietetics:kT,deptobstetrics:ET,deptoccupationaltherapy:CT,deptoncology:DT,deptophtalmology:IT,deptorthopedy:AT,deptpalliativecare:OT,deptpediatricintensivecare:TT,deptpediatricsurgery:NT,deptpediatry:RT,deptpharmacy:MT,deptphysicalmedecine:PT,deptphysiotherapy:FT,deptplasticandreparatorysurgery:LT,deptpneumology:VT,deptpodiatry:zT,deptpodology:jT,deptpsychiatry:BT,deptpsychogeriatry:HT,deptpsychology:$T,deptradiology:qT,deptradiotherapy:UT,deptrevalidation:GT,deptrheumatology:YT,deptrhumatology:WT,deptsenology:KT,deptsocialservice:ZT,deptspeechtherapy:XT,deptsportsmedecine:QT,deptstomatology:JT,deptsurgery:eN,deptthoracicsurgery:tN,depttoxicology:iN,depttropicalmedecine:aN,depturology:nN,deptvascularsurgery:rN,deptvisceraldigestiveabdominalsurgery:oN,diabete_equipment_supplier:sN,dietician:lN,doctor:cN,family_science_bachelor:dN,gerontology_master:uN,groupofnurses:hN,groupofphysiciansdifferentaddress:pN,groupofphysicianssameaddress:mN,guardpost:fN,hub:gN,imaging_technologist:vN,implantprovider:yN,lab_technologist:bN,logopedist:_N,midwife:xN,nurse:wN,occupational_therapist:SN,optician:kN,orghospital:EN,orginsurance:CN,orglaboratory:DN,orgpharmacy:IN,orgpharmacyinvoicingoffice:AN,orgpolyclinic:ON,orgpractice:TN,orgprevention:NN,orgprimaryhealthcarecenter:RN,orgpsychiatriccarehome:MN,orgpublichealth:PN,orgretirementhome:FN,orgrevalidationcenter:LN,orgshelteredliving:VN,orthopedagogist_master:zN,orthopedist:jN,orthoptist:BN,orthotist:HN,patient:$N,pediatric_nurse:qN,persadministrative:UN,persambulancefirstaid:GN,persappliedpsychbachelor:YN,persaudician:WN,persaudiologist:KN,persbandagistorthosiologist:ZN,persbiologist:XN,perscaregiver:QN,persclinicalorthopedagogist:JN,persclinicalpsychologist:eR,persdentist:tR,persdietician:iR,perseducator:aR,persfamilysciencebachelor:nR,persgerontologymaster:rR,perslogopedist:oR,persmidwife:sR,persmobilityimprover:lR,persnurse:cR,persoccupationaltherapist:dR,persoptician:uR,persoptometrist:hR,persoraldentalhygienist:pR,persorthopedagogistmaster:mR,persorthopedist:fR,persorthoptist:gR,persorthotist:vR,persparamedical:yR,perspatientdriver:bR,perspharmacist:_R,perspharmacistclinicalbiologist:xR,perspharmacyassistant:wR,persphysician:SR,persphysiotherapist:kR,perspodologist:ER,perspracticalnurse:CR,persprosthesiologist:DR,perspsychologist:IR,perspsychomotortherapymaster:AR,persreadaptationbachelor:OR,persshoetechnologist:TR,perssocialworker:NR,perstechnician:RR,perstrussmaker:MR,pharmacist:PR,pharmacist_assistant:FR,physician:LR,physiotherapist:VR,podologist:zR,practical_nurse:jR,prosthetist:BR,psychologist:HR,psychomotor_therapy_master:$R,readaptaion_bachelor:qR,social_worker:UR,specialized_educator:GR,truss_maker:YR},WR={};Ae(WR,{ambulance_driver:()=>KR,ambulance_first_aid:()=>ZR,ambulance_rescuer:()=>XR,application:()=>QR,applied_psychology_bachelor:()=>JR,audician:()=>eM,audiologist:()=>tM,biologist_pharmacist:()=>iM,care_giver:()=>aM,certificateholder:()=>nM,citizen:()=>rM,clinical_orthopedic_pedagogue:()=>oM,clinical_psychologist:()=>sM,default:()=>Afe,dental_hygienist:()=>lM,dentist:()=>cM,deptalgology:()=>dM,deptanatomopathology:()=>uM,deptanesthesiology:()=>hM,deptbacteriology:()=>pM,deptcardiacsurgery:()=>mM,deptcardiology:()=>fM,deptchildandadolescentpsychiatry:()=>gM,deptdentistry:()=>vM,deptdermatology:()=>yM,deptdiabetology:()=>bM,deptdietetics:()=>_M,deptemergency:()=>xM,deptendocrinology:()=>wM,deptgastroenterology:()=>SM,deptgeneralpractice:()=>kM,deptgenetics:()=>EM,deptgeriatry:()=>CM,deptgynecology:()=>DM,depthandsurgery:()=>IM,depthematology:()=>AM,deptinfectiousdisease:()=>OM,deptintensivecare:()=>TM,deptkinesitherapy:()=>NM,deptlaboratory:()=>RM,deptmajorburns:()=>MM,deptmaxillofacialsurgery:()=>PM,deptmedicine:()=>FM,deptmolecularbiology:()=>LM,deptneonatalogy:()=>VM,deptnephrology:()=>zM,deptneurology:()=>jM,deptneurosurgery:()=>BM,deptnte:()=>HM,deptnuclear:()=>$M,deptnursing:()=>qM,deptnutritiondietetics:()=>UM,deptobstetrics:()=>GM,deptoccupationaltherapy:()=>YM,deptoncology:()=>WM,deptophtalmology:()=>KM,deptorthopedy:()=>ZM,deptpalliativecare:()=>XM,deptpediatricintensivecare:()=>QM,deptpediatricsurgery:()=>JM,deptpediatry:()=>eP,deptpharmacy:()=>tP,deptphysicalmedecine:()=>iP,deptphysiotherapy:()=>aP,deptplasticandreparatorysurgery:()=>nP,deptpneumology:()=>rP,deptpodiatry:()=>oP,deptpodology:()=>sP,deptpsychiatry:()=>lP,deptpsychogeriatry:()=>cP,deptpsychology:()=>dP,deptradiology:()=>uP,deptradiotherapy:()=>hP,deptrevalidation:()=>pP,deptrheumatology:()=>mP,deptrhumatology:()=>fP,deptsenology:()=>gP,deptsocialservice:()=>vP,deptspeechtherapy:()=>yP,deptsportsmedecine:()=>bP,deptstomatology:()=>_P,deptsurgery:()=>xP,deptthoracicsurgery:()=>wP,depttoxicology:()=>SP,depttropicalmedecine:()=>kP,depturology:()=>EP,deptvascularsurgery:()=>CP,deptvisceraldigestiveabdominalsurgery:()=>DP,diabete_equipment_supplier:()=>IP,dietician:()=>AP,doctor:()=>OP,family_science_bachelor:()=>TP,gerontology_master:()=>NP,groupofnurses:()=>RP,groupofphysiciansdifferentaddress:()=>MP,groupofphysicianssameaddress:()=>PP,guardpost:()=>FP,hub:()=>LP,imaging_technologist:()=>VP,implantprovider:()=>zP,lab_technologist:()=>jP,logopedist:()=>BP,midwife:()=>HP,nurse:()=>$P,occupational_therapist:()=>qP,optician:()=>UP,orghospital:()=>GP,orginsurance:()=>YP,orglaboratory:()=>WP,orgpharmacy:()=>KP,orgpharmacyinvoicingoffice:()=>ZP,orgpolyclinic:()=>XP,orgpractice:()=>QP,orgprevention:()=>JP,orgprimaryhealthcarecenter:()=>eF,orgpsychiatriccarehome:()=>tF,orgpublichealth:()=>iF,orgretirementhome:()=>aF,orgrevalidationcenter:()=>nF,orgshelteredliving:()=>rF,orthopedagogist_master:()=>oF,orthopedist:()=>sF,orthoptist:()=>lF,orthotist:()=>cF,patient:()=>dF,pediatric_nurse:()=>uF,persadministrative:()=>hF,persambulancefirstaid:()=>pF,persappliedpsychbachelor:()=>mF,persaudician:()=>fF,persaudiologist:()=>gF,persbandagistorthosiologist:()=>vF,persbiologist:()=>yF,perscaregiver:()=>bF,persclinicalorthopedagogist:()=>_F,persclinicalpsychologist:()=>xF,persdentist:()=>wF,persdietician:()=>SF,perseducator:()=>kF,persfamilysciencebachelor:()=>EF,persgerontologymaster:()=>CF,perslogopedist:()=>DF,persmidwife:()=>IF,persmobilityimprover:()=>AF,persnurse:()=>OF,persoccupationaltherapist:()=>TF,persoptician:()=>NF,persoptometrist:()=>RF,persoraldentalhygienist:()=>MF,persorthopedagogistmaster:()=>PF,persorthopedist:()=>FF,persorthoptist:()=>LF,persorthotist:()=>VF,persparamedical:()=>zF,perspatientdriver:()=>jF,perspharmacist:()=>BF,perspharmacistclinicalbiologist:()=>HF,perspharmacyassistant:()=>$F,persphysician:()=>qF,persphysiotherapist:()=>UF,perspodologist:()=>GF,perspracticalnurse:()=>YF,persprosthesiologist:()=>WF,perspsychologist:()=>KF,perspsychomotortherapymaster:()=>ZF,persreadaptationbachelor:()=>XF,persshoetechnologist:()=>QF,perssocialworker:()=>JF,perstechnician:()=>eL,perstrussmaker:()=>tL,pharmacist:()=>iL,pharmacist_assistant:()=>aL,physician:()=>nL,physiotherapist:()=>rL,podologist:()=>oL,practical_nurse:()=>sL,prosthetist:()=>lL,psychologist:()=>cL,psychomotor_therapy_master:()=>dL,readaptaion_bachelor:()=>uL,social_worker:()=>hL,specialized_educator:()=>pL,truss_maker:()=>mL});var KR="Ambulance Driver",ZR="Ambulance First Aider",XR="Ambulance Rescuer",QR="Software application",JR="Bachelor in Applied Psychology",eM="Audician",tM="Audiologist",iM="Biologist Pharmacist",aM="Caregiver",nM="Certificate holder",rM="Citizen",oM="Clinical Orthopedic Pedagogue",sM="Clinical Psychologist",lM="Dental Hygienist",cM="Dentist",dM="Algology",uM="Anatomopathology",hM="Anesthesiology",pM="Bacteriology",mM="Cardiac surgery",fM="Cardiology",gM="Child and adolescent psychiatry",vM="Dentistry",yM="Dermatology",bM="Diabetology",_M="Dietetics",xM="Emergency",wM="Endocrinology",SM="Gastroenterology",kM="General practice",EM="Genetics",CM="Geriatry",DM="Gynecology",IM="Hand surgery",AM="Hematology",OM="Infectious disease",TM="Intensive care",NM="Kinesitherapy",RM="Laboratory service or department within an organisation",MM="Major burns",PM="Maxillofacial surgery",FM="Internal medecine",LM="Molecular biology",VM="Neonatalogy",zM="Nephrology",jM="Neurology",BM="Neurology",HM="Nose-throat-ear",$M="Nuclear",qM="Nursing",UM="Nutritional dietetics",GM="Obstetrics",YM="Occupational therapy",WM="Oncology",KM="Ophthalmology",ZM="Orthopedy",XM="Palliative care",QM="Pediatric intensive care",JM="Pediatric surgery",eP="Pediatry",tP="Pharmacy Service/Department within an organization",iP="Physical medecine",aP="Physiotherapy",nP="Plastic and reparatory surgery",rP="Pneumology",oP="Podiatry",sP="Podiatry",lP="Psychiatry",cP="Psychogeriatry",dP="Psychology",uP="Radiology",hP="Radiotherapy",pP="Revalidation",mP="Rheumatology",fP="Rhumatology",gP="Senology",vP="Social service",yP="Speech therapy",bP="Sports medecine",_P="Stomatology",xP="Surgery",wP="Thoracic surgery",SP="Toxicology",kP="Tropical medecine",EP="Urology",CP="Vascular surgery",DP="Visceral digestive abdominal surgery",IP="Diabetes Management Equipment Supplier",AP="Dietitian",OP="Doctor",TP="Bachelor in Family Science",NP="Master in Gerontology",RP="Group of nurses",MP="Group of physicians different address",PP="Group of physicians same address",FP="Guard post",LP="Hub",VP="Medical Imaging Technologist",zP="Implant Provider",jP="Laboratory Technologist",BP="Logopedist",HP="Midwife",$P="Nurse",qP="Occupational Therapist",UP="Optician",GP="Hospital",YP="Insurance",WP="Independent laboratory",KP="Independent pharmacy",ZP="Pharmacy invoicing office",XP="Polyclinic",QP="Practice organisation",JP="Prevention Service",eF="Primary health care center",tF="Psychiatric care home",iF="Public health organisation",aF="Retirementhome",nF="Revalidation center",rF="Sheltered living",oF="Master's in Orthopedagogy",sF="Orthopedist",lF="Orthoptist-Optometrist",cF="Orthotist",dF="Patient",uF="Pediatric Nurse",hF="Administrative",pF="Ambulance first aid",mF="Bachelor in Applied psychology",fF="Audician",gF="Audiologist",vF="Bandagist orthosiologist (orthopedic technologist)",yF="Medical laboratory technician",bF="Informal Caregiver",_F="Clinical orthopedagogist",xF="Clinical psychologist",wF="Dentist",SF="Dietician",kF="Educator",EF="Bachelor in Family sciences",CF="Master in Gerontological sciences",DF="Logopedist",IF="Midwife",AF="Mobility improver (orthopedic technologist)",OF="Nurse",TF="Occupational therapist",NF="Optician",RF="Optometrist",MF="Oral Dental Hygienist",PF="Master of orthopedagogist",FF="Orthopedist",LF="Orthoptist",VF="Orthotist/Prosthetist",zF="Paramedical staff",jF="Patient Transporter (non-urgent)",BF="Pharmacist",HF="Pharmacist-clinical biologist",$F="Pharmacy assistant",qF="Physician",UF="Physiotherapist",GF="Podiologist",YF="Practical nurse",WF="prosthesiologist (orthopedic technologist)",KF="Psychologist",ZF="Master in Psychomotor Therapy",XF="Bachelor in Physiotherapy and Rehabilitation",QF="shoe technologist (orthopedic technologist)",JF="Social worker",eL="Medical Imaging Technician",tL="Truss maker",iL="Pharmacist",aL="Pharmaceutical Technician Assistant",nL="Physician",rL="Physiotherapist",oL="Podiatrist",sL="Practical Nurse",lL="Prosthetist",cL="Clinical Psychologist",dL="Master's in Psychomotor Therapy",uL="Bachelor in Rehabilitation",hL="Social Worker",pL="Specialized Educator",mL="Truss Maker",Afe={ambulance_driver:KR,ambulance_first_aid:ZR,ambulance_rescuer:XR,application:QR,applied_psychology_bachelor:JR,audician:eM,audiologist:tM,biologist_pharmacist:iM,care_giver:aM,certificateholder:nM,citizen:rM,clinical_orthopedic_pedagogue:oM,clinical_psychologist:sM,dental_hygienist:lM,dentist:cM,deptalgology:dM,deptanatomopathology:uM,deptanesthesiology:hM,deptbacteriology:pM,deptcardiacsurgery:mM,deptcardiology:fM,deptchildandadolescentpsychiatry:gM,deptdentistry:vM,deptdermatology:yM,deptdiabetology:bM,deptdietetics:_M,deptemergency:xM,deptendocrinology:wM,deptgastroenterology:SM,deptgeneralpractice:kM,deptgenetics:EM,deptgeriatry:CM,deptgynecology:DM,depthandsurgery:IM,depthematology:AM,deptinfectiousdisease:OM,deptintensivecare:TM,deptkinesitherapy:NM,deptlaboratory:RM,deptmajorburns:MM,deptmaxillofacialsurgery:PM,deptmedicine:FM,deptmolecularbiology:LM,deptneonatalogy:VM,deptnephrology:zM,deptneurology:jM,deptneurosurgery:BM,deptnte:HM,deptnuclear:$M,deptnursing:qM,deptnutritiondietetics:UM,deptobstetrics:GM,deptoccupationaltherapy:YM,deptoncology:WM,deptophtalmology:KM,deptorthopedy:ZM,deptpalliativecare:XM,deptpediatricintensivecare:QM,deptpediatricsurgery:JM,deptpediatry:eP,deptpharmacy:tP,deptphysicalmedecine:iP,deptphysiotherapy:aP,deptplasticandreparatorysurgery:nP,deptpneumology:rP,deptpodiatry:oP,deptpodology:sP,deptpsychiatry:lP,deptpsychogeriatry:cP,deptpsychology:dP,deptradiology:uP,deptradiotherapy:hP,deptrevalidation:pP,deptrheumatology:mP,deptrhumatology:fP,deptsenology:gP,deptsocialservice:vP,deptspeechtherapy:yP,deptsportsmedecine:bP,deptstomatology:_P,deptsurgery:xP,deptthoracicsurgery:wP,depttoxicology:SP,depttropicalmedecine:kP,depturology:EP,deptvascularsurgery:CP,deptvisceraldigestiveabdominalsurgery:DP,diabete_equipment_supplier:IP,dietician:AP,doctor:OP,family_science_bachelor:TP,gerontology_master:NP,groupofnurses:RP,groupofphysiciansdifferentaddress:MP,groupofphysicianssameaddress:PP,guardpost:FP,hub:LP,imaging_technologist:VP,implantprovider:zP,lab_technologist:jP,logopedist:BP,midwife:HP,nurse:$P,occupational_therapist:qP,optician:UP,orghospital:GP,orginsurance:YP,orglaboratory:WP,orgpharmacy:KP,orgpharmacyinvoicingoffice:ZP,orgpolyclinic:XP,orgpractice:QP,orgprevention:JP,orgprimaryhealthcarecenter:eF,orgpsychiatriccarehome:tF,orgpublichealth:iF,orgretirementhome:aF,orgrevalidationcenter:nF,orgshelteredliving:rF,orthopedagogist_master:oF,orthopedist:sF,orthoptist:lF,orthotist:cF,patient:dF,pediatric_nurse:uF,persadministrative:hF,persambulancefirstaid:pF,persappliedpsychbachelor:mF,persaudician:fF,persaudiologist:gF,persbandagistorthosiologist:vF,persbiologist:yF,perscaregiver:bF,persclinicalorthopedagogist:_F,persclinicalpsychologist:xF,persdentist:wF,persdietician:SF,perseducator:kF,persfamilysciencebachelor:EF,persgerontologymaster:CF,perslogopedist:DF,persmidwife:IF,persmobilityimprover:AF,persnurse:OF,persoccupationaltherapist:TF,persoptician:NF,persoptometrist:RF,persoraldentalhygienist:MF,persorthopedagogistmaster:PF,persorthopedist:FF,persorthoptist:LF,persorthotist:VF,persparamedical:zF,perspatientdriver:jF,perspharmacist:BF,perspharmacistclinicalbiologist:HF,perspharmacyassistant:$F,persphysician:qF,persphysiotherapist:UF,perspodologist:GF,perspracticalnurse:YF,persprosthesiologist:WF,perspsychologist:KF,perspsychomotortherapymaster:ZF,persreadaptationbachelor:XF,persshoetechnologist:QF,perssocialworker:JF,perstechnician:eL,perstrussmaker:tL,pharmacist:iL,pharmacist_assistant:aL,physician:nL,physiotherapist:rL,podologist:oL,practical_nurse:sL,prosthetist:lL,psychologist:cL,psychomotor_therapy_master:dL,readaptaion_bachelor:uL,social_worker:hL,specialized_educator:pL,truss_maker:mL},fL={};Ae(fL,{ambulance_driver:()=>gL,ambulance_first_aid:()=>vL,ambulance_rescuer:()=>yL,application:()=>bL,applied_psychology_bachelor:()=>_L,audician:()=>xL,audiologist:()=>wL,biologist_pharmacist:()=>SL,care_giver:()=>kL,certificateholder:()=>EL,citizen:()=>CL,clinical_orthopedic_pedagogue:()=>DL,clinical_psychologist:()=>IL,default:()=>Ofe,dental_hygienist:()=>AL,dentist:()=>OL,deptalgology:()=>TL,deptanatomopathology:()=>NL,deptanesthesiology:()=>RL,deptbacteriology:()=>ML,deptcardiacsurgery:()=>PL,deptcardiology:()=>FL,deptchildandadolescentpsychiatry:()=>LL,deptdentistry:()=>VL,deptdermatology:()=>zL,deptdiabetology:()=>jL,deptdietetics:()=>BL,deptemergency:()=>HL,deptendocrinology:()=>$L,deptgastroenterology:()=>qL,deptgeneralpractice:()=>UL,deptgenetics:()=>GL,deptgeriatry:()=>YL,deptgynecology:()=>WL,depthandsurgery:()=>KL,depthematology:()=>ZL,deptinfectiousdisease:()=>XL,deptintensivecare:()=>QL,deptkinesitherapy:()=>JL,deptlaboratory:()=>eV,deptmajorburns:()=>tV,deptmaxillofacialsurgery:()=>iV,deptmedicine:()=>aV,deptmolecularbiology:()=>nV,deptneonatalogy:()=>rV,deptnephrology:()=>oV,deptneurology:()=>sV,deptneurosurgery:()=>lV,deptnte:()=>cV,deptnuclear:()=>dV,deptnursing:()=>uV,deptnutritiondietetics:()=>hV,deptobstetrics:()=>pV,deptoccupationaltherapy:()=>mV,deptoncology:()=>fV,deptophtalmology:()=>gV,deptorthopedy:()=>vV,deptpalliativecare:()=>yV,deptpediatricintensivecare:()=>bV,deptpediatricsurgery:()=>_V,deptpediatry:()=>xV,deptpharmacy:()=>wV,deptphysicalmedecine:()=>SV,deptphysiotherapy:()=>kV,deptplasticandreparatorysurgery:()=>EV,deptpneumology:()=>CV,deptpodiatry:()=>DV,deptpodology:()=>IV,deptpsychiatry:()=>AV,deptpsychogeriatry:()=>OV,deptpsychology:()=>TV,deptradiology:()=>NV,deptradiotherapy:()=>RV,deptrevalidation:()=>MV,deptrheumatology:()=>PV,deptrhumatology:()=>FV,deptsenology:()=>LV,deptsocialservice:()=>VV,deptspeechtherapy:()=>zV,deptsportsmedecine:()=>jV,deptstomatology:()=>BV,deptsurgery:()=>HV,deptthoracicsurgery:()=>$V,depttoxicology:()=>qV,depttropicalmedecine:()=>UV,depturology:()=>GV,deptvascularsurgery:()=>YV,deptvisceraldigestiveabdominalsurgery:()=>WV,diabete_equipment_supplier:()=>KV,dietician:()=>ZV,doctor:()=>XV,family_science_bachelor:()=>QV,gerontology_master:()=>JV,groupofnurses:()=>e3,groupofphysiciansdifferentaddress:()=>t3,groupofphysicianssameaddress:()=>i3,guardpost:()=>a3,hub:()=>n3,imaging_technologist:()=>r3,implantprovider:()=>o3,lab_technologist:()=>s3,logopedist:()=>l3,midwife:()=>c3,nurse:()=>d3,occupational_therapist:()=>u3,optician:()=>h3,orghospital:()=>p3,orginsurance:()=>m3,orglaboratory:()=>f3,orgpharmacy:()=>g3,orgpharmacyinvoicingoffice:()=>v3,orgpolyclinic:()=>y3,orgpractice:()=>b3,orgprevention:()=>_3,orgprimaryhealthcarecenter:()=>x3,orgpsychiatriccarehome:()=>w3,orgpublichealth:()=>S3,orgretirementhome:()=>k3,orgrevalidationcenter:()=>E3,orgshelteredliving:()=>C3,orthopedagogist_master:()=>D3,orthopedist:()=>I3,orthoptist:()=>A3,orthotist:()=>O3,patient:()=>T3,pediatric_nurse:()=>N3,persadministrative:()=>R3,persambulancefirstaid:()=>M3,persappliedpsychbachelor:()=>P3,persaudician:()=>F3,persaudiologist:()=>L3,persbandagistorthosiologist:()=>V3,persbiologist:()=>z3,perscaregiver:()=>j3,persclinicalorthopedagogist:()=>B3,persclinicalpsychologist:()=>H3,persdentist:()=>$3,persdietician:()=>q3,perseducator:()=>U3,persfamilysciencebachelor:()=>G3,persgerontologymaster:()=>Y3,perslogopedist:()=>W3,persmidwife:()=>K3,persmobilityimprover:()=>Z3,persnurse:()=>X3,persoccupationaltherapist:()=>Q3,persoptician:()=>J3,persoptometrist:()=>ez,persoraldentalhygienist:()=>tz,persorthopedagogistmaster:()=>iz,persorthopedist:()=>az,persorthoptist:()=>nz,persorthotist:()=>rz,persparamedical:()=>oz,perspatientdriver:()=>sz,perspharmacist:()=>lz,perspharmacistclinicalbiologist:()=>cz,perspharmacyassistant:()=>dz,persphysician:()=>uz,persphysiotherapist:()=>hz,perspodologist:()=>pz,perspracticalnurse:()=>mz,persprosthesiologist:()=>fz,perspsychologist:()=>gz,perspsychomotortherapymaster:()=>vz,persreadaptationbachelor:()=>yz,persshoetechnologist:()=>bz,perssocialworker:()=>_z,perstechnician:()=>xz,perstrussmaker:()=>wz,pharmacist:()=>Sz,pharmacist_assistant:()=>kz,physician:()=>Ez,physiotherapist:()=>Cz,podologist:()=>Dz,practical_nurse:()=>Iz,prosthetist:()=>Az,psychologist:()=>Oz,psychomotor_therapy_master:()=>Tz,readaptaion_bachelor:()=>Nz,social_worker:()=>Rz,specialized_educator:()=>Mz,truss_maker:()=>Pz});var gL="Ambulancier",vL="Ambulancier secouriste",yL="Ambulancier secouriste",bL="application logicielle",_L="Bachelier en psychologie appliquée",xL="Audicien",wL="Audiologue",SL="Pharmacien biologiste",kL="Personnel soignant",EL="Titulaire du certificat",CL="Citoyen",DL="Orthopédagogue clinicien",IL="Psychologue clinicien",AL="Hygiéniste bucco-dentaire",OL="Dentiste",TL="algologie",NL="anatomopathologie",RL="anesthésiologie",ML="bactériologie",PL="chirurgie cardiaque",FL="cardiologie",LL="psychiatrie de l’enfant et de l’adolescent",VL="dentisterie",zL="dermatologie",jL="diabétologie",BL="diététique",HL="services d’urgence",$L="endocrinologie",qL="gastroentérologie",UL="médecine générale",GL="génétique",YL="gériatrie",WL="gynécologie",KL="chirurgie de la main",ZL="hématologie",XL="maladie infectieuse",QL="soins intensifs",JL="kinésithérapie",eV="Service/Département laboratoire au sein d’une organisation",tV="grands brûlés",iV="chirurgie maxillo-faciale",aV="médecine interne",nV="biologie moléculaire",rV="néonatologie",oV="néphrologie",sV="neurologie",lV="neurologie",cV="oto-rhino-laryngologie",dV="médecine nucléaire",uV="soins infirmiers",hV="diététique nutritionnelle",pV="obstétrique",mV="ergothérapie",fV="oncologie",gV="ophtalmologie",vV="orthopédie",yV="soins palliatifs",bV="soins intensifs pédiatriques",_V="chirurgie pédiatrique",xV="pédiatrie",wV="Service/Département pharmacie au sein d’une organisation",SV="médecine physique",kV="physiothérapie",EV="chirurgie esthétique et réparatrice",CV="pneumologie",DV="podiatrie",IV="",AV="psychiatrie",OV="Psychogériatrie",TV="psychologie",NV="radiologie",RV="radiothérapie",MV="rééducation",PV="rhumatologie",FV="",LV="sénologie",VV="service social",zV="logopédie",jV="médecine des sports",BV="stomatologie",HV="chirurgie",$V="chirurgie thoracique",qV="toxicologie",UV="médecine tropicale",GV="urologie",YV="chirurgie vasculaire",WV="chirurgie abdominale, digestive et viscérale",KV="Fournisseur de matériel d’autogestion diabétique",ZV="Diététicien",XV="Médecin",QV="Bachelier en science de la famille",JV="Master en gérontologie",e3="Regroupement d’infirmiers",t3="Regroupement de médecins adresse différente",i3="regroupement de médecins même adresse",a3="poste de garde",n3="hub",r3="Technologue en imagerie médicale",o3="Dispensateur d’implants",s3="Technologue de labo",l3="Logopède",c3="Sage-femme",d3="Infirmier\\Infirmière",u3="Ergothérapeute",h3="Opticien",p3="hôpital",m3="assurance",f3="laboratoire indépendant",g3="Pharmacie indépendante",v3="office de tarification",y3="polyclinique",b3="cabinet",_3="Service de prévention",x3="Maison médicale",w3="maison de soins psychiatriques",S3="service public de santé",k3="maison de repos",E3="centre de revalidation",C3="initiative d’habitation protégée",D3="Master en Orthopédagogie",I3="Orthopédiste",A3="Orthoptiste-Optométriste",O3="Orthésiste",T3="Patient",N3="Puéricultrice",R3="personnel admistratif",M3="ambulance premier secours",P3="Bachelier en psychologie",F3="audicien",L3="audiologue",V3="orthosiologue bandagiste (technologue en orthopédie)",z3="technicien de laboratoire médical",j3="soignant informel",B3="Orthopédagogue clinicien",H3="Psychologue clinicien",$3="dentiste",q3="diététicien",U3="éducateur",G3="Bachelier en sciences de la famille",Y3="Master en gérontologie",W3="logopède",K3="sage-femme",Z3="améliorateur de mobilité (technologue en orthopédie)",X3="infirmier",Q3="ergothérapeute",J3="opticien",ez="optométriste",tz="Hygiéniste bucco-dentaire",iz="Master en orthopédagogie",az="orthopédiste",nz="orthoptiste",rz="Orthésiste/Prothésiste",oz="personnel paramédical",sz="Transporteur de patient (non urgent)",lz="pharmacien",cz="pharmacien-biologiste clinicien",dz="assistant en pharmacie",uz="médecin",hz="kinésithérapeute",pz="podologue",mz="aide-soignante",fz="prothésiste (technologue en orthopédie)",gz="psychologue",vz="Master en thérapie psychomotrice",yz="Bachelier en kinésithérapie et réadaptation",bz="technicien de chaussures (technologue en orthopédie)",_z="travailleur social",xz="Technicien d’imagerie médicale",wz="Bandagiste",Sz="Pharmacien",kz="Assistant Pharmaceutico-Technique",Ez="Médecin",Cz="Physiothérapeute",Dz="Podologue",Iz="Aide-soignant",Az="Prothésiste",Oz="Psychologue clinicien",Tz="Master en thérapie psychomotrice",Nz="Bachelier en réadaptation",Rz="Assistant social",Mz="Educateur spécialisé",Pz="Bandagiste",Ofe={ambulance_driver:gL,ambulance_first_aid:vL,ambulance_rescuer:yL,application:bL,applied_psychology_bachelor:_L,audician:xL,audiologist:wL,biologist_pharmacist:SL,care_giver:kL,certificateholder:EL,citizen:CL,clinical_orthopedic_pedagogue:DL,clinical_psychologist:IL,dental_hygienist:AL,dentist:OL,deptalgology:TL,deptanatomopathology:NL,deptanesthesiology:RL,deptbacteriology:ML,deptcardiacsurgery:PL,deptcardiology:FL,deptchildandadolescentpsychiatry:LL,deptdentistry:VL,deptdermatology:zL,deptdiabetology:jL,deptdietetics:BL,deptemergency:HL,deptendocrinology:$L,deptgastroenterology:qL,deptgeneralpractice:UL,deptgenetics:GL,deptgeriatry:YL,deptgynecology:WL,depthandsurgery:KL,depthematology:ZL,deptinfectiousdisease:XL,deptintensivecare:QL,deptkinesitherapy:JL,deptlaboratory:eV,deptmajorburns:tV,deptmaxillofacialsurgery:iV,deptmedicine:aV,deptmolecularbiology:nV,deptneonatalogy:rV,deptnephrology:oV,deptneurology:sV,deptneurosurgery:lV,deptnte:cV,deptnuclear:dV,deptnursing:uV,deptnutritiondietetics:hV,deptobstetrics:pV,deptoccupationaltherapy:mV,deptoncology:fV,deptophtalmology:gV,deptorthopedy:vV,deptpalliativecare:yV,deptpediatricintensivecare:bV,deptpediatricsurgery:_V,deptpediatry:xV,deptpharmacy:wV,deptphysicalmedecine:SV,deptphysiotherapy:kV,deptplasticandreparatorysurgery:EV,deptpneumology:CV,deptpodiatry:DV,deptpodology:IV,deptpsychiatry:AV,deptpsychogeriatry:OV,deptpsychology:TV,deptradiology:NV,deptradiotherapy:RV,deptrevalidation:MV,deptrheumatology:PV,deptrhumatology:FV,deptsenology:LV,deptsocialservice:VV,deptspeechtherapy:zV,deptsportsmedecine:jV,deptstomatology:BV,deptsurgery:HV,deptthoracicsurgery:$V,depttoxicology:qV,depttropicalmedecine:UV,depturology:GV,deptvascularsurgery:YV,deptvisceraldigestiveabdominalsurgery:WV,diabete_equipment_supplier:KV,dietician:ZV,doctor:XV,family_science_bachelor:QV,gerontology_master:JV,groupofnurses:e3,groupofphysiciansdifferentaddress:t3,groupofphysicianssameaddress:i3,guardpost:a3,hub:n3,imaging_technologist:r3,implantprovider:o3,lab_technologist:s3,logopedist:l3,midwife:c3,nurse:d3,occupational_therapist:u3,optician:h3,orghospital:p3,orginsurance:m3,orglaboratory:f3,orgpharmacy:g3,orgpharmacyinvoicingoffice:v3,orgpolyclinic:y3,orgpractice:b3,orgprevention:_3,orgprimaryhealthcarecenter:x3,orgpsychiatriccarehome:w3,orgpublichealth:S3,orgretirementhome:k3,orgrevalidationcenter:E3,orgshelteredliving:C3,orthopedagogist_master:D3,orthopedist:I3,orthoptist:A3,orthotist:O3,patient:T3,pediatric_nurse:N3,persadministrative:R3,persambulancefirstaid:M3,persappliedpsychbachelor:P3,persaudician:F3,persaudiologist:L3,persbandagistorthosiologist:V3,persbiologist:z3,perscaregiver:j3,persclinicalorthopedagogist:B3,persclinicalpsychologist:H3,persdentist:$3,persdietician:q3,perseducator:U3,persfamilysciencebachelor:G3,persgerontologymaster:Y3,perslogopedist:W3,persmidwife:K3,persmobilityimprover:Z3,persnurse:X3,persoccupationaltherapist:Q3,persoptician:J3,persoptometrist:ez,persoraldentalhygienist:tz,persorthopedagogistmaster:iz,persorthopedist:az,persorthoptist:nz,persorthotist:rz,persparamedical:oz,perspatientdriver:sz,perspharmacist:lz,perspharmacistclinicalbiologist:cz,perspharmacyassistant:dz,persphysician:uz,persphysiotherapist:hz,perspodologist:pz,perspracticalnurse:mz,persprosthesiologist:fz,perspsychologist:gz,perspsychomotortherapymaster:vz,persreadaptationbachelor:yz,persshoetechnologist:bz,perssocialworker:_z,perstechnician:xz,perstrussmaker:wz,pharmacist:Sz,pharmacist_assistant:kz,physician:Ez,physiotherapist:Cz,podologist:Dz,practical_nurse:Iz,prosthetist:Az,psychologist:Oz,psychomotor_therapy_master:Tz,readaptaion_bachelor:Nz,social_worker:Rz,specialized_educator:Mz,truss_maker:Pz},Fz={};Ae(Fz,{ambulance_driver:()=>Lz,ambulance_first_aid:()=>Vz,ambulance_rescuer:()=>zz,application:()=>jz,applied_psychology_bachelor:()=>Bz,audician:()=>Hz,audiologist:()=>$z,biologist_pharmacist:()=>qz,care_giver:()=>Uz,certificateholder:()=>Gz,citizen:()=>Yz,clinical_orthopedic_pedagogue:()=>Wz,clinical_psychologist:()=>Kz,default:()=>Tfe,dental_hygienist:()=>Zz,dentist:()=>Xz,deptalgology:()=>Qz,deptanatomopathology:()=>Jz,deptanesthesiology:()=>e5,deptbacteriology:()=>t5,deptcardiacsurgery:()=>i5,deptcardiology:()=>a5,deptchildandadolescentpsychiatry:()=>n5,deptdentistry:()=>r5,deptdermatology:()=>o5,deptdiabetology:()=>s5,deptdietetics:()=>l5,deptemergency:()=>c5,deptendocrinology:()=>d5,deptgastroenterology:()=>u5,deptgeneralpractice:()=>h5,deptgenetics:()=>p5,deptgeriatry:()=>m5,deptgynecology:()=>f5,depthandsurgery:()=>g5,depthematology:()=>v5,deptinfectiousdisease:()=>y5,deptintensivecare:()=>b5,deptkinesitherapy:()=>_5,deptlaboratory:()=>x5,deptmajorburns:()=>w5,deptmaxillofacialsurgery:()=>S5,deptmedicine:()=>k5,deptmolecularbiology:()=>E5,deptneonatalogy:()=>C5,deptnephrology:()=>D5,deptneurology:()=>I5,deptneurosurgery:()=>A5,deptnte:()=>O5,deptnuclear:()=>T5,deptnursing:()=>N5,deptnutritiondietetics:()=>R5,deptobstetrics:()=>M5,deptoccupationaltherapy:()=>P5,deptoncology:()=>F5,deptophtalmology:()=>L5,deptorthopedy:()=>V5,deptpalliativecare:()=>z5,deptpediatricintensivecare:()=>j5,deptpediatricsurgery:()=>B5,deptpediatry:()=>H5,deptpharmacy:()=>$5,deptphysicalmedecine:()=>q5,deptphysiotherapy:()=>U5,deptplasticandreparatorysurgery:()=>G5,deptpneumology:()=>Y5,deptpodiatry:()=>W5,deptpodology:()=>K5,deptpsychiatry:()=>Z5,deptpsychogeriatry:()=>X5,deptpsychology:()=>Q5,deptradiology:()=>J5,deptradiotherapy:()=>ej,deptrevalidation:()=>tj,deptrheumatology:()=>ij,deptsenology:()=>aj,deptsocialservice:()=>nj,deptspeechtherapy:()=>rj,deptsportsmedecine:()=>oj,deptstomatology:()=>sj,deptsurgery:()=>lj,deptthoracicsurgery:()=>cj,depttoxicology:()=>dj,depttropicalmedecine:()=>uj,depturology:()=>hj,deptvascularsurgery:()=>pj,deptvisceraldigestiveabdominalsurgery:()=>mj,diabete_equipment_supplier:()=>fj,dietician:()=>gj,doctor:()=>vj,family_science_bachelor:()=>yj,gerontology_master:()=>bj,groupofnurses:()=>_j,groupofphysiciansdifferentaddress:()=>xj,groupofphysicianssameaddress:()=>wj,guardpost:()=>Sj,hub:()=>kj,imaging_technologist:()=>Ej,implantprovider:()=>Cj,lab_technologist:()=>Dj,logopedist:()=>Ij,midwife:()=>Aj,nurse:()=>Oj,occupational_therapist:()=>Tj,optician:()=>Nj,orghospital:()=>Rj,orginsurance:()=>Mj,orglaboratory:()=>Pj,orgpharmacy:()=>Fj,orgpharmacyinvoicingoffice:()=>Lj,orgpolyclinic:()=>Vj,orgpractice:()=>zj,orgprevention:()=>jj,orgprimaryhealthcarecenter:()=>Bj,orgpsychiatriccarehome:()=>Hj,orgpublichealth:()=>$j,orgretirementhome:()=>qj,orgrevalidationcenter:()=>Uj,orgshelteredliving:()=>Gj,orthopedagogist_master:()=>Yj,orthopedist:()=>Wj,orthoptist:()=>Kj,orthotist:()=>Zj,patient:()=>Xj,pediatric_nurse:()=>Qj,persadministrative:()=>Jj,persambulancefirstaid:()=>eB,persappliedpsychbachelor:()=>tB,persaudician:()=>iB,persaudiologist:()=>aB,persbandagistorthosiologist:()=>nB,persbiologist:()=>rB,perscaregiver:()=>oB,persclinicalorthopedagogist:()=>sB,persclinicalpsychologist:()=>lB,persdentist:()=>cB,persdietician:()=>dB,perseducator:()=>uB,persfamilysciencebachelor:()=>hB,persgerontologymaster:()=>pB,perslogopedist:()=>mB,persmidwife:()=>fB,persmobilityimprover:()=>gB,persnurse:()=>vB,persoccupationaltherapist:()=>yB,persoptician:()=>bB,persoptometrist:()=>_B,persoraldentalhygienist:()=>xB,persorthopedagogistmaster:()=>wB,persorthopedist:()=>SB,persorthoptist:()=>kB,persorthotist:()=>EB,persparamedical:()=>CB,perspatientdriver:()=>DB,perspharmacist:()=>IB,perspharmacistclinicalbiologist:()=>AB,perspharmacyassistant:()=>OB,persphysician:()=>TB,persphysiotherapist:()=>NB,perspodologist:()=>RB,perspracticalnurse:()=>MB,persprosthesiologist:()=>PB,perspsychologist:()=>FB,perspsychomotortherapymaster:()=>LB,persreadaptationbachelor:()=>VB,persshoetechnologist:()=>zB,perssocialworker:()=>jB,perstechnician:()=>BB,perstrussmaker:()=>HB,pharmacist:()=>$B,pharmacist_assistant:()=>qB,physician:()=>UB,physiotherapist:()=>GB,podologist:()=>YB,practical_nurse:()=>WB,prosthetist:()=>KB,psychologist:()=>ZB,psychomotor_therapy_master:()=>XB,readaptaion_bachelor:()=>QB,social_worker:()=>JB,specialized_educator:()=>e4,truss_maker:()=>t4});var Lz="Ambulancebestuurder",Vz="Ambulancier eerste hulp",zz="Amublancier eerste hulp",jz="softwaretoepassing",Bz="Bachelor toegepaste psychologie",Hz="Audicien",$z="Audioloog",qz="Apotheker-bioloog",Uz="Verzorgingspersoneel",Gz="Houder van certificaat",Yz="Burger",Wz="Klinische orthopedagoog",Kz="Klinische psycholoog",Zz="Mondhygiënist",Xz="Tandarts",Qz="algologie",Jz="anatomo-pathologie",e5="anesthesiologie",t5="bacteriologie",i5="hartchirurgie",a5="cardiologie",n5="kinder- en jeugdpsychiatrie",r5="tandheelkunde",o5="dermatologie",s5="diabetologie",l5="diëtetiek",c5="spoeddiensten",d5="endocrinologie/hormonenleer",u5="gastro-enterologie",h5="algemene geneeskunde",p5="genetica",m5="geriatrie",f5="gynaecologie",g5="handchirurgie",v5="hematologie",y5="infectieziekte",b5="intensieve zorgen",_5="kinesitherapie",x5="Laboratoriumdienst of -afdeling binnen een organisatie",w5="brandwondencentrum",S5="mond-, kaak- en aangezichtschirurgie",k5="interne geneeskunde",E5="moleculaire biologie",C5="neonatologie",D5="nefrologie",I5="neurologie",A5="neurologie",O5="oto-rhino-laryngologie",T5="nucleaire geneeskunde",N5="verpleegkunde",R5="diëtetiek",M5="verloskunde",P5="ergotherapie",F5="oncologie",L5="oftalmologie",V5="orthopedie",z5="palliatieve zorg",j5="intensieve zorg voor kinderen",B5="kinderchirurgie",H5="pediatrie",$5="Apotheekdienst of -afdeling binnen een organisatie",q5="fysische geneeskunde",U5="fysiotherapie",G5="plastische en reconstructieve chirurgie",Y5="pulmonologie",W5="podiatrie",K5="",Z5="psychiatrie",X5="Psychogeriatrie",Q5="psychologie",J5="radiologie",ej="radiotherapie",tj="revalidatie",ij="reumatologie",aj="senologie",nj="sociale dienst",rj="logopedie",oj="sportgeneeskunde",sj="stomatologie",lj="chirurgie",cj="thoraxchirurgie",dj="toxicologie",uj="tropische geneeskunde",hj="urologie",pj="vasculaire chirurgie",mj="digestieve/viscerale chirurgie/buikchirurgie",fj="Leverancier van materiaal voor diabetische zelfzorg ",gj="Diëtist",vj="Arts",yj="Bachelor gezinswetenschappen",bj="Master gerontologie",_j="Groepering van verplegers",xj="Groepering van artsen verschillend adres",wj="groepering van artsen zelfde adres",Sj="wachtpost",kj="hub",Ej="Technoloog medische beeldvorming",Cj="Leverancier implantaten",Dj="Laboratoriumtechnoloog",Ij="Logopedist",Aj="Vroedvrouw",Oj="verpleegkundige",Tj="Ergotherapeut",Nj="Opticien",Rj="ziekenhuis",Mj="verzekering",Pj="Onafhankelijk laboratorium",Fj="Onafhankelijke apotheek",Lj="Facturatie kantoor apotheek",Vj="polikliniek",zj="praktijk",jj="Preventiedienst",Bj="medisch huis",Hj="psychiatrisch verzorgingstehuis",$j="openbare gezondheidsdienst",qj="woonzorgcentrum",Uj="revalidatiecentrum",Gj="initiatief voor beschut wonen",Yj="Master orthopedagogie",Wj="Orthopedist",Kj="Orthoptist-optometrist",Zj="Orthesist",Xj="Patiënt",Qj="Kinderverzorgsters",Jj="administratief medewerker",eB="ambulance eerste hulp",tB="Bachelor in de toegepaste psychologie",iB="audicien",aB="audioloog",nB="Bandagist orthosioloog (orthopedisch technoloog)",rB="medisch laboratoriumtechnoloog",oB="mantelzorger",sB="Klinisch orthopedagoog",lB="Klinisch psycholoog",cB="tandarts",dB="diëtist",uB="opvoeder",hB="Bachelor in de gezinswetenschappen",pB="Master in de gerontologie",mB="logopedist",fB="vroedvrouw",gB="mobiliteitsverbeteraar (orthopedisch technoloog)",vB="verpleegkundige",yB="ergotherapeut",bB="opticien",_B="optometrist",xB="Mondhygiënist",wB="Master in de orthopedagogie",SB="orthopedist",kB="orthoptist",EB="Orthopedisch technicus",CB="paramedisch personeel",DB="Ziekenvervoerder (niet urgent)",IB="apotheker",AB="apotheker-klinisch bioloog",OB="apothekersassistent",TB="arts",NB="kinesitherapeut",RB="podologist",MB="verzorgende",PB="prothesemaker (orthopedisch technoloog)",FB="psycholoog",LB="Master in de psychomotorische therapie",VB="Bachelor in de readaptatiewetenschappen",zB="schoentechnicus (orthopedisch technoloog)",jB="maatschappelijk werker",BB="Technicus medische beeldvorming",HB="Bandagist",$B="Apotheker",qB="Farmaceutisch-technisch assistent",UB="Arts",GB="Fysiotherapeut",YB="Podoloog",WB="Zorgkundige",KB="Prothesist",ZB="Psycholoog",XB="Master psychomotorische therapie",QB="Bachelor readaptatiewetenschappen",JB="Sociaal assistent",e4="Bachelor opvoedkunde",t4="Bandagist",Tfe={ambulance_driver:Lz,ambulance_first_aid:Vz,ambulance_rescuer:zz,application:jz,applied_psychology_bachelor:Bz,audician:Hz,audiologist:$z,biologist_pharmacist:qz,care_giver:Uz,certificateholder:Gz,citizen:Yz,clinical_orthopedic_pedagogue:Wz,clinical_psychologist:Kz,dental_hygienist:Zz,dentist:Xz,deptalgology:Qz,deptanatomopathology:Jz,deptanesthesiology:e5,deptbacteriology:t5,deptcardiacsurgery:i5,deptcardiology:a5,deptchildandadolescentpsychiatry:n5,deptdentistry:r5,deptdermatology:o5,deptdiabetology:s5,deptdietetics:l5,deptemergency:c5,deptendocrinology:d5,deptgastroenterology:u5,deptgeneralpractice:h5,deptgenetics:p5,deptgeriatry:m5,deptgynecology:f5,depthandsurgery:g5,depthematology:v5,deptinfectiousdisease:y5,deptintensivecare:b5,deptkinesitherapy:_5,deptlaboratory:x5,deptmajorburns:w5,deptmaxillofacialsurgery:S5,deptmedicine:k5,deptmolecularbiology:E5,deptneonatalogy:C5,deptnephrology:D5,deptneurology:I5,deptneurosurgery:A5,deptnte:O5,deptnuclear:T5,deptnursing:N5,deptnutritiondietetics:R5,deptobstetrics:M5,deptoccupationaltherapy:P5,deptoncology:F5,deptophtalmology:L5,deptorthopedy:V5,deptpalliativecare:z5,deptpediatricintensivecare:j5,deptpediatricsurgery:B5,deptpediatry:H5,deptpharmacy:$5,deptphysicalmedecine:q5,deptphysiotherapy:U5,deptplasticandreparatorysurgery:G5,deptpneumology:Y5,deptpodiatry:W5,deptpodology:K5,deptpsychiatry:Z5,deptpsychogeriatry:X5,deptpsychology:Q5,deptradiology:J5,deptradiotherapy:ej,deptrevalidation:tj,deptrheumatology:ij,deptsenology:aj,deptsocialservice:nj,deptspeechtherapy:rj,deptsportsmedecine:oj,deptstomatology:sj,deptsurgery:lj,deptthoracicsurgery:cj,depttoxicology:dj,depttropicalmedecine:uj,depturology:hj,deptvascularsurgery:pj,deptvisceraldigestiveabdominalsurgery:mj,diabete_equipment_supplier:fj,dietician:gj,doctor:vj,family_science_bachelor:yj,gerontology_master:bj,groupofnurses:_j,groupofphysiciansdifferentaddress:xj,groupofphysicianssameaddress:wj,guardpost:Sj,hub:kj,imaging_technologist:Ej,implantprovider:Cj,lab_technologist:Dj,logopedist:Ij,midwife:Aj,nurse:Oj,occupational_therapist:Tj,optician:Nj,orghospital:Rj,orginsurance:Mj,orglaboratory:Pj,orgpharmacy:Fj,orgpharmacyinvoicingoffice:Lj,orgpolyclinic:Vj,orgpractice:zj,orgprevention:jj,orgprimaryhealthcarecenter:Bj,orgpsychiatriccarehome:Hj,orgpublichealth:$j,orgretirementhome:qj,orgrevalidationcenter:Uj,orgshelteredliving:Gj,orthopedagogist_master:Yj,orthopedist:Wj,orthoptist:Kj,orthotist:Zj,patient:Xj,pediatric_nurse:Qj,persadministrative:Jj,persambulancefirstaid:eB,persappliedpsychbachelor:tB,persaudician:iB,persaudiologist:aB,persbandagistorthosiologist:nB,persbiologist:rB,perscaregiver:oB,persclinicalorthopedagogist:sB,persclinicalpsychologist:lB,persdentist:cB,persdietician:dB,perseducator:uB,persfamilysciencebachelor:hB,persgerontologymaster:pB,perslogopedist:mB,persmidwife:fB,persmobilityimprover:gB,persnurse:vB,persoccupationaltherapist:yB,persoptician:bB,persoptometrist:_B,persoraldentalhygienist:xB,persorthopedagogistmaster:wB,persorthopedist:SB,persorthoptist:kB,persorthotist:EB,persparamedical:CB,perspatientdriver:DB,perspharmacist:IB,perspharmacistclinicalbiologist:AB,perspharmacyassistant:OB,persphysician:TB,persphysiotherapist:NB,perspodologist:RB,perspracticalnurse:MB,persprosthesiologist:PB,perspsychologist:FB,perspsychomotortherapymaster:LB,persreadaptationbachelor:VB,persshoetechnologist:zB,perssocialworker:jB,perstechnician:BB,perstrussmaker:HB,pharmacist:$B,pharmacist_assistant:qB,physician:UB,physiotherapist:GB,podologist:YB,practical_nurse:WB,prosthetist:KB,psychologist:ZB,psychomotor_therapy_master:XB,readaptaion_bachelor:QB,social_worker:JB,specialized_educator:e4,truss_maker:t4},Nfe={nl:Fz,fr:fL,de:DO,en:WR},i4={};Ae(i4,{"00001":()=>a4,"00002":()=>n4,"00003":()=>r4,"00004":()=>o4,"00005":()=>s4,"00006":()=>l4,"00007":()=>c4,"00008":()=>d4,"00009":()=>u4,"00010":()=>h4,"00011":()=>p4,"00012":()=>m4,"00013":()=>f4,"00014":()=>g4,"00015":()=>v4,"00016":()=>y4,"00017":()=>b4,"00018":()=>_4,"00019":()=>x4,"00020":()=>w4,"00021":()=>S4,"00022":()=>k4,"00023":()=>E4,"00024":()=>C4,"00025":()=>D4,"00026":()=>I4,"00027":()=>A4,"00028":()=>O4,"00029":()=>T4,"00030":()=>N4,"00031":()=>R4,"00032":()=>M4,"00033":()=>P4,"00034":()=>F4,"00035":()=>L4,"00036":()=>V4,"00037":()=>z4,"00038":()=>j4,"00039":()=>B4,"00040":()=>H4,"00041":()=>$4,"00042":()=>q4,"00043":()=>U4,"00044":()=>G4,"00045":()=>Y4,"00046":()=>W4,"00047":()=>K4,"00048":()=>Z4,"00049":()=>X4,"00050":()=>Q4,"00051":()=>J4,"00052":()=>e9,"00053":()=>t9,"00054":()=>i9,"00055":()=>a9,"00056":()=>n9,"00057":()=>r9,"00058":()=>o9,"00059":()=>s9,"00060":()=>l9,"00061":()=>c9,"00062":()=>d9,"00063":()=>u9,"00064":()=>h9,"00065":()=>p9,"00066":()=>m9,"00067":()=>f9,"00068":()=>g9,"00069":()=>v9,"00070":()=>y9,"00071":()=>b9,"00072":()=>_9,"00073":()=>x9,"both-ears":()=>w9,"both-eyes":()=>S9,"both-nostrils":()=>k9,"cutaneous-injection":()=>E9,default:()=>Rfe,derm:()=>C9,"dermal-injection":()=>D9,"ear-left":()=>I9,"ear-right":()=>A9,"eye-left":()=>O9,"eye-right":()=>T9,hyperdermoclyse:()=>N9,icut:()=>R9,ider:()=>M9,larter:()=>P9,"nose-left":()=>F9,"nose-right":()=>L9,oft:()=>V9,transdermal:()=>z9,"vitreal-injection":()=>j9});var a4="ins Ohr",n4="auf die Haut",r4="derm./rect",o4="derm./vag.",s4="Injektion außerhalb der Hirnhaut",l4="e.dur./i.thec./lokal",c4="p.dur./lokal",d4="in die Luftröhre",u4="in den Gebärmutterhals einführen",h4="Injektion in eine Arterie",p4="Injektion in den Penis",m4="Injektion in die Haut",f4="Injektion in einen Muskel",g4="i.m./i.thec./p.dur./s.c.",v4="i.m./i.v.",y4="i.m./i.v./inf.",b4="i.m./i.v./inf./e.dur./s.c.",_4="i.m./i.v./inf./i.arter./i.thec.",x4="i.m./i.v./perf./i.artér./lokal/s.c.",w4="i.m./i.v./inf./i.thec.",S4="i.m./i.v./inf./rect.",k4="i.m./i.v./inf./s.c.",E4="i.m./i.v./inhal.",C4="i.m./i.v./lokal",D4="i.m./i.v./or.",I4="i.m./i.v./rect",A4="i.m./i.v./s.c.",O4="i.m./inf.",T4="i.m./perf./lokal",N4="i.m./lokal",R4="i.m./lokal/rect.",M4="i.m./s.c.",P4="Injektion ins Rückenmark",F4="in die Gebärmutter einführen",L4="Injektion in eine Vene",V4="i.v./p.dur./lokal",z4="i.v./i.arter./i.ves.",j4="i.v./inf.",B4="i.v./perf./p.dur.",H4="i.v./inf./i.arter.",$4="i.v./inf./i.thec./s.c.",q4="i.v./inf./inhal.",U4="i.v./inf./s.c.",G4="i.v./s.c.",Y4="in die Harnblase",W4="Infusion",K4="perf./i.ves.",Z4="perf./s.c.",X4="Inhalation",Q4="inhal./nas./lokal",J4="Injektion",e9="auf die Lippen",t9="lokal",i9="auf die Schleimhaut",a9="in die Nase",n9="in die Augen",r9="opht./auric.",o9="opht./auric./nas.",s9="opht./auric./nas./lokal",l9="einnehmen",c9="or./orofar./derm.",d9="or./rect.",u9="or./s.l.",h9="durch den Mund",p9="orofar./derm.",m9="durch Mund und Nase",f9="rektal",g9="Spritze unter die Haut",v9="s.c./i.derm.",y9="unter die Zunge",b9="auf die Zähne",_9="in den Harnleiter",x9="vaginal",w9="beide Ohren",S9="beide Augen",k9="beide Nasenlöcher",E9="kutane Injektion",C9="dermatologisch",D9="dermale Injektion",I9="linkes Ohr",A9="rechtes Ohr",O9="linkes Auge",T9="rechtes Auge",N9="Hyperdermoklyse",R9="intrakutan",M9="intradermal",P9="intraarteriell",F9="linke Nase",L9="rechte Nase",V9="ophthalmologisch",z9="transdermal",j9="vitreale Injektion",Rfe={"00001":a4,"00002":n4,"00003":r4,"00004":o4,"00005":s4,"00006":l4,"00007":c4,"00008":d4,"00009":u4,"00010":h4,"00011":p4,"00012":m4,"00013":f4,"00014":g4,"00015":v4,"00016":y4,"00017":b4,"00018":_4,"00019":x4,"00020":w4,"00021":S4,"00022":k4,"00023":E4,"00024":C4,"00025":D4,"00026":I4,"00027":A4,"00028":O4,"00029":T4,"00030":N4,"00031":R4,"00032":M4,"00033":P4,"00034":F4,"00035":L4,"00036":V4,"00037":z4,"00038":j4,"00039":B4,"00040":H4,"00041":$4,"00042":q4,"00043":U4,"00044":G4,"00045":Y4,"00046":W4,"00047":K4,"00048":Z4,"00049":X4,"00050":Q4,"00051":J4,"00052":e9,"00053":t9,"00054":i9,"00055":a9,"00056":n9,"00057":r9,"00058":o9,"00059":s9,"00060":l9,"00061":c9,"00062":d9,"00063":u9,"00064":h9,"00065":p9,"00066":m9,"00067":f9,"00068":g9,"00069":v9,"00070":y9,"00071":b9,"00072":_9,"00073":x9,"both-ears":w9,"both-eyes":S9,"both-nostrils":k9,"cutaneous-injection":E9,derm:C9,"dermal-injection":D9,"ear-left":I9,"ear-right":A9,"eye-left":O9,"eye-right":T9,hyperdermoclyse:N9,icut:R9,ider:M9,larter:P9,"nose-left":F9,"nose-right":L9,oft:V9,transdermal:z9,"vitreal-injection":j9},B9={};Ae(B9,{"00001":()=>H9,"00002":()=>$9,"00003":()=>q9,"00004":()=>U9,"00005":()=>G9,"00006":()=>Y9,"00007":()=>W9,"00008":()=>K9,"00009":()=>Z9,"00010":()=>X9,"00011":()=>Q9,"00012":()=>J9,"00013":()=>e7,"00014":()=>t7,"00015":()=>i7,"00016":()=>a7,"00017":()=>n7,"00018":()=>r7,"00019":()=>o7,"00020":()=>s7,"00021":()=>l7,"00022":()=>c7,"00023":()=>d7,"00024":()=>u7,"00025":()=>h7,"00026":()=>p7,"00027":()=>m7,"00028":()=>f7,"00029":()=>g7,"00030":()=>v7,"00031":()=>y7,"00032":()=>b7,"00033":()=>_7,"00034":()=>x7,"00035":()=>w7,"00036":()=>S7,"00037":()=>k7,"00038":()=>E7,"00039":()=>C7,"00040":()=>D7,"00041":()=>I7,"00042":()=>A7,"00043":()=>O7,"00044":()=>T7,"00045":()=>N7,"00046":()=>R7,"00047":()=>M7,"00048":()=>P7,"00049":()=>F7,"00050":()=>L7,"00051":()=>V7,"00052":()=>z7,"00053":()=>j7,"00054":()=>B7,"00055":()=>H7,"00056":()=>$7,"00057":()=>q7,"00058":()=>U7,"00059":()=>G7,"00060":()=>Y7,"00061":()=>W7,"00062":()=>K7,"00063":()=>Z7,"00064":()=>X7,"00065":()=>Q7,"00066":()=>J7,"00067":()=>eH,"00068":()=>tH,"00069":()=>iH,"00070":()=>aH,"00071":()=>nH,"00072":()=>rH,"00073":()=>oH,"both-ears":()=>sH,"both-eyes":()=>lH,"both-nostrils":()=>cH,"cutaneous-injection":()=>dH,default:()=>Mfe,derm:()=>uH,"dermal-injection":()=>hH,"ear-left":()=>pH,"ear-right":()=>mH,"eye-left":()=>fH,"eye-right":()=>gH,hyperdermoclyse:()=>vH,icut:()=>yH,ider:()=>bH,larter:()=>_H,"nose-left":()=>xH,"nose-right":()=>wH,oft:()=>SH,transdermal:()=>kH,"vitreal-injection":()=>EH});var H9="auric.",$9="derm.",q9="derm./rect",U9="derm./vag.",G9="e.dur.",Y9="e.dur./i.thec./local",W9="e.dur./local",K9="e.trach.",Z9="endocerv.",X9="i.arter.",Q9="i.cavern.",J9="i.derm.",e7="i.m.",t7="i.m./i.thec./e.dur./s.c.",i7="i.m./i.v.",a7="i.m./i.v./inf.",n7="i.m./i.v./inf./e.dur./s.c.",r7="i.m./i.v./inf./i.arter./i.thec.",o7="i.m./i.v./perf./i.artér./local/s.c.",s7="i.m./i.v./inf./i.thec.",l7="i.m./i.v./inf./rect.",c7="i.m./i.v./inf./s.c.",d7="i.m./i.v./inhal.",u7="i.m./i.v./local",h7="i.m./i.v./or.",p7="i.m./i.v./rect",m7="i.m./i.v./s.c.",f7="i.m./inf.",g7="i.m./perf./local",v7="i.m./local",y7="i.m./local/rect.",b7="i.m./s.c.",_7="i.thec.",x7="i.ut.",w7="i.v.",S7="i.v./p.dur./local",k7="i.v./i.arter./i.ves.",E7="i.v./inf.",C7="i.v./perf./p.dur.",D7="i.v./perf./i.artér.",I7="i.v./perf./i.théc./s.c.",A7="i.v./perf./inhal.",O7="i.v./perf./s.c.",T7="i.v./s.c.",N7="i.ves.",R7="perf.",M7="perf./i.ves.",P7="perf./s.c.",F7="inhal.",L7="inhal./nas./local",V7="inj.",z7="lip",j7="local",B7="muc.",H7="nas.",$7="opht.",q7="opht./auric.",U7="opht./auric./nas.",G7="opht./auric./nas./local",Y7="or.",W7="or./bucco-phar./derm.",K7="or./rect.",Z7="or./s.l.",X7="bucco-phar.",Q7="bucco-phar./derm.",J7="bucco-phar./nas.",eH="rect.",tH="s.c.",iH="s.c./i.derm.",aH="s.l.",nH="teeth",rH="urethr.",oH="vag.",sH="both ears",lH="both eyes",cH="both nostrils",dH="cutaneous injection",uH="dermatologically",hH="dermal injection",pH="ear left",mH="ear right",fH="eye left",gH="eye right",vH="hyperdermoclyse",yH="intracutaneous",bH="intradermally",_H="intra-arterial",xH="nose left",wH="nose right",SH="ophtalmological",kH="transdermal",EH="vitreal injection",Mfe={"00001":H9,"00002":$9,"00003":q9,"00004":U9,"00005":G9,"00006":Y9,"00007":W9,"00008":K9,"00009":Z9,"00010":X9,"00011":Q9,"00012":J9,"00013":e7,"00014":t7,"00015":i7,"00016":a7,"00017":n7,"00018":r7,"00019":o7,"00020":s7,"00021":l7,"00022":c7,"00023":d7,"00024":u7,"00025":h7,"00026":p7,"00027":m7,"00028":f7,"00029":g7,"00030":v7,"00031":y7,"00032":b7,"00033":_7,"00034":x7,"00035":w7,"00036":S7,"00037":k7,"00038":E7,"00039":C7,"00040":D7,"00041":I7,"00042":A7,"00043":O7,"00044":T7,"00045":N7,"00046":R7,"00047":M7,"00048":P7,"00049":F7,"00050":L7,"00051":V7,"00052":z7,"00053":j7,"00054":B7,"00055":H7,"00056":$7,"00057":q7,"00058":U7,"00059":G7,"00060":Y7,"00061":W7,"00062":K7,"00063":Z7,"00064":X7,"00065":Q7,"00066":J7,"00067":eH,"00068":tH,"00069":iH,"00070":aH,"00071":nH,"00072":rH,"00073":oH,"both-ears":sH,"both-eyes":lH,"both-nostrils":cH,"cutaneous-injection":dH,derm:uH,"dermal-injection":hH,"ear-left":pH,"ear-right":mH,"eye-left":fH,"eye-right":gH,hyperdermoclyse:vH,icut:yH,ider:bH,larter:_H,"nose-left":xH,"nose-right":wH,oft:SH,transdermal:kH,"vitreal-injection":EH},CH={};Ae(CH,{"00001":()=>DH,"00002":()=>IH,"00003":()=>AH,"00004":()=>OH,"00005":()=>TH,"00006":()=>NH,"00007":()=>RH,"00008":()=>MH,"00009":()=>PH,"00010":()=>FH,"00011":()=>LH,"00012":()=>VH,"00013":()=>zH,"00014":()=>jH,"00015":()=>BH,"00016":()=>HH,"00017":()=>$H,"00018":()=>qH,"00019":()=>UH,"00020":()=>GH,"00021":()=>YH,"00022":()=>WH,"00023":()=>KH,"00024":()=>ZH,"00025":()=>XH,"00026":()=>QH,"00027":()=>JH,"00028":()=>e6,"00029":()=>t6,"00030":()=>i6,"00031":()=>a6,"00032":()=>n6,"00033":()=>r6,"00034":()=>o6,"00035":()=>s6,"00036":()=>l6,"00037":()=>c6,"00038":()=>d6,"00039":()=>u6,"00040":()=>h6,"00041":()=>p6,"00042":()=>m6,"00043":()=>f6,"00044":()=>g6,"00045":()=>v6,"00046":()=>y6,"00047":()=>b6,"00048":()=>_6,"00049":()=>x6,"00050":()=>w6,"00051":()=>S6,"00052":()=>k6,"00053":()=>E6,"00054":()=>C6,"00055":()=>D6,"00056":()=>I6,"00057":()=>A6,"00058":()=>O6,"00059":()=>T6,"00060":()=>N6,"00061":()=>R6,"00062":()=>M6,"00063":()=>P6,"00064":()=>F6,"00065":()=>L6,"00066":()=>V6,"00067":()=>z6,"00068":()=>j6,"00069":()=>B6,"00070":()=>H6,"00071":()=>$6,"00072":()=>q6,"00073":()=>U6,"both-ears":()=>G6,"both-eyes":()=>Y6,"both-nostrils":()=>W6,"cutaneous-injection":()=>K6,default:()=>Pfe,derm:()=>Z6,"dermal-injection":()=>X6,"ear-left":()=>Q6,"ear-right":()=>J6,"eye-left":()=>e8,"eye-right":()=>t8,hyperdermoclyse:()=>i8,icut:()=>a8,ider:()=>n8,larter:()=>r8,"nose-left":()=>o8,"nose-right":()=>s8,oft:()=>l8,transdermal:()=>c8,"vitreal-injection":()=>d8});var DH="dans l’oreille",IH="sur la peau",AH="derm./rect",OH="derm./vag.",TH="injection en dehors de la méninge",NH="e.dur./i.théc./local",RH="e.dur./local",MH="dans la trachée",PH="introduire dans le col de l’utérus",FH="injection dans l’artère",LH="injection dans le pénis",VH="injection dans la peau",zH="injection dans un muscle",jH="i.m./i.théc./e.dur./s.c.",BH="i.m./i.v.",HH="i.m./i.v./perf.",$H="i.m./i.v./perf./e.dur./s.c.",qH="i.m./i.v./inf./i.arter./i.thec.",UH="i.m./i.v./perf./i.artér./local/s.c.",GH="i.m./i.v./inf./i.thec.",YH="i.m./i.v./perf./rect.",WH="i.m./i.v./perf./s.c.",KH="i.m./i.v./inhal.",ZH="i.m./i.v./local",XH="i.m./i.v./or.",QH="i.m./i.v./rect",JH="i.m./i.v./s.c.",e6="i.m./perf.",t6="i.m./perf./local",i6="i.m./local",a6="i.m./local/rect.",n6="i.m./s.c.",r6="injection dans la moelle épinière",o6="introduire dans l’utérus",s6="injection dans une veine",l6="i.v./p.dur./local",c6="i.v./i.arter./i.ves.",d6="i.v./perf.",u6="i.v./perf./p.dur.",h6="i.v./perf./i.artér.",p6="i.v./perf./i.théc./s.c.",m6="i.v./perf./inhal.",f6="i.v./perf./s.c.",g6="i.v./s.c.",v6="dans la vessie",y6="perfusion",b6="perf./i.vés.",_6="perf./s.c.",x6="inhalation",w6="inhal./nas./local",S6="injection",k6="lèvre",E6="local",C6="sur la muqueuse",D6="dans le nez",I6="dans les yeux",A6="opht./auric.",O6="opht./auric./nas.",T6="opht./auric./nas./local",N6="prendre/avaler",R6="or./bucco-phar./derm.",M6="or./rect.",P6="or./s.l.",F6="par la bouche",L6="bucco-phar./derm.",V6="par la bouche et dans le nez",z6="par voie rectale",j6="injection sous-cutanée",B6="s.c./i.derm.",H6="sous la langue",$6="sur les dents",q6="dans l’uretère",U6="par voie vaginale",G6="les deux oreilles",Y6="les deux yeux",W6="les deux narines",K6="injection cutanée",Z6="dermatologique",X6="injection dermique",Q6="oreille gauche",J6="oreille droite",e8="oeil gauche",t8="oeil droite",i8="hyperdermoclyse",a8="intracutané",n8="intradermique",r8="intra-artérielle",o8="nez gauche",s8="nez droite",l8="ophtalmologique",c8="transdermique",d8="injection vitrale",Pfe={"00001":DH,"00002":IH,"00003":AH,"00004":OH,"00005":TH,"00006":NH,"00007":RH,"00008":MH,"00009":PH,"00010":FH,"00011":LH,"00012":VH,"00013":zH,"00014":jH,"00015":BH,"00016":HH,"00017":$H,"00018":qH,"00019":UH,"00020":GH,"00021":YH,"00022":WH,"00023":KH,"00024":ZH,"00025":XH,"00026":QH,"00027":JH,"00028":e6,"00029":t6,"00030":i6,"00031":a6,"00032":n6,"00033":r6,"00034":o6,"00035":s6,"00036":l6,"00037":c6,"00038":d6,"00039":u6,"00040":h6,"00041":p6,"00042":m6,"00043":f6,"00044":g6,"00045":v6,"00046":y6,"00047":b6,"00048":_6,"00049":x6,"00050":w6,"00051":S6,"00052":k6,"00053":E6,"00054":C6,"00055":D6,"00056":I6,"00057":A6,"00058":O6,"00059":T6,"00060":N6,"00061":R6,"00062":M6,"00063":P6,"00064":F6,"00065":L6,"00066":V6,"00067":z6,"00068":j6,"00069":B6,"00070":H6,"00071":$6,"00072":q6,"00073":U6,"both-ears":G6,"both-eyes":Y6,"both-nostrils":W6,"cutaneous-injection":K6,derm:Z6,"dermal-injection":X6,"ear-left":Q6,"ear-right":J6,"eye-left":e8,"eye-right":t8,hyperdermoclyse:i8,icut:a8,ider:n8,larter:r8,"nose-left":o8,"nose-right":s8,oft:l8,transdermal:c8,"vitreal-injection":d8},u8={};Ae(u8,{"00001":()=>h8,"00002":()=>p8,"00003":()=>s$,"00004":()=>l$,"00005":()=>m8,"00006":()=>c$,"00007":()=>d$,"00008":()=>f8,"00009":()=>g8,"00010":()=>v8,"00011":()=>y8,"00012":()=>b8,"00013":()=>_8,"00014":()=>u$,"00015":()=>h$,"00016":()=>p$,"00017":()=>m$,"00018":()=>f$,"00019":()=>g$,"00020":()=>v$,"00021":()=>y$,"00022":()=>b$,"00023":()=>_$,"00024":()=>x$,"00025":()=>w$,"00026":()=>S$,"00027":()=>k$,"00028":()=>E$,"00029":()=>C$,"00030":()=>D$,"00031":()=>I$,"00032":()=>A$,"00033":()=>x8,"00034":()=>w8,"00035":()=>S8,"00036":()=>O$,"00037":()=>T$,"00038":()=>N$,"00039":()=>R$,"00040":()=>M$,"00041":()=>P$,"00042":()=>F$,"00043":()=>L$,"00044":()=>V$,"00045":()=>k8,"00046":()=>E8,"00047":()=>z$,"00048":()=>j$,"00049":()=>C8,"00050":()=>B$,"00051":()=>D8,"00052":()=>I8,"00053":()=>A8,"00054":()=>O8,"00055":()=>T8,"00056":()=>N8,"00057":()=>H$,"00058":()=>$$,"00059":()=>q$,"00060":()=>R8,"00061":()=>U$,"00062":()=>G$,"00063":()=>Y$,"00064":()=>M8,"00065":()=>W$,"00066":()=>P8,"00067":()=>F8,"00068":()=>L8,"00069":()=>K$,"00070":()=>V8,"00071":()=>z8,"00072":()=>j8,"00073":()=>B8,"both-ears":()=>a$,"both-eyes":()=>e$,"both-nostrils":()=>X8,"cutaneous-injection":()=>Y8,default:()=>Ffe,derm:()=>H8,"dermal-injection":()=>W8,"ear-left":()=>t$,"ear-right":()=>i$,"eye-left":()=>Q8,"eye-right":()=>J8,hyperdermoclyse:()=>o$,icut:()=>q8,ider:()=>U8,larter:()=>$8,"nose-left":()=>K8,"nose-right":()=>Z8,oft:()=>G8,transdermal:()=>r$,"vitreal-injection":()=>n$});var h8="in het oor",p8="op de huid",m8="inspuiting buiten het hersenvlies",f8="in de luchtpijp",g8="inbrengen in de baarmoederhals",v8="inspuiting in een slagader",y8="inspuiting in de penis",b8="inspuiting in de huid",_8="inspuiting in een spier",x8="inspuiting in het ruggenmerg",w8="inbrengen in de baarmoeder",S8="inspuiting in een ader",k8="in de urineblaas",E8="infuus",C8="inhalatie",D8="inspuiting",I8="op de lippen",A8="lokaal",O8="op het slijmvlies",T8="in de neus",N8="in de ogen",R8="innemen",M8="in de mond",P8="in de mond en in de neus",F8="anaal opsteken",L8="onderhuidse inspuiting",V8="onder de tong",z8="op de tanden",j8="in de urineleider",B8="vaginaal",H8="dermatologisch",$8="intra-arterieel",q8="intracutaan",U8="intradermaal",G8="oftalmologisch",Y8="cutane injectie",W8="dermale injectie",K8="neus links",Z8="neus rechts",X8="beide neusgaten",Q8="oog links",J8="oog rechts",e$="beide ogen",t$="oor links",i$="oor rechts",a$="beide oren",n$="vitreale injectie",r$="transdermaal",o$="hyperdermoclyse",s$="derm./rect",l$="derm./vag.",c$="e.dur./i.thec./lokaal",d$="e.dur./lokaal",u$="i.m./i.thec./p.dur./s.c.",h$="i.m./i.v.",p$="i.m./i.v./inf.",m$="i.m./i.v./inf./e.dur./s.c.",f$="i.m./i.v./inf./i.arter./i.thec.",g$="i.m./i.v./perf./i.artér./lokaal/s.c.",v$="i.m./i.v./inf./i.thec.",y$="i.m./i.v./inf./rect.",b$="i.m./i.v./inf./s.c.",_$="i.m./i.v./inhal.",x$="i.m./i.v./lokaal",w$="i.m./i.v./or.",S$="i.m./i.v./rect",k$="i.m./i.v./s.c.",E$="i.m./inf.",C$="i.m./perf./lokaal",D$="i.m./lokaal",I$="i.m./lokaal/rect.",A$="i.m./s.c.",O$="i.v./p.dur./lokaal",T$="i.v./i.arter./i.ves.",N$="i.v./inf.",R$="i.v./perf./p.dur.",M$="i.v./inf./i.arter.",P$="i.v./inf./i.thec./s.c.",F$="i.v./inf./inhal.",L$="i.v./inf./s.c.",V$="i.v./s.c.",z$="perf./i.ves.",j$="perf./s.c.",B$="inhal./nas./lokaal",H$="oft./auric.",$$="oft./auric./nas.",q$="oft./auric./nas./lokaal",U$="or./orofar./derm.",G$="or./rect.",Y$="or./s.l.",W$="orofar./derm.",K$="s.c./i.derm.",Ffe={"00001":h8,"00002":p8,"00005":m8,"00008":f8,"00009":g8,"00010":v8,"00011":y8,"00012":b8,"00013":_8,"00033":x8,"00034":w8,"00035":S8,"00045":k8,"00046":E8,"00049":C8,"00051":D8,"00052":I8,"00053":A8,"00054":O8,"00055":T8,"00056":N8,"00060":R8,"00064":M8,"00066":P8,"00067":F8,"00068":L8,"00070":V8,"00071":z8,"00072":j8,"00073":B8,derm:H8,larter:$8,icut:q8,ider:U8,oft:G8,"cutaneous-injection":Y8,"dermal-injection":W8,"nose-left":K8,"nose-right":Z8,"both-nostrils":X8,"eye-left":Q8,"eye-right":J8,"both-eyes":e$,"ear-left":t$,"ear-right":i$,"both-ears":a$,"vitreal-injection":n$,transdermal:r$,hyperdermoclyse:o$,"00003":s$,"00004":l$,"00006":c$,"00007":d$,"00014":u$,"00015":h$,"00016":p$,"00017":m$,"00018":f$,"00019":g$,"00020":v$,"00021":y$,"00022":b$,"00023":_$,"00024":x$,"00025":w$,"00026":S$,"00027":k$,"00028":E$,"00029":C$,"00030":D$,"00031":I$,"00032":A$,"00036":O$,"00037":T$,"00038":N$,"00039":R$,"00040":M$,"00041":P$,"00042":F$,"00043":L$,"00044":V$,"00047":z$,"00048":j$,"00050":B$,"00057":H$,"00058":$$,"00059":q$,"00061":U$,"00062":G$,"00063":Y$,"00065":W$,"00069":K$},Lfe={nl:u8,fr:CH,de:i4,en:B9},Z$={};Ae(Z$,{default:()=>Vfe,rsb:()=>J$,rsw:()=>Q$,vitalink:()=>X$});var X$="Vitalink",Q$="Réseau Santé Wallon",J$="Brüsseler Gesundheitsnetzwerk",Vfe={vitalink:X$,rsw:Q$,rsb:J$},eq={};Ae(eq,{default:()=>zfe,rsb:()=>aq,rsw:()=>iq,vitalink:()=>tq});var tq="Vitalink",iq="Réseau Santé Wallon",aq="Brussels Health Network",zfe={vitalink:tq,rsw:iq,rsb:aq},nq={};Ae(nq,{default:()=>jfe,rsb:()=>sq,rsw:()=>oq,vitalink:()=>rq});var rq="Vitalink",oq="Réseau Santé Wallon",sq="Réseau Santé Bruxellois",jfe={vitalink:rq,rsw:oq,rsb:sq},lq={};Ae(lq,{default:()=>Bfe,rsb:()=>uq,rsw:()=>dq,vitalink:()=>cq});var cq="Vitalink",dq="Réseau Santé Wallon",uq="Brusselse Gezondheidsnetwerk",Bfe={vitalink:cq,rsw:dq,rsb:uq},Hfe={nl:lq,fr:nq,de:Z$,en:eq},hq={};Ae(hq,{alphabetical:()=>wq,author:()=>fq,date:()=>gq,default:()=>$fe,expiration:()=>xq,medicationName:()=>pq,role:()=>vq,sort:()=>_q,"sorting-ascendant":()=>yq,"sorting-descendent":()=>bq,validityDate:()=>mq});var pq="Arzneimittel",mq="Ablaufdatum",fq="Verfasser",gq="Datum",vq="Benutzerrolle",yq="Aufsteigend sortieren",bq="Absteigend sortieren",_q="Sortieren",xq={asc:"läuft zuerst ab",desc:"läuft zuletzt ab"},wq={asc:"Medikamentenname (A→Z)",desc:"Medikamentenname (Z→A)"},$fe={medicationName:pq,validityDate:mq,author:fq,date:gq,role:vq,"sorting-ascendant":yq,"sorting-descendent":bq,sort:_q,expiration:xq,alphabetical:wq},Sq={};Ae(Sq,{alphabetical:()=>Rq,author:()=>Iq,date:()=>Aq,default:()=>qfe,expiration:()=>Nq,medicationName:()=>kq,role:()=>Oq,sort:()=>Tq,"sorting-ascendant":()=>Cq,"sorting-descendent":()=>Dq,validityDate:()=>Eq});var kq="Drug",Eq="Validity",Cq="Sort by ascending order",Dq="Sort by descending order",Iq="Author",Aq="Date",Oq="Role",Tq="Sort by",Nq={asc:"expires first",desc:"expires last"},Rq={asc:"medication name (A→Z)",desc:"medication name (Z→A)"},qfe={medicationName:kq,validityDate:Eq,"sorting-ascendant":Cq,"sorting-descendent":Dq,author:Iq,date:Aq,role:Oq,sort:Tq,expiration:Nq,alphabetical:Rq},Mq={};Ae(Mq,{alphabetical:()=>qq,author:()=>Lq,date:()=>Vq,default:()=>Ufe,expiration:()=>$q,medicationName:()=>Pq,role:()=>zq,sort:()=>Hq,"sorting-ascendant":()=>jq,"sorting-descendent":()=>Bq,validityDate:()=>Fq});var Pq="Médicament",Fq="Validité",Lq="Auteur",Vq="Date",zq="Qualité",jq="Trier par ordre croissant",Bq="Trier par ordre décroissant",Hq="Trier",$q={asc:"expire en premier",desc:"expire en dernier"},qq={asc:"nom du médicament (A→Z)",desc:"nom du médicament (Z→A)"},Ufe={medicationName:Pq,validityDate:Fq,author:Lq,date:Vq,role:zq,"sorting-ascendant":jq,"sorting-descendent":Bq,sort:Hq,expiration:$q,alphabetical:qq},Uq={};Ae(Uq,{alphabetical:()=>tU,author:()=>Wq,date:()=>Kq,default:()=>Gfe,expiration:()=>eU,medicationName:()=>Gq,role:()=>Zq,sort:()=>Jq,"sorting-ascendant":()=>Xq,"sorting-descendent":()=>Qq,validityDate:()=>Yq});var Gq="Geneesmiddel",Yq="Geldigheid",Wq="Auteur",Kq="Datum",Zq="Rol",Xq="Oplopend sorteren",Qq="Aflopend sorteren",Jq="Sorteren",eU={asc:"vervalt eerst",desc:"vervalt laatst"},tU={asc:"medicatienaam (A→Z)",desc:"medicatienaam (Z→A)"},Gfe={medicationName:Gq,validityDate:Yq,author:Wq,date:Kq,role:Zq,"sorting-ascendant":Xq,"sorting-descendent":Qq,sort:Jq,expiration:eU,alphabetical:tU},Yfe={nl:Uq,fr:Mq,de:hq,en:Sq},iU={};Ae(iU,{antibiotherapy:()=>dU,default:()=>Wfe,dentalcare:()=>hU,diabetes:()=>aU,infectiology:()=>uU,medication:()=>nU,movement:()=>rU,nutrition:()=>oU,oncology:()=>cU,pregnancy:()=>pU,renalinsufficiency:()=>sU,woundcare:()=>lU});var aU="Diabetes",nU="Medikation",rU="Bewegung",oU="Ernährung",sU="Nierinsuffizienz",lU="Wundversorgung",cU="Onkologie",dU="Antibiotikatherapie",uU="Infektiologie",hU="Zahnpflege",pU="Schwangerschaft",Wfe={diabetes:aU,medication:nU,movement:rU,nutrition:oU,renalinsufficiency:sU,woundcare:lU,oncology:cU,antibiotherapy:dU,infectiology:uU,dentalcare:hU,pregnancy:pU},mU={};Ae(mU,{antibiotherapy:()=>wU,default:()=>Kfe,dentalcare:()=>kU,diabetes:()=>fU,infectiology:()=>SU,medication:()=>gU,movement:()=>vU,nutrition:()=>yU,oncology:()=>xU,pregnancy:()=>EU,renalinsufficiency:()=>bU,woundcare:()=>_U});var fU="Diabetes",gU="Medication",vU="Movement",yU="Nutrition",bU="Renal Insufficiency",_U="Wound Care",xU="Oncology",wU="Antibiotic Therapy",SU="Infectiology",kU="Dental Care",EU="Pregnancy",Kfe={diabetes:fU,medication:gU,movement:vU,nutrition:yU,renalinsufficiency:bU,woundcare:_U,oncology:xU,antibiotherapy:wU,infectiology:SU,dentalcare:kU,pregnancy:EU},CU={};Ae(CU,{antibiotherapy:()=>MU,default:()=>Zfe,dentalcare:()=>FU,diabetes:()=>DU,infectiology:()=>PU,medication:()=>IU,movement:()=>AU,nutrition:()=>OU,oncology:()=>RU,pregnancy:()=>LU,renalinsufficiency:()=>TU,woundcare:()=>NU});var DU="Diabète",IU="Médication",AU="Mouvement",OU="Nutrition",TU="Insuffisante rénale",NU="Soins de plaie",RU="Oncologie",MU="Antibiothérapie",PU="Infectiologie",FU="Soins dentaires",LU="Grossesse",Zfe={diabetes:DU,medication:IU,movement:AU,nutrition:OU,renalinsufficiency:TU,woundcare:NU,oncology:RU,antibiotherapy:MU,infectiology:PU,dentalcare:FU,pregnancy:LU},VU={};Ae(VU,{antibiotherapy:()=>GU,default:()=>Xfe,dentalcare:()=>WU,diabetes:()=>zU,infectiology:()=>YU,medication:()=>jU,movement:()=>BU,nutrition:()=>HU,oncology:()=>UU,pregnancy:()=>KU,renalinsufficiency:()=>$U,woundcare:()=>qU});var zU="Diabetes",jU="Medicatie",BU="Beweging",HU="Voeding",$U="Nierinsufficiëntie",qU="Wondzorg",UU="Oncologie",GU="Antibiotherapie",YU="Infectiologie",WU="Tandheelkundige zorgen",KU="Zwangerschap",Xfe={diabetes:zU,medication:jU,movement:BU,nutrition:HU,renalinsufficiency:$U,woundcare:qU,oncology:UU,antibiotherapy:GU,infectiology:YU,dentalcare:WU,pregnancy:KU},Qfe={nl:VU,fr:CU,de:iU,en:mU},ZU={};Ae(ZU,{"add-note-dialog":()=>XU,"add-note-error":()=>QU,cancel:()=>JU,confirm:()=>eG,default:()=>Jfe,"delete-dialog":()=>dG,disclaimer:()=>uG,filters:()=>tG,history:()=>iG,noDiaryNotes:()=>aG,noNote:()=>nG,noteDetailsDialog:()=>rG,readContent:()=>sG,readmore:()=>oG,sorting:()=>lG,table:()=>cG});var XU={cancel:"Abbrechen","character-counter":"maximale Zeichenanzahl",confirm:"Bestätigen",logout:"Abmelden","error-note-not-added":"Die Notiz konnte nicht hinzugefügt werden.","field-description":"Notiz",title:"Notiz hinzufügen","file-size-error":"Eine oder mehrere ausgewählte Dateien sind zu groß. Die maximale Dateigröße beträgt 6 MB.","file-upload-button":"Zur Auswahl","file-upload-title":"Anhang","file-info":"Erlaubte Formate: jpeg / jpg / pdf / png / tiff . Maximale Größe: 6 MB",warning:`Bitte beachten: <br>Über diese Anwendung ist es derzeit nicht möglich, Journalnotizen bei "Réseau Santé Wallon" und "Réseau Santé Bruxellois" zu löschen oder zu erstellen.<br>Wenn Sie also eine neue Notiz erstellen, wird diese in der flämischen Gesundheitssafe 'Vitalink' gespeichert.<br>Wir hoffen, Ihnen in Kürze alle Optionen anbieten zu können.`},QU={VIDIS_0410:"Ihr Text überschreitet die zulässige Länge von 319 Zeichen. (VIDIS_0410)",VIDIS_0415:"Eine oder mehrere ausgewählte Dateien sind zu groß. Die maximale Dateigröße beträgt 6 MB. (VIDIS_0415)",VIDIS_0420:"Der Typ einer Ihrer Dateien wird nicht unterstützt. Erlaubte Formate: jpeg/jpg/png/tiff. (VIDIS_0420)",VIDIS_0425:"Die Anzahl der Anhänge überschreitet das zulässige Limit",VIDIS_1000:"Diese version der notiz ist nicht mehr verfügbar. Bitte aktualisieren Sie die seite. (VIDIS_1000)",VIDIS_1005:"Sie sind nicht berechtigt, diese notiz zu ändern (VIDIS_1005)",default:"Die Notiz konnte nicht hinzugefügt werden."},JU="Abbrechen",eG="Bestätigen",tG={author:"Verfasser",clearfilters:"Filter löschen",date:"Datum",errFrom:"Das Anfangsdatum muss vor dem Enddatum liegen",errUntil:"Das Enddatum muss nach dem Anfangsdatum liegen",filter:"Filter",from:"Von",nonefound:"Keine Einträge gefunden.",role:"Benutzerrolle",until:"Bis",annex:"Nur mit Anhängen",deleteSelection:"Selektion löschen",tags:"Schüsselwörter"},iG="Historisch",aG="Es sind keine gemeinsamen Journalnotizen verfügbar",nG={part1:"Eine Journalnotiz kann mit einem Tagebucheintrag verglichen werden, auf den Sie und Ihre Gesundheitsdienstleister Zugriff haben. Journalnotizen enthalten gemeinsame Informationen über einen Patienten und ermöglichen eine bessere Zusammenarbeit zwischen den an der Behandlung Beteiligten, einschließlich des Patienten.",part2:"Derzeit stehen für Sie noch keine Journalnotizen zur Verfügung. Wenn Sie eine neue Journalnotiz erstellen möchten, klicken Sie auf die Schaltfläche {addNote}.",part3:"Bitte beachten",part4:'Über diese Anwendung ist es derzeit nicht möglich, Journalnotizen bei "Réseau Santé Wallon" und "Réseau Santé Bruxellois" zu löschen oder zu erstellen.',part5:"Wenn Sie also eine neue Notiz erstellen, wird diese in der flämischen Gesundheitssafe 'Vitalink' gespeichert.",part6:"Wir hoffen, Ihnen in Kürze alle Optionen anbieten zu können."},rG={author:"Verfasser",date:"Datum",note:"Notiz",role:"Benutzerrolle"},oG="Weiterlesen",sG="Lesen Sie die Notiz",lG={numberPerPage:"Anzahl pro Seite","sorting-title":"Sortieren"},cG={addNote:"Eintrag hinzufügen",author:"Verfasser",date:"Datum",next:"Nächster",note:"Notiz",attachment:"{count, plural, one{Anhang} other{Anhänge}}",readMore:"Weiterlesen",role:"Benutzerrolle",error:"Leider war es nicht möglich, die Details der Notiz wiederzufinden. Versuchen Sie es erneut?",views:{full:"Vollständige Liste",active:"Aktive",archived:"Archivierte"}},dG={title:"Archivieren diese Journalnotiz",message:"Möchten Sie diese Journalnotiz archivieren?",confirm:"Archivieren diese Journalnotiz",cancel:"Abbrechen"},uG="Die Tagebuchnotizen werden von Ihrem Pflegeteam verwaltet und über Vitalink, Réseau Santé Wallon (RSW) und Réseau santé Bruxellois (RSB) geteilt.",Jfe={"add-note-dialog":XU,"add-note-error":QU,cancel:JU,confirm:eG,filters:tG,history:iG,noDiaryNotes:aG,noNote:nG,noteDetailsDialog:rG,readmore:oG,readContent:sG,sorting:lG,table:cG,"delete-dialog":dG,disclaimer:uG},hG={};Ae(hG,{"add-note-dialog":()=>pG,"add-note-error":()=>mG,cancel:()=>fG,confirm:()=>gG,default:()=>ege,"delete-dialog":()=>CG,disclaimer:()=>DG,filters:()=>vG,history:()=>yG,noDiaryNotes:()=>bG,noNote:()=>_G,noteDetailsDialog:()=>xG,readContent:()=>SG,readmore:()=>wG,sorting:()=>kG,table:()=>EG});var pG={cancel:"Cancel","character-counter":"maximum characters",confirm:"Confirm",logout:"Log out","error-note-not-added":"The note could not be added.","field-description":"Note",title:"Add a note","file-size-error":"One or more selected files are too large. The maximum file size is 6 MB.","file-upload-button":"Select","file-upload-title":"Attachment","file-info":"Allowed formats: jpeg / jpg / pdf / png / tiff. Maximum size: 6 MB",warning:'Warning: <br>Currently, it is not possible to delete or create journal notes in the "Réseau Santé Wallon" and the "Brussels Health Network" through this application.<br>Therefore, if you create a new note, it will be stored in the Flemish vault "Vitalink".<br>We hope to offer all options soon.'},mG={VIDIS_0410:"Your text exceeds the allowed length of 319 characters. (VIDIS_0410)",VIDIS_0415:"One or more selected files are too large. The maximum file size is 6 MB. (VIDIS_0415)",VIDIS_0420:"The type of one of your files is not supported. Allowed formats: jpeg / jpg / png / tiff. (VIDIS_0420)",VIDIS_0425:"The number of attachments exceeds the allowed limit",VIDIS_1000:"This version of the note is no longer available. Please refresh the page. (VIDIS_1000)",VIDIS_1005:"You are not authorized to modify this note (VIDIS_1005)",default:"The note could not be added."},fG="Cancel",gG="Confirm",vG={author:"Author",clearfilters:"Clear filters",date:"Date",errFrom:"The start date must be earlier than the end date",errUntil:"The end date must be later than the start date",filter:"Filter",from:"From",nonefound:"No results found.",role:"Role",until:"Until",annex:"Only with attachments",deleteSelection:"Delete selection",tags:"Keywords"},yG="History",bG="There are no shared diary notes available",_G={part1:"A diary note can be compared to a journal entry that you and your care providers have access to. Diary notes contain shared information about a patient and facilitate better cooperation between the parties involved in the treatment, including the patient.",part2:"Currently, there are no diary notes available to you. If you wish to create one, click the button {addNote}.",part3:"Warning",part4:'Currently, it is not possible to delete or create diary notes in the "Réseau Santé Wallon" and the "Brussels Health Network" through this application.',part5:'Therefore, if you create a new note, it will be stored in the Flemish vault "Vitalink".',part6:"We hope to offer all options soon."},xG={author:"Author",date:"Date",note:"Note",role:"Role"},wG="Read more",SG="Read the note",kG={numberPerPage:"Number per page","sorting-title":"Sort"},EG={addNote:"Add a note",author:"Author",date:"Date",next:"Next",note:"Note",attachment:"{count, plural, one{Attachment} other{Attachments}}",readMore:"Read more",role:"Role",error:"Unfortunately, the details of the note could not be retrieved. Do you want to try again?",views:{full:"Full list",active:"Active",archived:"Archived"}},CG={title:"Archive this diary note",message:"Do you want to archive this diary note ?",confirm:"Archive this diary note",cancel:"Cancel"},DG="The journal notes are managed by your care team and shared via Vitalink, Réseau Santé Wallon (RSW), and Réseau Santé Bruxellois (RSB).",ege={"add-note-dialog":pG,"add-note-error":mG,cancel:fG,confirm:gG,filters:vG,history:yG,noDiaryNotes:bG,noNote:_G,noteDetailsDialog:xG,readmore:wG,readContent:SG,sorting:kG,table:EG,"delete-dialog":CG,disclaimer:DG},IG={};Ae(IG,{"add-note-dialog":()=>AG,"add-note-error":()=>OG,cancel:()=>TG,confirm:()=>NG,default:()=>tge,"delete-dialog":()=>HG,disclaimer:()=>$G,filters:()=>RG,history:()=>MG,noDiaryNotes:()=>PG,noNote:()=>FG,noteDetailsDialog:()=>LG,readContent:()=>zG,readmore:()=>VG,sorting:()=>jG,table:()=>BG});var AG={cancel:"Annuler","character-counter":"caractères maximum",confirm:"Confirmer",logout:"Me déconnecter","error-note-not-added":"La note n’a pas pu être ajoutée.","field-description":"Note",title:"Ajouter une note","file-size-error":"Un ou plusieurs fichiers sélectionnés sont trop volumineux. La taille maximale du fichier est de 6 MB.","file-upload-button":"Sélectionner","file-upload-title":"Pièce jointe","file-info":"Formats autorisés : jpeg / jpg / pdf / png / tiff . Taille maximale : 6 MB",warning:`Attention : <br> Par cette application, il n'est actuellement pas possible de supprimer ou de créer des notes de journal au "Réseau Santé Wallon" et au "Réseau Santé Bruxellois".<br> Par conséquent, si vous créez une nouvelle note, elle sera stockée dans le coffre-fort flamand "Vitalink".<br>Nous espérons cependant pouvoir vous offrir toutes les options bientôt.`},OG={VIDIS_0410:"Votre texte dépasse la longueur autorisée de 319 caractères. (VIDIS_0410)",VIDIS_0415:"Un ou plusieurs fichiers sélectionnés sont trop volumineux. La taille maximale du fichier est de 6 Mo. (VIDIS_0415)",VIDIS_0420:"Le type de l'un de vos fichiers n'est pas supportée. Formats autorisés: jpeg / jpg / png / tiff. (VIDIS_0420)",VIDIS_0425:"Le nombre de pièces jointes dépasse la limite autorisée",VIDIS_1000:"Cette version de la note n'est plus disponible. Veuillez rafraichir la page. (VIDIS_1000)",VIDIS_1005:"Vous n'êtes pas autorisé à modifier cette note (VIDIS_1005)",default:"La note n’a pas pu être ajoutée."},TG="Annuler",NG="Confirmer",RG={author:"Auteur",clearfilters:"Vider les filtres",date:"Date",errFrom:"La date de début doit être antérieure à la date de fin",errUntil:"La date de fin doit être postérieure à la date de début",filter:"Filtre",from:"De",nonefound:"Aucun résultat trouvé.",role:"Qualité",until:"Jusqu’au",annex:"Uniquement avec annexes",deleteSelection:"Effacer la sélection",tags:"Mots-clés"},MG="Historique",PG="Il n’y a pas de notes de journal partagées disponibles",FG={part1:"Une note de journal peut être comparée à une entrée de journal à laquelle vous et vos prestataires de soins avez accès. Les notes de journal contiennent des informations partagées sur un patient et permettent une meilleure coopération entre les acteurs engagés dans le traitement, y compris le patient.",part2:"Il n’y a actuellement aucune note de journal à votre disposition. Si vous souhaitez en créer une, cliquez sur le bouton {addNote}.",part3:"Attention",part4:`Par cette application, il n'est actuellement pas possible de supprimer ou de créer des notes de journal au "Réseau Santé Wallon" et au "Réseau Santé Bruxellois".`,part5:'Par conséquent, si vous créez une nouvelle note, elle sera stockée dans le coffre-fort flamand "Vitalink".',part6:"Nous espérons cependant pouvoir vous offrir toutes les options bientôt."},LG={author:"Auteur",date:"Date",note:"Note",role:"Qualité"},VG="Lire la suite",zG="Lire la note",jG={numberPerPage:"Nombre par page","sorting-title":"Tri"},BG={addNote:"Ajouter une note",author:"Auteur",date:"Date",next:"Suivant",note:"Note",attachment:"{count, plural, one{Pièce jointe} other{Pièces jointes}}",readMore:"Lire la suite",role:"Qualité",error:"Malheureusement, il n’a pas été possible de récupérer les détails de la note. Essayez-vous à nouveau?",views:{full:"Toute la liste",active:"Active(s)",archived:"Archivée(s)"}},HG={title:"Archiver cette note de journal",message:"Voulez-vous archiver cette note de journal?",confirm:"Archiver cette note de journal",cancel:"Annuler"},$G="Les notes de journal sont gérées par votre équipe de soins et sont partagées via Vitalink, Réseau Santé Wallon (RSW) et Réseau santé Bruxellois (RSB).",tge={"add-note-dialog":AG,"add-note-error":OG,cancel:TG,confirm:NG,filters:RG,history:MG,noDiaryNotes:PG,noNote:FG,noteDetailsDialog:LG,readmore:VG,readContent:zG,sorting:jG,table:BG,"delete-dialog":HG,disclaimer:$G},qG={};Ae(qG,{"add-note-dialog":()=>UG,"add-note-error":()=>GG,cancel:()=>YG,confirm:()=>WG,default:()=>ige,"delete-dialog":()=>nY,disclaimer:()=>rY,filters:()=>KG,history:()=>ZG,noDiaryNotes:()=>XG,noNote:()=>QG,noteDetailsDialog:()=>JG,readContent:()=>tY,readmore:()=>eY,sorting:()=>iY,table:()=>aY});var UG={cancel:"Annuleren","character-counter":"maximum aantal tekens",confirm:"Bevestigen",logout:"Afmelden","error-note-not-added":"De notitie kon niet worden toegevoegd.","field-description":"Notitie",title:"Notitie toevoegen","file-size-error":"Een of meer geselecteerde bestanden zijn te groot. De maximale bestandsgrootte is 6 MB.","file-upload-button":"Selecteer","file-upload-title":"Bijlage","file-info":"Toegestane formaten: jpeg / jpg / pdf / png / tiff . Maximale bestandsgrootte: 6 MB",warning:"Opgelet: <br>Via deze applicatie is het momenteel niet mogelijk om journaalnotities bij 'Réseau Santé Wallon’ en ‘Réseau Santé Bruxellois' te verwijderen of aan te maken.<br>Indien u een nieuwe notitie aanmaakt, zal die bijgevolg worden opgeslagen bij de Vlaamse gezondheidskluis 'Vitalink'.<br>We hopen u binnenkort wel alle mogelijkheden te kunnen aanbieden."},GG={VIDIS_0410:"Uw tekst overschrijdt de toegestane lengte van 319 tekens. (VIDIS_0410)",VIDIS_0415:"Een of meer geselecteerde bestanden zijn te groot. De maximale bestandsgrootte is 6 MB. (VIDIS_0415)",VIDIS_0420:"Het type van een van uw bestanden wordt niet ondersteund. Toegestane formaten: jpeg/jpg/png/tiff. (VIDIS_0420)",VIDIS_0425:"Het aantal bijlagen overschrijdt de toegestane grens",VIDIS_1000:"Deze versie van de notitie is niet langer beschikbaar. Gelieve de pagina te vernieuwen. (VIDIS_1000)",VIDIS_1005:"U bent niet bevoegd om deze notitie te wijzigen. (VIDIS_1005)",default:"De notitie kon niet worden toegevoegd."},YG="Annuleren",WG="Bevestigen",KG={author:"Auteur",clearfilters:"Verwijder filters",date:"Datum",errFrom:"De begindatum moet voor de einddatum liggen",errUntil:"De einddatum moet na de begindatum liggen",filter:"Filter",from:"Van",nonefound:"Geen resultaten gevonden.",role:"Rol",until:"Tot",annex:"Enkel met bijlagen",deleteSelection:"Selectie verwijderen",tags:"Sleutelwoorden"},ZG="Historiek",XG="Er zijn geen gedeelde journaalnota's beschikbaar",QG={part1:"Een journaalnotitie kan u vergelijken met een aantekening in een dagboek waartoe u en uw zorgverleners toegang hebben. Journaalnotities bevatten gedeelde informatie over een patiënt en zorgen voor een betere samenwerking tussen degenen die bij de behandeling betrokken zijn, inclusief de patiënt.",part2:"Momenteel zijn er nog geen journaalnotities voor u beschikbaar. Indien u er een wenst aan te maken, klik dan op de knop {addNote}.",part3:"Opgelet",part4:"Via deze applicatie is het momenteel niet mogelijk om journaalnotities bij 'Réseau Santé Wallon’ en ‘Réseau Santé Bruxellois' te verwijderen of aan te maken.",part5:"Indien u een nieuwe notitie aanmaakt, zal die bijgevolg worden opgeslagen bij de Vlaamse gezondheidskluis 'Vitalink'.",part6:"We hopen u binnenkort wel alle mogelijkheden te kunnen aanbieden."},JG={author:"Auteur",date:"Datum",note:"Nota",role:"Rol"},eY="Lees meer",tY="Lees de nota",iY={numberPerPage:"Aantal per pagina","sorting-title":"Sortering"},aY={addNote:"Nota toevoegen",author:"Auteur",date:"Datum",next:"Volgende",note:"Nota",attachment:"{count, plural, one{Bijlage} other{Bijlagen}}",readMore:"Lees verder",role:"Rol",error:"Het is jammer genoeg niet gelukt de details van de nota op te halen. Probeert u het even opnieuw?",views:{full:"Volledige lijst",active:"Actief",archived:"Gearchiveerde"}},nY={title:"Archiveren journaalnotitie",message:"Wilt U deze journaalnotitie archiveren?",confirm:"Archiveren journaalnotitie",cancel:"Annuleren"},rY="De journaalnota's worden beheerd door uw zorgteam en wordt gedeeld via Vitalink, Réseau Santé Wallon (RSW) en Réseau santé Bruxellois (RSB).",ige={"add-note-dialog":UG,"add-note-error":GG,cancel:YG,confirm:WG,filters:KG,history:ZG,noDiaryNotes:XG,noNote:QG,noteDetailsDialog:JG,readmore:eY,readContent:tY,sorting:iY,table:aY,"delete-dialog":nY,disclaimer:rY},age={nl:qG,fr:IG,de:ZU,en:hG},nge=class extends el{getTranslation(e){return yt({commons:Qe(Q({},vfe[e]),{matPaginator:wfe[e],days:sfe[e],errors:hfe[e],roles:Nfe[e],safes:Hfe[e],period:Dfe[e],routes:Lfe[e],sortDropdown:Yfe[e],tags:Qfe[e]}),diaryNotesPage:age[e]})}},Ye=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Ye||{}),ln="*";function rge(e,t=null){return{type:Ye.Sequence,steps:e,options:t}}function By(e){return{type:Ye.Style,styles:e,offset:null}}var Is=class{constructor(e=0,t=0){o(this,"_onDoneFns",[]);o(this,"_onStartFns",[]);o(this,"_onDestroyFns",[]);o(this,"_originalOnDoneFns",[]);o(this,"_originalOnStartFns",[]);o(this,"_started",!1);o(this,"_destroyed",!1);o(this,"_finished",!1);o(this,"_position",0);o(this,"parentPlayer",null);o(this,"totalTime");this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},oY=class{constructor(e){o(this,"_onDoneFns",[]);o(this,"_onStartFns",[]);o(this,"_finished",!1);o(this,"_started",!1);o(this,"_destroyed",!1);o(this,"_onDestroyFns",[]);o(this,"parentPlayer",null);o(this,"totalTime",0);o(this,"players");this.players=e;let t=0,n=0,i=0,a=this.players.length;a==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(r=>{r.onDone(()=>{++t==a&&this._onFinish()}),r.onDestroy(()=>{++n==a&&this._onDestroy()}),r.onStart(()=>{++i==a&&this._onStart()})}),this.totalTime=this.players.reduce((r,s)=>Math.max(r,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(n=>{let i=n.totalTime?Math.min(1,t/n.totalTime):1;n.setPosition(i)})}getPosition(){let e=this.players.reduce((t,n)=>t===null||n.totalTime>t.totalTime?n:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},kf="!";function Hy(e){return new K(3e3,!1)}function oge(){return new K(3100,!1)}function sge(){return new K(3101,!1)}function lge(e){return new K(3001,!1)}function cge(e){return new K(3003,!1)}function dge(e){return new K(3004,!1)}function uge(e,t){return new K(3005,!1)}function hge(){return new K(3006,!1)}function pge(){return new K(3007,!1)}function mge(e,t){return new K(3008,!1)}function fge(e){return new K(3002,!1)}function gge(e,t,n,i,a){return new K(3010,!1)}function vge(){return new K(3011,!1)}function yge(){return new K(3012,!1)}function bge(){return new K(3200,!1)}function _ge(){return new K(3202,!1)}function xge(){return new K(3013,!1)}function wge(e){return new K(3014,!1)}function Sge(e){return new K(3015,!1)}function kge(e){return new K(3016,!1)}function Ege(e,t){return new K(3404,!1)}function Cge(e){return new K(3502,!1)}function Dge(e){return new K(3503,!1)}function Ige(){return new K(3300,!1)}function Age(e){return new K(3504,!1)}function Oge(e){return new K(3301,!1)}function Tge(e,t){return new K(3302,!1)}function Nge(e){return new K(3303,!1)}function Rge(e,t){return new K(3400,!1)}function Mge(e){return new K(3401,!1)}function Pge(e){return new K(3402,!1)}function Fge(e,t){return new K(3505,!1)}function kn(e){switch(e.length){case 0:return new Is;case 1:return e[0];default:return new oY(e)}}function sY(e,t,n=new Map,i=new Map){let a=[],r=[],s=-1,l=null;if(t.forEach(c=>{let d=c.get("offset"),u=d==s,p=u&&l||new Map;c.forEach((v,f)=>{let x=f,w=v;if(f!=="offset")switch(x=e.normalizePropertyName(x,a),w){case kf:w=n.get(f);break;case ln:w=i.get(f);break;default:w=e.normalizeStyleValue(f,x,w,a);break}p.set(x,w)}),u||r.push(p),l=p,s=d}),a.length)throw Cge();return r}function Ef(e,t,n,i){switch(t){case"start":e.onStart(()=>i(n&&nh(n,"start",e)));break;case"done":e.onDone(()=>i(n&&nh(n,"done",e)));break;case"destroy":e.onDestroy(()=>i(n&&nh(n,"destroy",e)));break}}function nh(e,t,n){let i=n.totalTime,a=!!n.disabled,r=Cf(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,i??e.totalTime,a),s=e._data;return s!=null&&(r._data=s),r}function Cf(e,t,n,i,a="",r=0,s){return{element:e,triggerName:t,fromState:n,toState:i,phaseName:a,totalTime:r,disabled:!!s}}function ji(e,t,n){let i=e.get(t);return i||e.set(t,i=n),i}function $y(e){let t=e.indexOf(":"),n=e.substring(1,t),i=e.slice(t+1);return[n,i]}var Lge=typeof document>"u"?null:document.documentElement;function Df(e){let t=e.parentNode||e.host||null;return t===Lge?null:t}function Vge(e){return e.substring(1,6)=="ebkit"}var Zn=null,qy=!1;function zge(e){Zn||(Zn=jge()||{},qy=Zn.style?"WebkitAppearance"in Zn.style:!1);let t=!0;return Zn.style&&!Vge(e)&&(t=e in Zn.style,!t&&qy&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Zn.style)),t}function jge(){return typeof document<"u"?document.body:null}function lY(e,t){for(;t;){if(t===e)return!0;t=Df(t)}return!1}function cY(e,t,n){if(n)return Array.from(e.querySelectorAll(t));let i=e.querySelector(t);return i?[i]:[]}var Bge=1e3,dY="{{",Hge="}}",uY="ng-enter",bp="ng-leave",Yl="ng-trigger",ed=".ng-trigger",Uy="ng-animating",_p=".ng-animating";function tn(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:xp(parseFloat(t[1]),t[2])}function xp(e,t){switch(t){case"s":return e*Bge;default:return e}}function td(e,t,n){return e.hasOwnProperty("duration")?e:$ge(e,t,n)}function $ge(e,t,n){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,a,r=0,s="";if(typeof e=="string"){let l=e.match(i);if(l===null)return t.push(Hy()),{duration:0,delay:0,easing:""};a=xp(parseFloat(l[1]),l[2]);let c=l[3];c!=null&&(r=xp(parseFloat(c),l[4]));let d=l[5];d&&(s=d)}else a=e;if(!n){let l=!1,c=t.length;a<0&&(t.push(oge()),l=!0),r<0&&(t.push(sge()),l=!0),l&&t.splice(c,0,Hy())}return{duration:a,delay:r,easing:s}}function qge(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function Aa(e,t,n){t.forEach((i,a)=>{let r=If(a);n&&!n.has(a)&&n.set(a,e.style[r]),e.style[r]=i})}function or(e,t){t.forEach((n,i)=>{let a=If(i);e.style[a]=""})}function Uo(e){return Array.isArray(e)?e.length==1?e[0]:rge(e):e}function Uge(e,t,n){let i=t.params||{},a=hY(e);a.length&&a.forEach(r=>{i.hasOwnProperty(r)||n.push(lge())})}var wp=new RegExp(`${dY}\\s*(.+?)\\s*${Hge}`,"g");function hY(e){let t=[];if(typeof e=="string"){let n;for(;n=wp.exec(e);)t.push(n[1]);wp.lastIndex=0}return t}function As(e,t,n){let i=`${e}`,a=i.replace(wp,(r,s)=>{let l=t[s];return l==null&&(n.push(cge()),l=""),l.toString()});return a==i?e:a}var Gge=/-+([a-z0-9])/g;function If(e){return e.replace(Gge,(...t)=>t[1].toUpperCase())}function Yge(e,t){return e===0||t===0}function Wge(e,t,n){if(n.size&&t.length){let i=t[0],a=[];if(n.forEach((r,s)=>{i.has(s)||a.push(s),i.set(s,r)}),a.length)for(let r=1;r<t.length;r++){let s=t[r];a.forEach(l=>s.set(l,Af(e,l)))}}return t}function zi(e,t,n){switch(t.type){case Ye.Trigger:return e.visitTrigger(t,n);case Ye.State:return e.visitState(t,n);case Ye.Transition:return e.visitTransition(t,n);case Ye.Sequence:return e.visitSequence(t,n);case Ye.Group:return e.visitGroup(t,n);case Ye.Animate:return e.visitAnimate(t,n);case Ye.Keyframes:return e.visitKeyframes(t,n);case Ye.Style:return e.visitStyle(t,n);case Ye.Reference:return e.visitReference(t,n);case Ye.AnimateChild:return e.visitAnimateChild(t,n);case Ye.AnimateRef:return e.visitAnimateRef(t,n);case Ye.Query:return e.visitQuery(t,n);case Ye.Stagger:return e.visitStagger(t,n);default:throw dge(t.type)}}function Af(e,t){return window.getComputedStyle(e)[t]}var Kge=(()=>{const t=class t{validateStyleProperty(i){return zge(i)}containsElement(i,a){return lY(i,a)}getParentElement(i){return Df(i)}query(i,a,r){return cY(i,a,r)}computeStyle(i,a,r){return r||""}animate(i,a,r,s,l,c=[],d){return new Is(r,s)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),uh,pY=(uh=class{},o(uh,"NOOP",new Kge),uh),Of=class{},Zge=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Xge=class extends Of{normalizePropertyName(e,t){return If(e)}normalizeStyleValue(e,t,n,i){let a="",r=n.toString().trim();if(Zge.has(t)&&n!==0&&n!=="0")if(typeof n=="number")a="px";else{let s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&i.push(uge())}return r+a}},id="*";function Qge(e,t){let n=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(i=>Jge(i,n,t)):n.push(e),n}function Jge(e,t,n){if(e[0]==":"){let c=eve(e,n);if(typeof c=="function"){t.push(c);return}e=c}let i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return n.push(Sge()),t;let a=i[1],r=i[2],s=i[3];t.push(Gy(a,s));let l=a==id&&s==id;r[0]=="<"&&!l&&t.push(Gy(s,a))}function eve(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,i)=>parseFloat(i)>parseFloat(n);case":decrement":return(n,i)=>parseFloat(i)<parseFloat(n);default:return t.push(kge()),"* => *"}}var Wl=new Set(["true","1"]),Kl=new Set(["false","0"]);function Gy(e,t){let n=Wl.has(e)||Kl.has(e),i=Wl.has(t)||Kl.has(t);return(a,r)=>{let s=e==id||e==a,l=t==id||t==r;return!s&&n&&typeof a=="boolean"&&(s=a?Wl.has(e):Kl.has(e)),!l&&i&&typeof r=="boolean"&&(l=r?Wl.has(t):Kl.has(t)),s&&l}}var mY=":self",tve=new RegExp(`s*${mY}s*,?`,"g");function fY(e,t,n,i){return new ive(e).build(t,n,i)}var Yy="",ive=class{constructor(e){o(this,"_driver");this._driver=e}build(e,t,n){let i=new rve(t);return this._resetContextStyleTimingState(i),zi(this,Uo(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=Yy,e.collectedStyles=new Map,e.collectedStyles.set(Yy,new Map),e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,i=t.depCount=0,a=[],r=[];return e.name.charAt(0)=="@"&&t.errors.push(hge()),e.definitions.forEach(s=>{if(this._resetContextStyleTimingState(t),s.type==Ye.State){let l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,a.push(this.visitState(l,t))}),l.name=c}else if(s.type==Ye.Transition){let l=this.visitTransition(s,t);n+=l.queryCount,i+=l.depCount,r.push(l)}else t.errors.push(pge())}),{type:Ye.Trigger,name:e.name,states:a,transitions:r,queryCount:n,depCount:i,options:null}}visitState(e,t){let n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){let a=new Set,r=i||{};n.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{hY(l).forEach(c=>{r.hasOwnProperty(c)||a.add(c)})})}),a.size&&t.errors.push(mge(e.name,[...a.values()]))}return{type:Ye.State,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let n=zi(this,Uo(e.animation),t),i=Qge(e.expr,t.errors);return{type:Ye.Transition,matchers:i,animation:n,queryCount:t.queryCount,depCount:t.depCount,options:Xn(e.options)}}visitSequence(e,t){return{type:Ye.Sequence,steps:e.steps.map(n=>zi(this,n,t)),options:Xn(e.options)}}visitGroup(e,t){let n=t.currentTime,i=0,a=e.steps.map(r=>{t.currentTime=n;let s=zi(this,r,t);return i=Math.max(i,t.currentTime),s});return t.currentTime=i,{type:Ye.Group,steps:a,options:Xn(e.options)}}visitAnimate(e,t){let n=sve(e.timings,t.errors);t.currentAnimateTimings=n;let i,a=e.styles?e.styles:By({});if(a.type==Ye.Keyframes)i=this.visitKeyframes(a,t);else{let r=e.styles,s=!1;if(!r){s=!0;let c={};n.easing&&(c.easing=n.easing),r=By(c)}t.currentTime+=n.duration+n.delay;let l=this.visitStyle(r,t);l.isEmptyStep=s,i=l}return t.currentAnimateTimings=null,{type:Ye.Animate,timings:n,style:i,options:null}}visitStyle(e,t){let n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){let n=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let s of i)typeof s=="string"?s===ln?n.push(s):t.errors.push(fge()):n.push(new Map(Object.entries(s)));let a=!1,r=null;return n.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(r=s.get("easing"),s.delete("easing")),!a)){for(let l of s.values())if(l.toString().indexOf(dY)>=0){a=!0;break}}}),{type:Ye.Style,styles:n,easing:r,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){let n=t.currentAnimateTimings,i=t.currentTime,a=t.currentTime;n&&a>0&&(a-=n.duration+n.delay),e.styles.forEach(r=>{typeof r!="string"&&r.forEach((s,l)=>{let c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l),u=!0;d&&(a!=i&&a>=d.startTime&&i<=d.endTime&&(t.errors.push(gge(l,d.startTime,d.endTime)),u=!1),a=d.startTime),u&&c.set(l,{startTime:a,endTime:i}),t.options&&Uge(s,t.options,t.errors)})})}visitKeyframes(e,t){let n={type:Ye.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(vge()),n;let i=1,a=0,r=[],s=!1,l=!1,c=0,d=e.steps.map(E=>{let A=this._makeStyleAst(E,t),L=A.offset!=null?A.offset:ove(A.styles),M=0;return L!=null&&(a++,M=A.offset=L),l=l||M<0||M>1,s=s||M<c,c=M,r.push(M),A});l&&t.errors.push(yge()),s&&t.errors.push(bge());let u=e.steps.length,p=0;a>0&&a<u?t.errors.push(_ge()):a==0&&(p=i/(u-1));let v=u-1,f=t.currentTime,x=t.currentAnimateTimings,w=x.duration;return d.forEach((E,A)=>{let L=p>0?A==v?1:p*A:r[A],M=L*w;t.currentTime=f+x.delay+M,x.duration=M,this._validateStyleAst(E,t),E.offset=L,n.styles.push(E)}),n}visitReference(e,t){return{type:Ye.Reference,animation:zi(this,Uo(e.animation),t),options:Xn(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Ye.AnimateChild,options:Xn(e.options)}}visitAnimateRef(e,t){return{type:Ye.AnimateRef,animation:this.visitReference(e.animation,t),options:Xn(e.options)}}visitQuery(e,t){let n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[a,r]=ave(e.selector);t.currentQuerySelector=n.length?n+" "+a:a,ji(t.collectedStyles,t.currentQuerySelector,new Map);let s=zi(this,Uo(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:Ye.Query,selector:a,limit:i.limit||0,optional:!!i.optional,includeSelf:r,animation:s,originalSelector:e.selector,options:Xn(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(xge());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:td(e.timings,t.errors,!0);return{type:Ye.Stagger,animation:zi(this,Uo(e.animation),t),timings:n,options:null}}};function ave(e){let t=!!e.split(/\s*,\s*/).find(n=>n==mY);return t&&(e=e.replace(tve,"")),e=e.replace(/@\*/g,ed).replace(/@\w+/g,n=>ed+"-"+n.slice(1)).replace(/:animating/g,_p),[e,t]}function nve(e){return e?Q({},e):null}var rve=class{constructor(e){o(this,"errors");o(this,"queryCount",0);o(this,"depCount",0);o(this,"currentTransition",null);o(this,"currentQuery",null);o(this,"currentQuerySelector",null);o(this,"currentAnimateTimings",null);o(this,"currentTime",0);o(this,"collectedStyles",new Map);o(this,"options",null);o(this,"unsupportedCSSPropertiesFound",new Set);this.errors=e}};function ove(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(n=>{if(n instanceof Map&&n.has("offset")){let i=n;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let n=e;t=parseFloat(n.get("offset")),n.delete("offset")}return t}function sve(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let a=td(e,t).duration;return rh(a,0,"")}let n=e;if(n.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=rh(0,0,"");return a.dynamic=!0,a.strValue=n,a}let i=td(n,t);return rh(i.duration,i.delay,i.easing)}function Xn(e){return e?(e=Q({},e),e.params&&(e.params=nve(e.params))):e={},e}function rh(e,t,n){return{duration:e,delay:t,easing:n}}function Tf(e,t,n,i,a,r,s=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:a,delay:r,totalTime:a+r,easing:s,subTimeline:l}}var Nf=class{constructor(){o(this,"_map",new Map)}get(e){return this._map.get(e)||[]}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},lve=1,cve=":enter",dve=new RegExp(cve,"g"),uve=":leave",hve=new RegExp(uve,"g");function gY(e,t,n,i,a,r=new Map,s=new Map,l,c,d=[]){return new pve().buildKeyframes(e,t,n,i,a,r,s,l,c,d)}var pve=class{buildKeyframes(e,t,n,i,a,r,s,l,c,d=[]){c=c||new Nf;let u=new mve(e,t,c,i,a,d,[]);u.options=l;let p=l.delay?tn(l.delay):0;u.currentTimeline.delayNextStep(p),u.currentTimeline.setStyles([r],null,u.errors,l),zi(this,n,u);let v=u.timelines.filter(f=>f.containsAnimation());if(v.length&&s.size){let f;for(let x=v.length-1;x>=0;x--){let w=v[x];if(w.element===t){f=w;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([s],null,u.errors,l)}return v.length?v.map(f=>f.buildKeyframes()):[Tf(t,[],[],[],0,p,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let n=t.subInstructions.get(t.element);if(n){let i=t.createSubContext(e.options),a=t.currentTimeline.currentTime,r=this._visitSubInstructions(n,i,i.options);a!=r&&t.transformIntoNewTimeline(r)}t.previousNode=e}visitAnimateRef(e,t){let n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,n),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,n){for(let i of e){let a=i==null?void 0:i.delay;if(a){let r=typeof a=="number"?a:tn(As(a,(i==null?void 0:i.params)??{},t.errors));n.delayNextStep(r)}}}_visitSubInstructions(e,t,n){let i=t.currentTimeline.currentTime,a=n.duration!=null?tn(n.duration):null,r=n.delay!=null?tn(n.delay):null;return a!==0&&e.forEach(s=>{let l=t.appendInstructionToTimeline(s,a,r);i=Math.max(i,l.duration+l.delay)}),i}visitReference(e,t){t.updateOptions(e.options,!0),zi(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let n=t.subContextCount,i=t,a=e.options;if(a&&(a.params||a.delay)&&(i=t.createSubContext(a),i.transformIntoNewTimeline(),a.delay!=null)){i.previousNode.type==Ye.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ad);let r=tn(a.delay);i.delayNextStep(r)}e.steps.length&&(e.steps.forEach(r=>zi(this,r,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let n=[],i=t.currentTimeline.currentTime,a=e.options&&e.options.delay?tn(e.options.delay):0;e.steps.forEach(r=>{let s=t.createSubContext(e.options);a&&s.delayNextStep(a),zi(this,r,s),i=Math.max(i,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(r=>t.currentTimeline.mergeTimelineCollectedStyles(r)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let n=e.strValue,i=t.params?As(n,t.params,t.errors):n;return td(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());let a=e.style;a.type==Ye.Keyframes?this.visitKeyframes(a,t):(t.incrementTime(n.duration),this.visitStyle(a,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.hasCurrentStyleProperties()&&n.forwardFrame();let a=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(a):n.setStyles(e.styles,a,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let n=t.currentAnimateTimings,i=t.currentTimeline.duration,a=n.duration,r=t.createSubContext().currentTimeline;r.easing=n.easing,e.styles.forEach(s=>{let l=s.offset||0;r.forwardTime(l*a),r.setStyles(s.styles,s.easing,t.errors,t.options),r.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(r),t.transformIntoNewTimeline(i+a),t.previousNode=e}visitQuery(e,t){let n=t.currentTimeline.currentTime,i=e.options||{},a=i.delay?tn(i.delay):0;a&&(t.previousNode.type===Ye.Style||n==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ad);let r=n,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=s.length;let l=null;s.forEach((c,d)=>{t.currentQueryIndex=d;let u=t.createSubContext(e.options,c);a&&u.delayNextStep(a),c===t.element&&(l=u.currentTimeline),zi(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let p=u.currentTimeline.currentTime;r=Math.max(r,p)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(r),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let n=t.parentContext,i=t.currentTimeline,a=e.timings,r=Math.abs(a.duration),s=r*(t.currentQueryTotal-1),l=r*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":l=s-l;break;case"full":l=n.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let d=c.currentTime;zi(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-d+(i.startTime-n.currentTimeline.startTime)}},ad={},mve=class vY{constructor(t,n,i,a,r,s,l,c){o(this,"_driver");o(this,"element");o(this,"subInstructions");o(this,"_enterClassName");o(this,"_leaveClassName");o(this,"errors");o(this,"timelines");o(this,"parentContext",null);o(this,"currentTimeline");o(this,"currentAnimateTimings",null);o(this,"previousNode",ad);o(this,"subContextCount",0);o(this,"options",{});o(this,"currentQueryIndex",0);o(this,"currentQueryTotal",0);o(this,"currentStaggerTime",0);this._driver=t,this.element=n,this.subInstructions=i,this._enterClassName=a,this._leaveClassName=r,this.errors=s,this.timelines=l,this.currentTimeline=c||new yY(this._driver,n,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,n){if(!t)return;let i=t,a=this.options;i.duration!=null&&(a.duration=tn(i.duration)),i.delay!=null&&(a.delay=tn(i.delay));let r=i.params;if(r){let s=a.params;s||(s=this.options.params={}),Object.keys(r).forEach(l=>{(!n||!s.hasOwnProperty(l))&&(s[l]=As(r[l],s,this.errors))})}}_copyOptions(){let t={};if(this.options){let n=this.options.params;if(n){let i=t.params={};Object.keys(n).forEach(a=>{i[a]=n[a]})}}return t}createSubContext(t=null,n,i){let a=n||this.element,r=new vY(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=ad,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,n,i){let a={duration:n??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},r=new fve(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,a,t.stretchStartingKeyframe);return this.timelines.push(r),a}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,n,i,a,r,s){let l=[];if(a&&l.push(this.element),t.length>0){t=t.replace(dve,"."+this._enterClassName),t=t.replace(hve,"."+this._leaveClassName);let c=i!=1,d=this._driver.query(this.element,t,c);i!==0&&(d=i<0?d.slice(d.length+i,d.length):d.slice(0,i)),l.push(...d)}return!r&&l.length==0&&s.push(wge()),l}},yY=class bY{constructor(t,n,i,a){o(this,"_driver");o(this,"element");o(this,"startTime");o(this,"_elementTimelineStylesLookup");o(this,"duration",0);o(this,"easing",null);o(this,"_previousKeyframe",new Map);o(this,"_currentKeyframe",new Map);o(this,"_keyframes",new Map);o(this,"_styleSummary",new Map);o(this,"_localTimelineStyles",new Map);o(this,"_globalTimelineStyles");o(this,"_pendingStyles",new Map);o(this,"_backFill",new Map);o(this,"_currentEmptyStepKeyframe",null);this._driver=t,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=a,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+t),n&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,n){return this.applyStylesToKeyframe(),new bY(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=lve,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,n){this._localTimelineStyles.set(t,n),this._globalTimelineStyles.set(t,n),this._styleSummary.set(t,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[n,i]of this._globalTimelineStyles)this._backFill.set(n,i||ln),this._currentKeyframe.set(n,ln);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,n,i,a){n&&this._previousKeyframe.set("easing",n);let r=a&&a.params||{},s=gve(t,this._globalTimelineStyles);for(let[l,c]of s){let d=As(c,r,i);this._pendingStyles.set(l,d),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??ln),this._updateStyle(l,d)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,n)=>{this._currentKeyframe.set(n,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,t)}))}snapshotCurrentStyles(){for(let[t,n]of this._localTimelineStyles)this._pendingStyles.set(t,n),this._updateStyle(t,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let n in this._currentKeyframe)t.push(n);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((n,i)=>{let a=this._styleSummary.get(i);(!a||n.time>a.time)&&this._updateStyle(i,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,n=new Set,i=this._keyframes.size===1&&this.duration===0,a=[];this._keyframes.forEach((l,c)=>{let d=new Map([...this._backFill,...l]);d.forEach((u,p)=>{u===kf?t.add(p):u===ln&&n.add(p)}),i||d.set("offset",c/this.duration),a.push(d)});let r=[...t.values()],s=[...n.values()];if(i){let l=a[0],c=new Map(l);l.set("offset",0),c.set("offset",1),a=[l,c]}return Tf(this.element,a,r,s,this.duration,this.startTime,this.easing,!1)}},fve=class extends yY{constructor(t,n,i,a,r,s,l=!1){super(t,n,s.delay);o(this,"keyframes");o(this,"preStyleProps");o(this,"postStyleProps");o(this,"_stretchStartingKeyframe");o(this,"timings");this.keyframes=i,this.preStyleProps=a,this.postStyleProps=r,this._stretchStartingKeyframe=l,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:n,duration:i,easing:a}=this.timings;if(this._stretchStartingKeyframe&&n){let r=[],s=i+n,l=n/s,c=new Map(t[0]);c.set("offset",0),r.push(c);let d=new Map(t[0]);d.set("offset",Wy(l)),r.push(d);let u=t.length-1;for(let p=1;p<=u;p++){let v=new Map(t[p]),f=v.get("offset"),x=n+f*i;v.set("offset",Wy(x/s)),r.push(v)}i=s,n=0,a="",t=r}return Tf(this.element,t,this.preStyleProps,this.postStyleProps,i,n,a,!0)}};function Wy(e,t=3){let n=Math.pow(10,t-1);return Math.round(e*n)/n}function gve(e,t){let n=new Map,i;return e.forEach(a=>{if(a==="*"){i??(i=t.keys());for(let r of i)n.set(r,ln)}else for(let[r,s]of a)n.set(r,s)}),n}function Ky(e,t,n,i,a,r,s,l,c,d,u,p,v){return{type:0,element:e,triggerName:t,isRemovalTransition:a,fromState:n,fromStyles:r,toState:i,toStyles:s,timelines:l,queriedElements:c,preStyleProps:d,postStyleProps:u,totalTime:p,errors:v}}var oh={},_Y=class{constructor(e,t,n){o(this,"_triggerName");o(this,"ast");o(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,i){return vve(this.ast.matchers,e,t,n,i)}buildStyles(e,t,n){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e==null?void 0:e.toString())||i),i?i.buildStyles(t,n):new Map}build(e,t,n,i,a,r,s,l,c,d){var Jt;let u=[],p=this.ast.options&&this.ast.options.params||oh,v=s&&s.params||oh,f=this.buildStyles(n,v,u),x=l&&l.params||oh,w=this.buildStyles(i,x,u),E=new Set,A=new Map,L=new Map,M=i==="void",re={params:xY(x,p),delay:(Jt=this.ast.options)==null?void 0:Jt.delay},xe=d?[]:gY(e,t,this.ast.animation,a,r,f,w,re,c,u),Re=0;return xe.forEach(Ft=>{Re=Math.max(Ft.duration+Ft.delay,Re)}),u.length?Ky(t,this._triggerName,n,i,M,f,w,[],[],A,L,Re,u):(xe.forEach(Ft=>{let ft=Ft.element,Ut=ji(A,ft,new Set);Ft.preStyleProps.forEach(J=>Ut.add(J));let ne=ji(L,ft,new Set);Ft.postStyleProps.forEach(J=>ne.add(J)),ft!==t&&E.add(ft)}),Ky(t,this._triggerName,n,i,M,f,w,xe,[...E.values()],A,L,Re))}};function vve(e,t,n,i,a){return e.some(r=>r(t,n,i,a))}function xY(e,t){let n=Q({},t);return Object.entries(e).forEach(([i,a])=>{a!=null&&(n[i]=a)}),n}var yve=class{constructor(e,t,n){o(this,"styles");o(this,"defaultParams");o(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=n}buildStyles(e,t){let n=new Map,i=xY(e,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((r,s)=>{r&&(r=As(r,i,t));let l=this.normalizer.normalizePropertyName(s,t);r=this.normalizer.normalizeStyleValue(s,l,r,t),n.set(s,r)})}),n}};function bve(e,t,n){return new _ve(e,t,n)}var _ve=class{constructor(e,t,n){o(this,"name");o(this,"ast");o(this,"_normalizer");o(this,"transitionFactories",[]);o(this,"fallbackTransition");o(this,"states",new Map);this.name=e,this.ast=t,this._normalizer=n,t.states.forEach(i=>{let a=i.options&&i.options.params||{};this.states.set(i.name,new yve(i.style,a,n))}),Zy(this.states,"true","1"),Zy(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new _Y(e,i,this.states))}),this.fallbackTransition=xve(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,i){return this.transitionFactories.find(a=>a.match(e,t,n,i))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}};function xve(e,t,n){let i=[(s,l)=>!0],a={type:Ye.Sequence,steps:[],options:null},r={type:Ye.Transition,animation:a,matchers:i,options:null,queryCount:0,depCount:0};return new _Y(e,r,t)}function Zy(e,t,n){e.has(t)?e.has(n)||e.set(n,e.get(t)):e.has(n)&&e.set(t,e.get(n))}var wve=new Nf,Sve=class{constructor(e,t,n){o(this,"bodyNode");o(this,"_driver");o(this,"_normalizer");o(this,"_animations",new Map);o(this,"_playersById",new Map);o(this,"players",[]);this.bodyNode=e,this._driver=t,this._normalizer=n}register(e,t){let n=[],i=[],a=fY(this._driver,t,n,i);if(n.length)throw Dge();this._animations.set(e,a)}_buildPlayer(e,t,n){let i=e.element,a=sY(this._normalizer,e.keyframes,t,n);return this._driver.animate(i,a,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){let i=[],a=this._animations.get(e),r,s=new Map;if(a?(r=gY(this._driver,t,a,uY,bp,new Map,new Map,n,wve,i),r.forEach(d=>{let u=ji(s,d.element,new Map);d.postStyleProps.forEach(p=>u.set(p,null))})):(i.push(Ige()),r=[]),i.length)throw Age();s.forEach((d,u)=>{d.forEach((p,v)=>{d.set(v,this._driver.computeStyle(u,v,ln))})});let l=r.map(d=>{let u=s.get(d.element);return this._buildPlayer(d,new Map,u)}),c=kn(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Oge();return t}listen(e,t,n,i){let a=Cf(t,"","","");return Ef(this._getPlayer(e),n,a,i),()=>{}}command(e,t,n,i){if(n=="register"){this.register(e,i[0]);return}if(n=="create"){let r=i[0]||{};this.create(e,t,r);return}let a=this._getPlayer(e);switch(n){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},Xy="ng-animate-queued",kve=".ng-animate-queued",sh="ng-animate-disabled",Eve=".ng-animate-disabled",Cve="ng-star-inserted",Dve=".ng-star-inserted",Ive=[],wY={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ave={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ca="__ng_removed",Sp=class{constructor(e,t=""){o(this,"namespaceId");o(this,"value");o(this,"options");this.namespaceId=t;let n=e&&e.hasOwnProperty("value"),i=n?e.value:e;if(this.value=Rve(i),n){let a=e,{value:r}=a,s=kW(a,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){let t=e.params;if(t){let n=this.options.params;Object.keys(t).forEach(i=>{n[i]==null&&(n[i]=t[i])})}}},is="void",lh=new Sp(is),Ove=class{constructor(e,t,n){o(this,"id");o(this,"hostElement");o(this,"_engine");o(this,"players",[]);o(this,"_triggers",new Map);o(this,"_queue",[]);o(this,"_elementListeners",new Map);o(this,"_hostClassName");this.id=e,this.hostElement=t,this._engine=n,this._hostClassName="ng-tns-"+e,Zi(t,this._hostClassName)}listen(e,t,n,i){if(!this._triggers.has(t))throw Tge();if(n==null||n.length==0)throw Nge();if(!Mve(n))throw Rge();let a=ji(this._elementListeners,e,[]),r={name:t,phase:n,callback:i};a.push(r);let s=ji(this._engine.statesByElement,e,new Map);return s.has(t)||(Zi(e,Yl),Zi(e,Yl+"-"+t),s.set(t,lh)),()=>{this._engine.afterFlush(()=>{let l=a.indexOf(r);l>=0&&a.splice(l,1),this._triggers.has(t)||s.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw Mge();return t}trigger(e,t,n,i=!0){let a=this._getTrigger(t),r=new kp(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Zi(e,Yl),Zi(e,Yl+"-"+t),this._engine.statesByElement.set(e,s=new Map));let l=s.get(t),c=new Sp(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(t,c),l||(l=lh),c.value!==is&&l.value===c.value){if(!Lve(l.params,c.params)){let v=[],f=a.matchStyles(l.value,l.params,v),x=a.matchStyles(c.value,c.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{or(e,f),Aa(e,x)})}return}let d=ji(this._engine.playersByElement,e,[]);d.forEach(v=>{v.namespaceId==this.id&&v.triggerName==t&&v.queued&&v.destroy()});let u=a.matchTransition(l.value,c.value,e,c.params),p=!1;if(!u){if(!i)return;u=a.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:l,toState:c,player:r,isFallbackTransition:p}),p||(Zi(e,Xy),r.onStart(()=>{Br(e,Xy)})),r.onDone(()=>{let v=this.players.indexOf(r);v>=0&&this.players.splice(v,1);let f=this._engine.playersByElement.get(e);if(f){let x=f.indexOf(r);x>=0&&f.splice(x,1)}}),this.players.push(r),d.push(r),r}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let n=this._engine.driver.query(e,ed,!0);n.forEach(i=>{if(i[ca])return;let a=this._engine.fetchNamespacesByElement(i);a.size?a.forEach(r=>r.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,n,i){let a=this._engine.statesByElement.get(e),r=new Map;if(a){let s=[];if(a.forEach((l,c)=>{if(r.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,is,i);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,r),n&&kn(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){let i=new Set;t.forEach(a=>{let r=a.name;if(i.has(r))return;i.add(r);let s=this._triggers.get(r).fallbackTransition,l=n.get(r)||lh,c=new Sp(is),d=new kp(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:s,fromState:l,toState:c,player:d,isFallbackTransition:!0})})}}removeNode(e,t){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(n.totalAnimations){let a=n.players.length?n.playersByQueriedElement.get(e):[];if(a&&a.length)i=!0;else{let r=e;for(;r=r.parentNode;)if(n.statesByElement.get(r)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,t);else{let a=e[ca];(!a||a===wY)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){Zi(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(n=>{let i=n.player;if(i.destroyed)return;let a=n.element,r=this._elementListeners.get(a);r&&r.forEach(s=>{if(s.name==n.triggerName){let l=Cf(a,n.triggerName,n.fromState.value,n.toState.value);l._data=e,Ef(n.player,s.phase,l,s.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(n)}),this._queue=[],t.sort((n,i)=>{let a=n.transition.ast.depCount,r=i.transition.ast.depCount;return a==0||r==0?a-r:this._engine.driver.containsElement(n.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Tve=class{constructor(e,t,n){o(this,"bodyNode");o(this,"driver");o(this,"_normalizer");o(this,"players",[]);o(this,"newHostElements",new Map);o(this,"playersByElement",new Map);o(this,"playersByQueriedElement",new Map);o(this,"statesByElement",new Map);o(this,"disabledNodes",new Set);o(this,"totalAnimations",0);o(this,"totalQueuedPlayers",0);o(this,"_namespaceLookup",{});o(this,"_namespaceList",[]);o(this,"_flushFns",[]);o(this,"_whenQuietFns",[]);o(this,"namespacesByHostElement",new Map);o(this,"collectedEnterElements",[]);o(this,"collectedLeaveElements",[]);o(this,"onRemovalComplete",(e,t)=>{});this.bodyNode=e,this.driver=t,this._normalizer=n}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,t){let n=new Ove(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){let n=this._namespaceList,i=this.namespacesByHostElement;if(n.length-1>=0){let a=!1,r=this.driver.getParentElement(t);for(;r;){let s=i.get(r);if(s){let l=n.indexOf(s);n.splice(l+1,0,e),a=!0;break}r=this.driver.getParentElement(r)}a||n.unshift(e)}else n.push(e);return i.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let i=this._namespaceList.indexOf(n);i>=0&&this._namespaceList.splice(i,1),n.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,n=this.statesByElement.get(e);if(n){for(let i of n.values())if(i.namespaceId){let a=this._fetchNamespace(i.namespaceId);a&&t.add(a)}}return t}trigger(e,t,n,i){if(Zl(t)){let a=this._fetchNamespace(e);if(a)return a.trigger(t,n,i),!0}return!1}insertNode(e,t,n,i){if(!Zl(t))return;let a=t[ca];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;let r=this.collectedLeaveElements.indexOf(t);r>=0&&this.collectedLeaveElements.splice(r,1)}if(e){let r=this._fetchNamespace(e);r&&r.insertNode(t,n)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Zi(e,sh)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Br(e,sh))}removeNode(e,t,n){if(Zl(t)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n);let a=this.namespacesByHostElement.get(t);a&&a.id!==e&&a.removeNode(t,n)}else this._onRemovalComplete(t,n)}markElementAsRemoved(e,t,n,i,a){this.collectedLeaveElements.push(t),t[ca]={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:a}}listen(e,t,n,i,a){return Zl(t)?this._fetchNamespace(e).listen(t,n,i,a):()=>{}}_buildInstruction(e,t,n,i,a){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,a)}destroyInnerAnimations(e){let t=this.driver.query(e,ed,!0);t.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,_p,!0),t.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return kn(this.players).onDone(()=>e());e()})}processLeaveNode(e){var n;let t=e[ca];if(t&&t.setForRemoval){if(e[ca]=wY,t.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(n=e.classList)!=null&&n.contains(sh)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Eve,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,i)=>this._balanceNamespaceList(n,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let i=this.collectedEnterElements[n];Zi(i,Cve)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{t=this._flushAnimations(n,e)}finally{for(let i=0;i<n.length;i++)n[i]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let i=this.collectedLeaveElements[n];this.processLeaveNode(i)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],t.length?kn(t).onDone(()=>{n.forEach(i=>i())}):n.forEach(i=>i())}}reportError(e){throw Pge()}_flushAnimations(e,t){let n=new Nf,i=[],a=new Map,r=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(j=>{d.add(j);let G=this.driver.query(j,kve,!0);for(let ie=0;ie<G.length;ie++)d.add(G[ie])});let u=this.bodyNode,p=Array.from(this.statesByElement.keys()),v=eb(p,this.collectedEnterElements),f=new Map,x=0;v.forEach((j,G)=>{let ie=uY+x++;f.set(G,ie),j.forEach($e=>Zi($e,ie))});let w=[],E=new Set,A=new Set;for(let j=0;j<this.collectedLeaveElements.length;j++){let G=this.collectedLeaveElements[j],ie=G[ca];ie&&ie.setForRemoval&&(w.push(G),E.add(G),ie.hasAnimation?this.driver.query(G,Dve,!0).forEach($e=>E.add($e)):A.add(G))}let L=new Map,M=eb(p,Array.from(E));M.forEach((j,G)=>{let ie=bp+x++;L.set(G,ie),j.forEach($e=>Zi($e,ie))}),e.push(()=>{v.forEach((j,G)=>{let ie=f.get(G);j.forEach($e=>Br($e,ie))}),M.forEach((j,G)=>{let ie=L.get(G);j.forEach($e=>Br($e,ie))}),w.forEach(j=>{this.processLeaveNode(j)})});let re=[],xe=[];for(let j=this._namespaceList.length-1;j>=0;j--)this._namespaceList[j].drainQueuedTransitions(t).forEach(G=>{let ie=G.player,$e=G.element;if(re.push(ie),this.collectedEnterElements.length){let gt=$e[ca];if(gt&>.setForMove){if(gt.previousTriggersValues&>.previousTriggersValues.has(G.triggerName)){let ui=gt.previousTriggersValues.get(G.triggerName),ei=this.statesByElement.get(G.element);if(ei&&ei.has(G.triggerName)){let xa=ei.get(G.triggerName);xa.value=ui,ei.set(G.triggerName,xa)}}ie.destroy();return}}let ht=!u||!this.driver.containsElement(u,$e),di=L.get($e),Ze=f.get($e),it=this._buildInstruction(G,n,Ze,di,ht);if(it.errors&&it.errors.length){xe.push(it);return}if(ht){ie.onStart(()=>or($e,it.fromStyles)),ie.onDestroy(()=>Aa($e,it.toStyles)),i.push(ie);return}if(G.isFallbackTransition){ie.onStart(()=>or($e,it.fromStyles)),ie.onDestroy(()=>Aa($e,it.toStyles)),i.push(ie);return}let Ot=[];it.timelines.forEach(gt=>{gt.stretchStartingKeyframe=!0,this.disabledNodes.has(gt.element)||Ot.push(gt)}),it.timelines=Ot,n.append($e,it.timelines);let ra={instruction:it,player:ie,element:$e};r.push(ra),it.queriedElements.forEach(gt=>ji(s,gt,[]).push(ie)),it.preStyleProps.forEach((gt,ui)=>{if(gt.size){let ei=l.get(ui);ei||l.set(ui,ei=new Set),gt.forEach((xa,yn)=>ei.add(yn))}}),it.postStyleProps.forEach((gt,ui)=>{let ei=c.get(ui);ei||c.set(ui,ei=new Set),gt.forEach((xa,yn)=>ei.add(yn))})});if(xe.length){let j=[];xe.forEach(G=>{j.push(Fge(G.triggerName,G.errors))}),re.forEach(G=>G.destroy()),this.reportError(j)}let Re=new Map,Jt=new Map;r.forEach(j=>{let G=j.element;n.has(G)&&(Jt.set(G,G),this._beforeAnimationBuild(j.player.namespaceId,j.instruction,Re))}),i.forEach(j=>{let G=j.element;this._getPreviousPlayers(G,!1,j.namespaceId,j.triggerName,null).forEach(ie=>{ji(Re,G,[]).push(ie),ie.destroy()})});let Ft=w.filter(j=>tb(j,l,c)),ft=new Map;Jy(ft,this.driver,A,c,ln).forEach(j=>{tb(j,l,c)&&Ft.push(j)});let Ut=new Map;v.forEach((j,G)=>{Jy(Ut,this.driver,new Set(j),l,kf)}),Ft.forEach(j=>{let G=ft.get(j),ie=Ut.get(j);ft.set(j,new Map([...(G==null?void 0:G.entries())??[],...(ie==null?void 0:ie.entries())??[]]))});let ne=[],J=[],Ve={};r.forEach(j=>{let{element:G,player:ie,instruction:$e}=j;if(n.has(G)){if(d.has(G)){ie.onDestroy(()=>Aa(G,$e.toStyles)),ie.disabled=!0,ie.overrideTotalTime($e.totalTime),i.push(ie);return}let ht=Ve;if(Jt.size>1){let Ze=G,it=[];for(;Ze=Ze.parentNode;){let Ot=Jt.get(Ze);if(Ot){ht=Ot;break}it.push(Ze)}it.forEach(Ot=>Jt.set(Ot,ht))}let di=this._buildAnimation(ie.namespaceId,$e,Re,a,Ut,ft);if(ie.setRealPlayer(di),ht===Ve)ne.push(ie);else{let Ze=this.playersByElement.get(ht);Ze&&Ze.length&&(ie.parentPlayer=kn(Ze)),i.push(ie)}}else or(G,$e.fromStyles),ie.onDestroy(()=>Aa(G,$e.toStyles)),J.push(ie),d.has(G)&&i.push(ie)}),J.forEach(j=>{let G=a.get(j.element);if(G&&G.length){let ie=kn(G);j.setRealPlayer(ie)}}),i.forEach(j=>{j.parentPlayer?j.syncPlayerEvents(j.parentPlayer):j.destroy()});for(let j=0;j<w.length;j++){let G=w[j],ie=G[ca];if(Br(G,bp),ie&&ie.hasAnimation)continue;let $e=[];if(s.size){let di=s.get(G);di&&di.length&&$e.push(...di);let Ze=this.driver.query(G,_p,!0);for(let it=0;it<Ze.length;it++){let Ot=s.get(Ze[it]);Ot&&Ot.length&&$e.push(...Ot)}}let ht=$e.filter(di=>!di.destroyed);ht.length?Pve(this,G,ht):this.processLeaveNode(G)}return w.length=0,ne.forEach(j=>{this.players.push(j),j.onDone(()=>{j.destroy();let G=this.players.indexOf(j);this.players.splice(G,1)}),j.play()}),ne}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,i,a){let r=[];if(t){let s=this.playersByQueriedElement.get(e);s&&(r=s)}else{let s=this.playersByElement.get(e);if(s){let l=!a||a==is;s.forEach(c=>{c.queued||!l&&c.triggerName!=i||r.push(c)})}}return(n||i)&&(r=r.filter(s=>!(n&&n!=s.namespaceId||i&&i!=s.triggerName))),r}_beforeAnimationBuild(e,t,n){let i=t.triggerName,a=t.element,r=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let c=l.element,d=c!==a,u=ji(n,c,[]);this._getPreviousPlayers(c,d,r,s,t.toState).forEach(p=>{let v=p.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),p.destroy(),u.push(p)})}or(a,t.fromStyles)}_buildAnimation(e,t,n,i,a,r){let s=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,p=t.timelines.map(f=>{let x=f.element;d.add(x);let w=x[ca];if(w&&w.removedBeforeQueried)return new Is(f.duration,f.delay);let E=x!==l,A=Fve((n.get(x)||Ive).map(Re=>Re.getRealPlayer())).filter(Re=>{let Jt=Re;return Jt.element?Jt.element===x:!1}),L=a.get(x),M=r.get(x),re=sY(this._normalizer,f.keyframes,L,M),xe=this._buildPlayer(f,re,A);if(f.subTimeline&&i&&u.add(x),E){let Re=new kp(e,s,x);Re.setRealPlayer(xe),c.push(Re)}return xe});c.forEach(f=>{ji(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>Nve(this.playersByQueriedElement,f.element,f))}),d.forEach(f=>Zi(f,Uy));let v=kn(p);return v.onDestroy(()=>{d.forEach(f=>Br(f,Uy)),Aa(l,t.toStyles)}),u.forEach(f=>{ji(i,f,[]).push(v)}),v}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new Is(e.duration,e.delay)}},kp=class{constructor(e,t,n){o(this,"namespaceId");o(this,"triggerName");o(this,"element");o(this,"_player",new Is);o(this,"_containsRealPlayer",!1);o(this,"_queuedCallbacks",new Map);o(this,"destroyed",!1);o(this,"parentPlayer",null);o(this,"markedForDestroy",!1);o(this,"disabled",!1);o(this,"queued",!0);o(this,"totalTime",0);this.namespaceId=e,this.triggerName=t,this.element=n}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,n)=>{t.forEach(i=>Ef(e,n,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){ji(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function Nve(e,t,n){let i=e.get(t);if(i){if(i.length){let a=i.indexOf(n);i.splice(a,1)}i.length==0&&e.delete(t)}return i}function Rve(e){return e??null}function Zl(e){return e&&e.nodeType===1}function Mve(e){return e=="start"||e=="done"}function Qy(e,t){let n=e.style.display;return e.style.display=t??"none",n}function Jy(e,t,n,i,a){let r=[];n.forEach(c=>r.push(Qy(c)));let s=[];i.forEach((c,d)=>{let u=new Map;c.forEach(p=>{let v=t.computeStyle(d,p,a);u.set(p,v),(!v||v.length==0)&&(d[ca]=Ave,s.push(d))}),e.set(d,u)});let l=0;return n.forEach(c=>Qy(c,r[l++])),s}function eb(e,t){let n=new Map;if(e.forEach(l=>n.set(l,[])),t.length==0)return n;let i=1,a=new Set(t),r=new Map;function s(l){if(!l)return i;let c=r.get(l);if(c)return c;let d=l.parentNode;return n.has(d)?c=d:a.has(d)?c=i:c=s(d),r.set(l,c),c}return t.forEach(l=>{let c=s(l);c!==i&&n.get(c).push(l)}),n}function Zi(e,t){var n;(n=e.classList)==null||n.add(t)}function Br(e,t){var n;(n=e.classList)==null||n.remove(t)}function Pve(e,t,n){kn(n).onDone(()=>e.processLeaveNode(t))}function Fve(e){let t=[];return SY(e,t),t}function SY(e,t){for(let n=0;n<e.length;n++){let i=e[n];i instanceof oY?SY(i.players,t):t.push(i)}}function Lve(e,t){let n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(let a=0;a<n.length;a++){let r=n[a];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}function tb(e,t,n){let i=n.get(e);if(!i)return!1;let a=t.get(e);return a?i.forEach(r=>a.add(r)):t.set(e,i),n.delete(e),!0}var Ep=class{constructor(e,t,n){o(this,"_driver");o(this,"_normalizer");o(this,"_transitionEngine");o(this,"_timelineEngine");o(this,"_triggerCache",{});o(this,"onRemovalComplete",(e,t)=>{});this._driver=t,this._normalizer=n,this._transitionEngine=new Tve(e.body,t,n),this._timelineEngine=new Sve(e.body,t,n),this._transitionEngine.onRemovalComplete=(i,a)=>this.onRemovalComplete(i,a)}registerTrigger(e,t,n,i,a){let r=e+"-"+i,s=this._triggerCache[r];if(!s){let l=[],c=[],d=fY(this._driver,a,l,c);if(l.length)throw Ege();s=bve(i,d,this._normalizer),this._triggerCache[r]=s}this._transitionEngine.registerTrigger(t,i,s)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,i){this._transitionEngine.insertNode(e,t,n,i)}onRemove(e,t,n){this._transitionEngine.removeNode(e,t,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,i){if(n.charAt(0)=="@"){let[a,r]=$y(n),s=i;this._timelineEngine.command(a,t,r,s)}else this._transitionEngine.trigger(e,t,n,i)}listen(e,t,n,i,a){if(n.charAt(0)=="@"){let[r,s]=$y(n);return this._timelineEngine.listen(r,t,s,a)}return this._transitionEngine.listen(e,t,n,i,a)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function Vve(e,t){let n=null,i=null;return Array.isArray(t)&&t.length?(n=ch(t[0]),t.length>1&&(i=ch(t[t.length-1]))):t instanceof Map&&(n=ch(t)),n||i?new zve(e,n,i):null}var zve=(()=>{const t=class t{constructor(i,a,r){o(this,"_element");o(this,"_startStyles");o(this,"_endStyles");o(this,"_state",0);o(this,"_initialStyles");this._element=i,this._startStyles=a,this._endStyles=r;let s=t.initialStylesByElement.get(i);s||t.initialStylesByElement.set(i,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Aa(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Aa(this._element,this._initialStyles),this._endStyles&&(Aa(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(or(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(or(this._element,this._endStyles),this._endStyles=null),Aa(this._element,this._initialStyles),this._state=3)}};o(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function ch(e){let t=null;return e.forEach((n,i)=>{jve(i)&&(t=t||new Map,t.set(i,n))}),t}function jve(e){return e==="display"||e==="position"}var ib=class{constructor(e,t,n,i){o(this,"element");o(this,"keyframes");o(this,"options");o(this,"_specialStyles");o(this,"_onDoneFns",[]);o(this,"_onStartFns",[]);o(this,"_onDestroyFns",[]);o(this,"_duration");o(this,"_delay");o(this,"_initialized",!1);o(this,"_finished",!1);o(this,"_started",!1);o(this,"_destroyed",!1);o(this,"_finalKeyframe");o(this,"_originalOnDoneFns",[]);o(this,"_originalOnStartFns",[]);o(this,"domPlayer");o(this,"time",0);o(this,"parentPlayer",null);o(this,"currentSnapshot",new Map);this.element=e,this.keyframes=t,this.options=n,this._specialStyles=i,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(n=>{t.push(Object.fromEntries(n))}),t}_triggerWebAnimation(e,t,n){return e.animate(this._convertKeyframesToObject(t),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,n)=>{n!=="offset"&&e.set(n,this._finished?t:Af(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},Bve=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return lY(e,t)}getParentElement(e){return Df(e)}query(e,t,n){return cY(e,t,n)}computeStyle(e,t,n){return Af(e,t)}animate(e,t,n,i,a,r=[]){let s=i==0?"both":"forwards",l={duration:n,delay:i,fill:s};a&&(l.easing=a);let c=new Map,d=r.filter(v=>v instanceof ib);Yge(n,i)&&d.forEach(v=>{v.currentSnapshot.forEach((f,x)=>c.set(x,f))});let u=qge(t).map(v=>new Map(v));u=Wge(e,u,c);let p=Vve(e,u);return new ib(e,u,l,p)}},pc="@",kY="@.disabled",EY=class{constructor(e,t,n,i){o(this,"namespaceId");o(this,"delegate");o(this,"engine");o(this,"_onDestroy");o(this,"ɵtype",0);this.namespaceId=e,this.delegate=t,this.engine=n,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(e){var t,n;(n=(t=this.delegate).destroyNode)==null||n.call(t,e)}destroy(){var e;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),(e=this._onDestroy)==null||e.call(this)}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,i=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,n){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,i){this.delegate.setAttribute(e,t,n,i)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,i){this.delegate.setStyle(e,t,n,i)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==pc&&t==kY?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n,i){return this.delegate.listen(e,t,n,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Hve=class extends EY{constructor(t,n,i,a,r){super(n,i,a,r);o(this,"factory");this.factory=t,this.namespaceId=n}setProperty(t,n,i){n.charAt(0)==pc?n.charAt(1)=="."&&n==kY?(i=i===void 0?!0:!!i,this.disableAnimations(t,i)):this.engine.process(this.namespaceId,t,n.slice(1),i):this.delegate.setProperty(t,n,i)}listen(t,n,i,a){if(n.charAt(0)==pc){let r=$ve(t),s=n.slice(1),l="";return s.charAt(0)!=pc&&([s,l]=qve(s)),this.engine.listen(this.namespaceId,r,s,l,c=>{let d=c._data||-1;this.factory.scheduleListenerCallback(d,i,c)})}return this.delegate.listen(t,n,i,a)}};function $ve(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function qve(e){let t=e.indexOf("."),n=e.substring(0,t),i=e.slice(t+1);return[n,i]}var Uve=class{constructor(e,t,n){o(this,"delegate");o(this,"engine");o(this,"_zone");o(this,"_currentId",0);o(this,"_microtaskId",1);o(this,"_animationCallbacksBuffer",[]);o(this,"_rendererCache",new Map);o(this,"_cdRecurDepth",0);this.delegate=e,this.engine=t,this._zone=n,t.onRemovalComplete=(i,a)=>{a==null||a.removeChild(null,i)}}createRenderer(e,t){var l;let n="",i=this.delegate.createRenderer(e,t);if(!e||!((l=t==null?void 0:t.data)!=null&&l.animation)){let c=this._rendererCache,d=c.get(i);if(!d){let u=()=>c.delete(i);d=new EY(n,i,this.engine,u),c.set(i,d)}return d}let a=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);let s=c=>{Array.isArray(c)?c.forEach(s):this.engine.registerTrigger(a,r,e,c.name,c)};return t.data.animation.forEach(s),new Hve(this,r,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(n));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(a=>{let[r,s]=a;r(s)}),this._animationCallbacksBuffer=[]})}),i.push([t,n])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){var t,n;this.engine.flush(),(n=(t=this.delegate).componentReplaced)==null||n.call(t,e)}},Gve=(()=>{const t=class t extends Ep{constructor(i,a,r){super(i,a,r)}ngOnDestroy(){this.flush()}};o(t,"ɵfac",function(i){return new(i||t)(pe(et),pe(pY),pe(Of))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})();function Yve(){return new Xge}function Wve(e,t,n){return new Uve(e,t,n)}var Kve=[{provide:Of,useFactory:Yve},{provide:Ep,useClass:Gve},{provide:aa,useFactory:Wve,deps:[Qh,Ep,Ne]}],Zve=[{provide:pY,useFactory:()=>new Bve},{provide:Ui,useFactory:()=>"BrowserAnimations"},...Kve];function Xve(){return Cr("NgEagerAnimations"),[...Zve]}var Qve=(()=>{const t=class t extends gf{constructor(i){super(),this.translate=i,this.getRangeLabel=(a,r,s)=>{if(s===0||r===0)return`0 / ${s}`;s=Math.max(s,0);let l=a*r,c=l<s?Math.min(l+r,s):l+r;return`${l+1} - ${c} / ${s}`},this.getAndInitTranslations=()=>{this.nextPageLabel=this.translate.instant("commons.matPaginator.nextPage"),this.previousPageLabel=this.translate.instant("commons.matPaginator.prevPage"),this.firstPageLabel=this.translate.instant("commons.matPaginator.firstPage"),this.lastPageLabel=this.translate.instant("commons.matPaginator.lastPage"),this.itemsPerPageLabel=this.translate.instant("commons.matPaginator.itemsPerPage"),this.getRangeLabel=this.getRangeLabel.bind(this),this.changes.next()},this.translate.onLangChange.subscribe(()=>{this.getAndInitTranslations()}),this.getAndInitTranslations()}};t.ɵfac=function(i){return new(i||t)(pe(Bn))},t.ɵprov=q({token:t,factory:t.ɵfac});let e=t;return e})(),T=function(e){return e.SEPARATOR="separator",e.PERCENT="percent",e.IP="IP",e.CPF_CNPJ="CPF_CNPJ",e.MONTH="M",e.MONTHS="M0",e.MINUTE="m",e.HOUR="h",e.HOURS="H",e.MINUTES="m0",e.HOURS_HOUR="Hh",e.SECONDS="s0",e.HOURS_MINUTES_SECONDS="Hh:m0:s0",e.EMAIL_MASK="A*@A*.A*",e.HOURS_MINUTES="Hh:m0",e.MINUTES_SECONDS="m0:s0",e.DAYS_MONTHS_YEARS="d0/M0/0000",e.DAYS_MONTHS="d0/M0",e.DAYS="d0",e.DAY="d",e.SECOND="s",e.LETTER_S="S",e.DOT=".",e.COMMA=",",e.CURLY_BRACKETS_LEFT="{",e.CURLY_BRACKETS_RIGHT="}",e.MINUS="-",e.OR="||",e.HASH="#",e.EMPTY_STRING="",e.SYMBOL_STAR="*",e.SYMBOL_QUESTION="?",e.SLASH="/",e.WHITE_SPACE=" ",e.NUMBER_ZERO="0",e.NUMBER_NINE="9",e.BACKSPACE="Backspace",e.DELETE="Delete",e.ARROW_LEFT="ArrowLeft",e.ARROW_UP="ArrowUp",e.DOUBLE_ZERO="00",e}(T||{}),Rf=new $("ngx-mask config"),CY=new $("new ngx-mask config"),DY=new $("initial ngx-mask config"),Jve={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:null,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:e=>e,outputTransformFn:e=>e,maskFilled:new ce,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}};T.HOURS_MINUTES_SECONDS,T.HOURS_MINUTES,T.MINUTES_SECONDS;T.PERCENT,T.HOURS_HOUR,T.SECONDS,T.MINUTES,T.SEPARATOR,T.DAYS_MONTHS_YEARS,T.DAYS_MONTHS,T.DAYS,T.MONTHS;var eye=(()=>{const t=class t{constructor(){o(this,"_config",S(Rf));o(this,"dropSpecialCharacters",this._config.dropSpecialCharacters);o(this,"hiddenInput",this._config.hiddenInput);o(this,"showTemplate");o(this,"clearIfNotMatch",this._config.clearIfNotMatch);o(this,"specialCharacters",this._config.specialCharacters);o(this,"patterns",this._config.patterns);o(this,"prefix",this._config.prefix);o(this,"suffix",this._config.suffix);o(this,"thousandSeparator",this._config.thousandSeparator);o(this,"decimalMarker",this._config.decimalMarker);o(this,"customPattern");o(this,"showMaskTyped",this._config.showMaskTyped);o(this,"placeHolderCharacter",this._config.placeHolderCharacter);o(this,"validation",this._config.validation);o(this,"separatorLimit",this._config.separatorLimit);o(this,"allowNegativeNumbers",this._config.allowNegativeNumbers);o(this,"leadZeroDateTime",this._config.leadZeroDateTime);o(this,"leadZero",this._config.leadZero);o(this,"apm",this._config.apm);o(this,"inputTransformFn",this._config.inputTransformFn);o(this,"outputTransformFn",this._config.outputTransformFn);o(this,"keepCharacterPositions",this._config.keepCharacterPositions);o(this,"_shift",new Set);o(this,"plusOnePosition",!1);o(this,"maskExpression","");o(this,"actualValue","");o(this,"showKeepCharacterExp","");o(this,"shownMaskExpression","");o(this,"deletedSpecialCharacter",!1);o(this,"ipError");o(this,"cpfCnpjError");o(this,"_formatWithSeparators",(i,a,r,s)=>{var f;let l=[],c="";if(Array.isArray(r)){let x=new RegExp(r.map(w=>"[\\^$.|?*+()".indexOf(w)>=0?`\\${w}`:w).join("|"));l=i.split(x),c=((f=i.match(x))==null?void 0:f[0])??T.EMPTY_STRING}else l=i.split(r),c=r;let d=l.length>1?`${c}${l[1]}`:T.EMPTY_STRING,u=l[0]??T.EMPTY_STRING,p=this.separatorLimit.replace(/\s/g,T.EMPTY_STRING);p&&+p&&(u[0]===T.MINUS?u=`-${u.slice(1,u.length).slice(0,p.length)}`:u=u.slice(0,p.length));let v=/(\d+)(\d{3})/;for(;a&&v.test(u);)u=u.replace(v,"$1"+a+"$2");return typeof s>"u"?u+d:s===0?u:u+d.substring(0,s+1)});o(this,"percentage",i=>{let a=i.replace(",","."),r=Number(this.allowNegativeNumbers&&i.includes(T.MINUS)?a.slice(1,i.length):a);return!isNaN(r)&&r>=0&&r<=100});o(this,"getPrecision",i=>{let a=i.split(T.DOT);return a.length>1?Number(a[a.length-1]):1/0});o(this,"checkAndRemoveSuffix",i=>{var a,r,s,l;for(let c=((a=this.suffix)==null?void 0:a.length)-1;c>=0;c--){let d=this.suffix.substring(c,(r=this.suffix)==null?void 0:r.length);if(i.includes(d)&&c!==((s=this.suffix)==null?void 0:s.length)-1&&(c-1<0||!i.includes(this.suffix.substring(c-1,(l=this.suffix)==null?void 0:l.length))))return i.replace(d,T.EMPTY_STRING)}return i});o(this,"checkInputPrecision",(i,a,r)=>{var c;let s=i,l=r;if(a<1/0){Array.isArray(l)&&(l=l.find(f=>f!==this.thousandSeparator)||l[0]);let d=new RegExp(this._charToRegExpExpression(l)+`\\d{${a}}.*$`),u=s.match(d),p=(u&&((c=u[0])==null?void 0:c.length))??0;if(p-1>a){let v=p-1-a;s=s.substring(0,s.length-v)}a===0&&this._compareOrIncludes(s[s.length-1],l,this.thousandSeparator)&&(s=s.substring(0,s.length-1))}return s})}applyMaskWithPattern(i,a){let[r,s]=a;return this.customPattern=s,this.applyMask(i,r)}applyMask(i,a,r=0,s=!1,l=!1,c=()=>{}){var Ft,ft,Ut;if(!a||typeof i!="string")return T.EMPTY_STRING;let d=0,u="",p=!1,v=!1,f=1,x=!1,w=i,E=r;w.slice(0,this.prefix.length)===this.prefix&&(w=w.slice(this.prefix.length,w.length)),this.suffix&&w.length>0&&(w=this.checkAndRemoveSuffix(w)),w==="("&&this.prefix&&(w="");let A=w.toString().split(T.EMPTY_STRING);if(this.allowNegativeNumbers&&w.slice(d,d+1)===T.MINUS&&(u+=w.slice(d,d+1)),a===T.IP){let ne=w.split(T.DOT);this.ipError=this._validIP(ne),a="099.099.099.099"}let L=[];for(let ne=0;ne<w.length;ne++)(Ft=w[ne])!=null&&Ft.match("\\d")&&L.push(w[ne]??T.EMPTY_STRING);if(a===T.CPF_CNPJ&&(this.cpfCnpjError=L.length!==11&&L.length!==14,L.length>11?a="00.000.000/0000-00":a="000.000.000-00"),a.startsWith(T.PERCENT)){if(w.match("[a-z]|[A-Z]")||w.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){w=this._stripToDecimal(w);let Ve=this.getPrecision(a);w=this.checkInputPrecision(w,Ve,this.decimalMarker)}let ne=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;if(w.indexOf(ne)>0&&!this.percentage(w.substring(0,w.indexOf(ne)))){let Ve=w.substring(0,w.indexOf(ne)-1);this.allowNegativeNumbers&&w.slice(d,d+1)===T.MINUS&&!l&&(Ve=w.substring(0,w.indexOf(ne))),w=`${Ve}${w.substring(w.indexOf(ne),w.length)}`}let J="";this.allowNegativeNumbers&&w.slice(d,d+1)===T.MINUS?J=`${T.MINUS}${w.slice(d+1,d+w.length)}`:J=w,this.percentage(J)?u=this._splitPercentZero(w):u=this._splitPercentZero(w.substring(0,w.length-1))}else if(a.startsWith(T.SEPARATOR)){(w.match("[wа-яА-Я]")||w.match("[ЁёА-я]")||w.match("[a-z]|[A-Z]")||w.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||w.match("[^A-Za-z0-9,]"))&&(w=this._stripToDecimal(w));let ne=this.getPrecision(a),J=Array.isArray(this.decimalMarker)?this.thousandSeparator===T.DOT?T.COMMA:T.DOT:this.decimalMarker;if(ne===0?w=this.allowNegativeNumbers?w.length>2&&w[0]===T.MINUS&&w[1]===T.NUMBER_ZERO&&w[2]!==this.thousandSeparator&&w[2]!==T.COMMA&&w[2]!==T.DOT?"-"+w.slice(2,w.length):w[0]===T.NUMBER_ZERO&&w.length>1&&w[1]!==this.thousandSeparator&&w[1]!==T.COMMA&&w[1]!==T.DOT?w.slice(1,w.length):w:w.length>1&&w[0]===T.NUMBER_ZERO&&w[1]!==this.thousandSeparator&&w[1]!==T.COMMA&&w[1]!==T.DOT?w.slice(1,w.length):w:(w[0]===J&&w.length>1&&(w=T.NUMBER_ZERO+w.slice(0,w.length+1),this.plusOnePosition=!0),w[0]===T.NUMBER_ZERO&&w[1]!==J&&w[1]!==this.thousandSeparator&&(w=w.length>1?w.slice(0,1)+J+w.slice(1,w.length+1):w,this.plusOnePosition=!0),this.allowNegativeNumbers&&w[0]===T.MINUS&&(w[1]===J||w[1]===T.NUMBER_ZERO)&&(w=w[1]===J&&w.length>2?w.slice(0,1)+T.NUMBER_ZERO+w.slice(1,w.length):w[1]===T.NUMBER_ZERO&&w.length>2&&w[2]!==J?w.slice(0,2)+J+w.slice(2,w.length):w,this.plusOnePosition=!0)),l){let Ze=w.slice(this._findFirstNonZeroDigitIndex(w),w.length),it=w[E]===T.NUMBER_ZERO||w[E]===J,Ot=w[0]===T.NUMBER_ZERO,ra=w[0]===T.MINUS,gt=w[0]===this.thousandSeparator,ui=w[1]===J,ei=w[1]===T.NUMBER_ZERO,xa=w[2]===J;Ot&&ui&&it&&E<2&&(w=Ze),ra&&ei&&xa&&it&&E<3&&(w=T.MINUS+Ze),Ze!==T.MINUS&&(E===0&&(Ot||gt)||this.allowNegativeNumbers&&E===1&&ra&&!ei)&&(w=ra?T.MINUS+Ze:Ze)}let Ve=this._charToRegExpExpression(this.thousandSeparator),j='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(Ve,"");if(Array.isArray(this.decimalMarker))for(let Ze of this.decimalMarker)j=j.replace(this._charToRegExpExpression(Ze),T.EMPTY_STRING);else j=j.replace(this._charToRegExpExpression(this.decimalMarker),"");let G=new RegExp("["+j+"]");w.match(G)&&(w=w.substring(0,w.length-1)),w=this.checkInputPrecision(w,ne,this.decimalMarker);let ie=w.replace(new RegExp(Ve,"g"),"");u=this._formatWithSeparators(ie,this.thousandSeparator,this.decimalMarker,ne);let $e=u.indexOf(T.COMMA)-w.indexOf(T.COMMA),ht=u.length-w.length,di=l&&u.length<i.length&&this.separatorLimit;if((u[E-1]===this.thousandSeparator||u[E-this.prefix.length])&&this.prefix&&l)E=E-1;else if(ht>0&&u[E]!==this.thousandSeparator||di){v=!0;let Ze=0;do this._shift.add(E+Ze),Ze++;while(Ze<ht)}else u[E-1]===this.thousandSeparator||ht===-4||ht===-3||u[E]===this.thousandSeparator?(this._shift.clear(),this._shift.add(E-1)):$e!==0&&E>0&&!(u.indexOf(T.COMMA)>=E&&E>3)||!(u.indexOf(T.DOT)>=E&&E>3)&&ht<=0?(this._shift.clear(),v=!0,f=ht,E+=ht,this._shift.add(E)):this._shift.clear()}else for(let ne=0,J=A[0];ne<A.length&&d!==a.length;ne++,J=A[ne]??T.EMPTY_STRING){let Ve=T.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(J,a[d]??T.EMPTY_STRING)&&a[d+1]===T.SYMBOL_QUESTION)u+=J,d+=2;else if(a[d+1]===T.SYMBOL_STAR&&p&&this._checkSymbolMask(J,a[d+2]??T.EMPTY_STRING))u+=J,d+=3,p=!1;else if(this._checkSymbolMask(J,a[d]??T.EMPTY_STRING)&&a[d+1]===T.SYMBOL_STAR&&!Ve)u+=J,p=!0;else if(a[d+1]===T.SYMBOL_QUESTION&&this._checkSymbolMask(J,a[d+2]??T.EMPTY_STRING))u+=J,d+=3;else if(this._checkSymbolMask(J,a[d]??T.EMPTY_STRING)){if(a[d]===T.HOURS&&(this.apm?Number(J)>9:Number(J)>2)){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(a,d,A.length),ne--,this.leadZeroDateTime&&(u+="0");continue}if(a[d]===T.HOUR&&(this.apm?u.length===1&&Number(u)>1||u==="1"&&Number(J)>2||w.slice(d-1,d).length===1&&Number(w.slice(d-1,d))>2||w.slice(d-1,d)==="1"&&Number(J)>2:u==="2"&&Number(J)>3||(u.slice(d-2,d)==="2"||u.slice(d-3,d)==="2"||u.slice(d-4,d)==="2"||u.slice(d-1,d)==="2")&&Number(J)>3&&d>10)){E=E+1,d+=1,ne--;continue}if((a[d]===T.MINUTE||a[d]===T.SECOND)&&Number(J)>5){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(a,d,A.length),ne--,this.leadZeroDateTime&&(u+="0");continue}let j=31,G=w[d],ie=w[d+1],$e=w[d+2],ht=w[d-1],di=w[d-2],Ze=w.slice(d-3,d-1),it=w.slice(d-1,d+1),Ot=w.slice(d,d+2),ra=w.slice(d-2,d);if(a[d]===T.DAY){let gt=a.slice(0,2)===T.MONTHS,ui=a.slice(0,2)===T.MONTHS&&this.specialCharacters.includes(di);if(Number(J)>3&&this.leadZeroDateTime||!gt&&(Number(Ot)>j||Number(it)>j||this.specialCharacters.includes(ie))||(ui?Number(it)>j||!this.specialCharacters.includes(G)&&this.specialCharacters.includes($e)||this.specialCharacters.includes(G):Number(Ot)>j||this.specialCharacters.includes(ie)&&!l)){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(a,d,A.length),ne--,this.leadZeroDateTime&&(u+="0");continue}}if(a[d]===T.MONTH){let gt=d===0&&(Number(J)>2||Number(Ot)>12||this.specialCharacters.includes(ie)&&!l),ui=a.slice(d+2,d+3),ei=Ze.includes(ui)&&a.includes("d0")&&(this.specialCharacters.includes(di)&&Number(it)>12&&!this.specialCharacters.includes(G)||this.specialCharacters.includes(G)),xa=Number(Ze)<=j&&!this.specialCharacters.includes(Ze)&&this.specialCharacters.includes(ht)&&(Number(Ot)>12||this.specialCharacters.includes(ie)),yn=Number(Ot)>12&&d===5||this.specialCharacters.includes(ie)&&d===5,hl=Number(Ze)>j&&!this.specialCharacters.includes(Ze)&&!this.specialCharacters.includes(ra)&&Number(ra)>12&&a.includes("d0"),pl=Number(Ze)<=j&&!this.specialCharacters.includes(Ze)&&!this.specialCharacters.includes(ht)&&Number(it)>12;if(Number(J)>1&&this.leadZeroDateTime||gt||ei||pl||hl||xa||yn&&!this.leadZeroDateTime){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(a,d,A.length),ne--,this.leadZeroDateTime&&(u+="0");continue}}u+=J,d++}else this.specialCharacters.includes(J)&&a[d]===J?(u+=J,d++):this.specialCharacters.indexOf(a[d]??T.EMPTY_STRING)!==-1?(u+=a[d],d++,this._shiftStep(a,d,A.length),ne--):a[d]===T.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(a,d,A.length):this.patterns[a[d]??T.EMPTY_STRING]&&((ft=this.patterns[a[d]??T.EMPTY_STRING])!=null&&ft.optional)?(A[d]&&a!=="099.099.099.099"&&a!=="000.000.000-00"&&a!=="00.000.000/0000-00"&&!a.match(/^9+\.0+$/)&&!((Ut=this.patterns[a[d]??T.EMPTY_STRING])!=null&&Ut.optional)&&(u+=A[d]),a.includes(T.NUMBER_NINE+T.SYMBOL_STAR)&&a.includes(T.NUMBER_ZERO+T.SYMBOL_STAR)&&d++,d++,ne--):this.maskExpression[d+1]===T.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[d+2]??T.EMPTY_STRING)&&this._findSpecialChar(J)===this.maskExpression[d+2]&&p||this.maskExpression[d+1]===T.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[d+2]??T.EMPTY_STRING)&&this._findSpecialChar(J)===this.maskExpression[d+2]&&p?(d+=3,u+=J):this.showMaskTyped&&this.specialCharacters.indexOf(J)<0&&J!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(x=!0)}u.length+1===a.length&&this.specialCharacters.indexOf(a[a.length-1]??T.EMPTY_STRING)!==-1&&(u+=a[a.length-1]);let M=E+1;for(;this._shift.has(M);)f++,M++;let re=s&&!a.startsWith(T.SEPARATOR)?d:this._shift.has(E)?f:0;x&&re--,c(re,v),f<0&&this._shift.clear();let xe=!1;l&&(xe=A.every(ne=>this.specialCharacters.includes(ne)));let Re=`${this.prefix}${xe?T.EMPTY_STRING:u}${this.showMaskTyped?"":this.suffix}`;u.length===0&&(Re=this.dropSpecialCharacters?`${u}`:`${this.prefix}${u}`);let Jt=w.length===1&&this.specialCharacters.includes(a[0])&&w!==a[0];if(!this._checkSymbolMask(w,a[1])&&Jt)return"";if(u.includes(T.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&u===T.MINUS)return"";Re=`${T.MINUS}${this.prefix}${u.split(T.MINUS).join(T.EMPTY_STRING)}${this.suffix}`}return Re}_findDropSpecialChar(i){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(a=>a===i):this._findSpecialChar(i)}_findSpecialChar(i){return this.specialCharacters.find(a=>a===i)}_checkSymbolMask(i,a){var r,s;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((r=this.patterns[a])==null?void 0:r.pattern)&&((s=this.patterns[a])==null?void 0:s.pattern.test(i)))??!1}_stripToDecimal(i){return i.split(T.EMPTY_STRING).filter((a,r)=>{let s=typeof this.decimalMarker=="string"?a===this.decimalMarker:this.decimalMarker.includes(a);return a.match("^-?\\d")||a===this.thousandSeparator||s||a===T.MINUS&&r===0&&this.allowNegativeNumbers}).join(T.EMPTY_STRING)}_charToRegExpExpression(i){return i&&(i===" "?"\\s":"[\\^$.|?*+()".indexOf(i)>=0?`\\${i}`:i)}_shiftStep(i,a,r){let s=/[*?]/g.test(i.slice(0,a))?r:a;this._shift.add(s+this.prefix.length||0)}_compareOrIncludes(i,a,r){return Array.isArray(a)?a.filter(s=>s!==r).includes(i):i===a}_validIP(i){return!(i.length===4&&!i.some((a,r)=>i.length!==r+1?a===T.EMPTY_STRING||Number(a)>255:a===T.EMPTY_STRING||Number(a.substring(0,3))>255))}_splitPercentZero(i){if(i===T.MINUS&&this.allowNegativeNumbers)return i;let a=typeof this.decimalMarker=="string"?i.indexOf(this.decimalMarker):i.indexOf(T.DOT),r=this.allowNegativeNumbers&&i.includes(T.MINUS)?"-":"";if(a===-1){let s=parseInt(r?i.slice(1,i.length):i,10);return isNaN(s)?T.EMPTY_STRING:`${r}${s}`}else{let s=parseInt(i.replace("-","").substring(0,a),10),l=i.substring(a+1),c=isNaN(s)?"":s.toString(),d=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;return c===T.EMPTY_STRING?T.EMPTY_STRING:`${r}${c}${d}${l}`}}_findFirstNonZeroDigitIndex(i){for(let a=0;a<i.length;a++){let r=i[a];if(r&&r>="1"&&r<="9")return a}return-1}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),tye=(()=>{const t=class t extends eye{constructor(){super(...arguments);o(this,"isNumberValue",!1);o(this,"maskIsShown","");o(this,"selStart",null);o(this,"selEnd",null);o(this,"writingValue",!1);o(this,"maskChanged",!1);o(this,"_maskExpressionArray",[]);o(this,"triggerOnMaskChange",!1);o(this,"_previousValue","");o(this,"_currentValue","");o(this,"_emitValue",!1);o(this,"_start");o(this,"_end");o(this,"onChange",a=>{});o(this,"_elementRef",S(ze,{optional:!0}));o(this,"document",S(et));o(this,"_config",S(Rf));o(this,"_renderer",S(na,{optional:!0}))}applyMask(a,r,s=0,l=!1,c=!1,d=()=>{}){if(!r)return a!==this.actualValue?this.actualValue:a;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():T.EMPTY_STRING,this.maskExpression===T.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||T.HASH)),this.maskExpression===T.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||T.HASH)),!a&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let u=a&&typeof this.selStart=="number"?a[this.selStart]??T.EMPTY_STRING:T.EMPTY_STRING,p="",v=s;if(this.hiddenInput!==null&&!this.writingValue){let E=a&&a.length===1?a.split(T.EMPTY_STRING):this.actualValue.split(T.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):a!==T.EMPTY_STRING&&E.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(a.length>E.length?E.splice(this.selStart,0,u):a.length<E.length&&(E.length-a.length===1?c?E.splice(this.selStart-1,1):E.splice(a.length-1,1):E.splice(this.selStart,this.selEnd-this.selStart))):E=[],this.showMaskTyped&&!this.hiddenInput&&(p=this.removeMask(a)),p=this.actualValue.length&&E.length<=a.length?this.shiftTypedSymbols(E.join(T.EMPTY_STRING)):a}if(l&&(this.hiddenInput||!this.hiddenInput)&&(p=a),c&&this.specialCharacters.indexOf(this.maskExpression[v]??T.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(p=this._currentValue),this.deletedSpecialCharacter&&v&&(this.specialCharacters.includes(this.actualValue.slice(v,v+1))?v=v+1:r.slice(v-1,v+1)!==T.MONTHS&&(v=v-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(p=this.removeMask(a)),this.maskChanged?p=a:p=p&&p.length?p:a,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!l&&!this.writingValue){let E=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(E),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let f=super.applyMask(p,r,v,l,c,d);if(this.actualValue=this.getActualValue(f),this.thousandSeparator===T.DOT&&this.decimalMarker===T.DOT&&(this.decimalMarker=T.COMMA),this.maskExpression.startsWith(T.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(E=>!this._compareOrIncludes(E,this.decimalMarker,this.thousandSeparator))),(f||f==="")&&(this._previousValue=this._currentValue,this._currentValue=f,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&l),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(f)):this.formControlResult(f)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?c?this.hideInput(f,this.maskExpression):`${this.hideInput(f,this.maskExpression)}${this.maskIsShown.slice(f.length)}`:f;let x=f.length,w=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(T.HOURS)){let E=this._numberSkipedSymbols(f);return`${f}${w.slice(x+E)}`}else if(this.maskExpression===T.IP||this.maskExpression===T.CPF_CNPJ)return`${f}${w}`;return`${f}${w.slice(x)}`}_numberSkipedSymbols(a){let r=/(^|\D)(\d\D)/g,s=r.exec(a),l=0;for(;s!=null;)l+=1,s=r.exec(a);return l}applyValueChanges(a,r,s,l=()=>{}){var d;let c=(d=this._elementRef)==null?void 0:d.nativeElement;c&&(c.value=this.applyMask(c.value,this.maskExpression,a,r,s,l),c!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(a,r){return a.split(T.EMPTY_STRING).map((s,l)=>{var c,d;return this.patterns&&this.patterns[r[l]??T.EMPTY_STRING]&&((c=this.patterns[r[l]??T.EMPTY_STRING])!=null&&c.symbol)?(d=this.patterns[r[l]??T.EMPTY_STRING])==null?void 0:d.symbol:s}).join(T.EMPTY_STRING)}getActualValue(a){let r=a.split(T.EMPTY_STRING).filter((s,l)=>{let c=this.maskExpression[l]??T.EMPTY_STRING;return this._checkSymbolMask(s,c)||this.specialCharacters.includes(c)&&s===c});return r.join(T.EMPTY_STRING)===a?r.join(T.EMPTY_STRING):a}shiftTypedSymbols(a){let r="";return(a&&a.split(T.EMPTY_STRING).map((s,l)=>{if(this.specialCharacters.includes(a[l+1]??T.EMPTY_STRING)&&a[l+1]!==this.maskExpression[l+1])return r=s,a[l+1];if(r.length){let c=r;return r=T.EMPTY_STRING,c}return s})||[]).join(T.EMPTY_STRING)}numberToString(a){return!a&&a!==0||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(T.SEPARATOR)&&this.separatorLimit.length>14&&String(a).length>14?String(a):Number(a).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${T.MINUS}/`,T.MINUS)}showMaskInInput(a){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}else if(this.showMaskTyped){if(a){if(this.maskExpression===T.IP)return this._checkForIp(a);if(this.maskExpression===T.CPF_CNPJ)return this._checkForCpfCnpj(a)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var r;let a=(r=this._elementRef)==null?void 0:r.nativeElement;a&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==a.value.replace(this.placeHolderCharacter,T.EMPTY_STRING).length&&(this.formElementProperty=["value",T.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([a,r]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var s,l;return(l=this._renderer)==null?void 0:l.setProperty((s=this._elementRef)==null?void 0:s.nativeElement,a,r)})}checkDropSpecialCharAmount(a){return a.split(T.EMPTY_STRING).filter(r=>this._findDropSpecialChar(r)).length}removeMask(a){return this._removeMask(this._removeSuffix(this._removePrefix(a)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(a){if(a===T.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let r=[];for(let s=0;s<a.length;s++){let l=a[s]??T.EMPTY_STRING;l&&l.match("\\d")&&r.push(l)}return r.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>3&&r.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>6&&r.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(a){let r=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,s=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(a===T.HASH)return r;let l=[];for(let c=0;c<a.length;c++){let d=a[c]??T.EMPTY_STRING;d&&d.match("\\d")&&l.push(d)}return l.length<=3?r.slice(l.length,r.length):l.length>3&&l.length<=6?r.slice(l.length+1,r.length):l.length>6&&l.length<=9?r.slice(l.length+2,r.length):l.length>9&&l.length<11?r.slice(l.length+3,r.length):l.length===11?"":l.length===12?a.length===17?s.slice(16,s.length):s.slice(15,s.length):l.length>12&&l.length<=14?s.slice(l.length+4,s.length):""}_getActiveElement(a=this.document){var s;let r=(s=a==null?void 0:a.activeElement)==null?void 0:s.shadowRoot;return r!=null&&r.activeElement?this._getActiveElement(r):a.activeElement}formControlResult(a){if(this.writingValue&&!a){this.onChange("");return}if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged){this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(a)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===a?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))):this.onChange(this.outputTransformFn(this._toNumber(a)))}_toNumber(a){if(!this.isNumberValue||a===T.EMPTY_STRING||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return a;if(String(a).length>14&&this.maskExpression.startsWith(T.SEPARATOR))return String(a);let r=Number(a);if(this.maskExpression.startsWith(T.SEPARATOR)&&Number.isNaN(r)){let s=String(a).replace(",",".");return Number(s)}return Number.isNaN(r)?a:r}_removeMask(a,r){return this.maskExpression.startsWith(T.PERCENT)&&a.includes(T.DOT)?a:a&&a.replace(this._regExpForRemove(r),T.EMPTY_STRING)}_removePrefix(a){return this.prefix?a&&a.replace(this.prefix,T.EMPTY_STRING):a}_removeSuffix(a){return this.suffix?a&&a.replace(this.suffix,T.EMPTY_STRING):a}_retrieveSeparatorValue(a){let r=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(s=>this.dropSpecialCharacters.includes(s)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&a.includes(T.WHITE_SPACE)&&this.maskExpression.includes(T.SYMBOL_STAR)&&(r=r.filter(s=>s!==T.WHITE_SPACE)),this._removeMask(a,r)}_regExpForRemove(a){return new RegExp(a.map(r=>`\\${r}`).join("|"),"gi")}_replaceDecimalMarkerToDot(a){let r=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return a.replace(this._regExpForRemove(r),T.DOT)}_checkSymbols(a){let r=a;if(r===T.EMPTY_STRING)return r;this.maskExpression.startsWith(T.PERCENT)&&this.decimalMarker===T.COMMA&&(r=r.replace(T.COMMA,T.DOT));let s=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(r));return this.isNumberValue&&s?r===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var a,r,s;for(let l in this.patterns)if(this.patterns[l]&&((a=this.patterns[l])!=null&&a.hasOwnProperty("pattern"))){let c=(r=this.patterns[l])==null?void 0:r.pattern.toString(),d=(s=this.patterns[l])==null?void 0:s.pattern;if(c!=null&&c.includes(T.WHITE_SPACE)&&(d!=null&&d.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(a){let r=a.match(new RegExp("^separator\\.([^d]*)"));return r?Number(r[1]):null}_checkPrecision(a,r){let s=this.getPrecision(a),l=r;return a.indexOf("2")>0||this.leadZero&&Number(s)>0?(this.decimalMarker===T.COMMA&&this.leadZero&&(l=l.replace(",",".")),this.leadZero?Number(l).toFixed(Number(s)):Number(l).toFixed(2)):this.numberToString(l)}_repeatPatternSymbols(a){return a.match(/{[0-9]+}/)&&a.split(T.EMPTY_STRING).reduce((r,s,l)=>{if(this._start=s===T.CURLY_BRACKETS_LEFT?l:this._start,s!==T.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(s)?r+s:r;this._end=l;let c=Number(a.slice(this._start+1,this._end)),d=new Array(c+1).join(a[this._start-1]);if(a.slice(0,this._start).length>1&&a.includes(T.LETTER_S)){let u=a.slice(0,this._start-1);return u.includes(T.CURLY_BRACKETS_LEFT)?r+d:u+r+d}else return r+d},"")||a}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Qt(t)))(r||t)}})()),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})();function iye(){let e=S(DY),t=S(CY);return t instanceof Function?Q(Q({},e),t()):Q(Q({},e),t)}function aye(e){return[{provide:CY,useValue:e},{provide:DY,useValue:Jve},{provide:Rf,useFactory:iye},tye]}function nye(e){return Up(aye(e))}var rye=(e,t)=>{let n=S(Es).getInstance(),i=S(Wd),a=S(Do).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http")||!a)return t(e);if(n.isOfflineAuthenticated)return yt();let r=e.headers||new wr,s=n.isProfessional;return zn(i.getServices().getAccessToken("")).pipe(os(l=>t(e.clone({url:`${a}${e.url}`,headers:r.set(eo.authorization,rr.getAuthorizationHeader(l)).set(eo.userType,rr.getUserType({isProfessional:s})).set(eo.clientType,cS()?rr.clientType.mobileApp:rr.clientType.webApp)}))))};function oye(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var sye=["de",[["AM","PM"],void 0,void 0],void 0,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],void 0,void 0],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} 'um' {0}",void 0],[",",".",";","%","+","-","E","·","‰","∞","NaN",":"],["#,##0.###","#,##0 %","#,##0.00 ¤","#E0"],"EUR","€","Euro",{ATS:["öS"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[void 0,"р."],CUC:[void 0,"Cub$"],DEM:["DM"],FKP:[void 0,"Fl£"],GHS:[void 0,"₵"],GNF:[void 0,"F.G."],KMF:[void 0,"FC"],PHP:[void 0,"₱"],RON:[void 0,"L"],RUR:[void 0,"р."],RWF:[void 0,"F.Rw"],SYP:[],THB:["฿"],TWD:["NT$"],XXX:[],ZMW:[void 0,"K"]},"ltr",oye];function lye(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var cye=["en",[["a","p"],["AM","PM"],void 0],[["AM","PM"],void 0,void 0],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],void 0,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",void 0,"{1} 'at' {0}",void 0],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",lye];function dye(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length,i=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===0||t===1?1:i===0&&t!==0&&t%1e6===0&&n===0||!(i>=0&&i<=5)?4:5}var uye=["fr",[["AM","PM"],void 0,void 0],void 0,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]],void 0,[["av. J.-C.","ap. J.-C."],void 0,["avant Jésus-Christ","après Jésus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1}, {0}","{1} 'à' {0}",void 0],[","," ",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0 %","#,##0.00 ¤","#E0"],"EUR","€","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BYN:[void 0,"р."],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[void 0,"¥"],COP:["$CO","$"],CYP:["£CY"],EGP:[void 0,"£E"],FJD:["$FJ","$"],FKP:["£FK","£"],FRF:["F"],GBP:["£GB","£"],GIP:["£GI","£"],HKD:[void 0,"$"],IEP:["£IE"],ILP:["£IL"],ITL:["₤IT"],JPY:[void 0,"¥"],KMF:[void 0,"FC"],LBP:["£LB","£L"],MTP:["£MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[void 0,"$C"],NZD:["$NZ","$"],PHP:[void 0,"₱"],RHD:["$RH"],RON:[void 0,"L"],RWF:[void 0,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[void 0,"$T"],TTD:["$TT","$"],TWD:[void 0,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[void 0,"$"],XPF:["FCFP"],ZMW:[void 0,"Kw"]},"ltr",dye];function hye(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var pye=["nl",[["a.m.","p.m."],void 0,void 0],void 0,[["Z","M","D","W","D","V","Z"],["zo","ma","di","wo","do","vr","za"],["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["zo","ma","di","wo","do","vr","za"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]],void 0,[["v.C.","n.C."],["v.Chr.","n.Chr."],["voor Christus","na Christus"]],1,[6,0],["dd-MM-y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",void 0,"{1} 'om' {0}",void 0],[",",".",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤ #,##0.00;¤ -#,##0.00","#E0"],"EUR","€","Euro",{AUD:["AU$","$"],BYN:[void 0,"р."],CAD:["C$","$"],FJD:["FJ$","$"],JPY:["JP¥","¥"],PHP:[void 0,"₱"],RUR:[void 0,"р."],SBD:["SI$","$"],THB:["฿"],TWD:["NT$"],USD:["US$","$"],XPF:[],XXX:[]},"ltr",hye];Fd(sye,"de");Fd(pye,"nl");Fd(uye,"fr");Fd(cye,"en");var mye=class{handleError(e){throw new Error(e)}},fye=class extends _pe{getFirstDayOfWeek(){return 1}format(e){return Xc(e,"dd/MM/yyyy")}parse(e){return Bue(e,"dd/MM/yyyy",new Date)}},gye={parse:{dateInput:"DD/MM/YYYY"},display:{dateInput:"DD/MM/YYYY",monthYearLabel:{year:"numeric",month:"long"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},vye=[Xve(),ere(tre([rye])),nye(),{provide:ga,useClass:mye},{provide:Gi,useClass:fye,deps:[vp]},{provide:Ao,useValue:gye},{provide:gf,useClass:Qve},{provide:kw,useValue:{panelClass:"mh-dialog-container"}}];xne({providers:[vye,cre({defaultLanguage:"fr",loader:{provide:el,useClass:nge},compiler:{provide:il,useClass:pre}})]}).then(e=>{let t=bae(ife,{injector:e.injector});customElements.define("vidis-diarynote",t)}).catch(e=>console.error(e));
|
|
50
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})();function Qu(e){return(e==null?void 0:e.nodeName)==="TD"}function Ju(e){var n;let t;return Qu(e)?t=e:Qu(e.parentNode)?t=e.parentNode:Qu((n=e.parentNode)==null?void 0:n.parentNode)&&(t=e.parentNode.parentNode),(t==null?void 0:t.getAttribute("data-mat-row"))!=null?t:null}function eh(e,t,n){return n!==null&&t!==n&&e<n&&e===t}function th(e,t,n){return t!==null&&t!==n&&e>=t&&e===n}function ih(e,t,n,i){return i&&t!==null&&n!==null&&t!==n&&e>=t&&e<=n}function Py(e){let t=e.changedTouches[0];return document.elementFromPoint(t.clientX,t.clientY)}var Pa=class{constructor(e,t){o(this,"start");o(this,"end");o(this,"_disableStructuralEquivalency");this.start=e,this.end=t}},Ds=(()=>{const t=class t{constructor(i,a){o(this,"selection");o(this,"_adapter");o(this,"_selectionChanged",new le);o(this,"selectionChanged",this._selectionChanged);this.selection=i,this._adapter=a,this.selection=i}updateSelection(i,a){let r=this.selection;this.selection=i,this._selectionChanged.next({selection:i,source:a,oldValue:r})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(i){return this._adapter.isDateInstance(i)&&this._adapter.isValid(i)}};o(t,"ɵfac",function(i){_ee()}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),jpe=(()=>{const t=class t extends Ds{constructor(i){super(null,i)}add(i){super.updateSelection(i,this)}isValid(){return this.selection!=null&&this._isValidDateInstance(this.selection)}isComplete(){return this.selection!=null}clone(){let i=new t(this._adapter);return i.updateSelection(this.selection,this),i}};o(t,"ɵfac",function(i){return new(i||t)(pe(Gi))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})();function Bpe(e,t){return e||new jpe(t)}var HS={provide:Ds,deps:[[new f0,new g0,Ds],Gi],useFactory:Bpe},$S=new $("MAT_DATE_RANGE_SELECTION_STRATEGY"),ah=7,Hpe=0,Fy=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",S($t));o(this,"_dateFormats",S(Ao,{optional:!0}));o(this,"_dateAdapter",S(Gi,{optional:!0}));o(this,"_dir",S($i,{optional:!0}));o(this,"_rangeStrategy",S($S,{optional:!0}));o(this,"_rerenderSubscription",ct.EMPTY);o(this,"_selectionKeyPressed");o(this,"_activeDate");o(this,"_selected");o(this,"_minDate");o(this,"_maxDate");o(this,"dateFilter");o(this,"dateClass");o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"activeDrag",null);o(this,"selectedChange",new ce);o(this,"_userSelection",new ce);o(this,"dragStarted",new ce);o(this,"dragEnded",new ce);o(this,"activeDateChange",new ce);o(this,"_matCalendarBody");o(this,"_monthLabel");o(this,"_weeks");o(this,"_firstWeekOffset");o(this,"_rangeStart");o(this,"_rangeEnd");o(this,"_comparisonRangeStart");o(this,"_comparisonRangeEnd");o(this,"_previewStart");o(this,"_previewEnd");o(this,"_isRange");o(this,"_todayDate");o(this,"_weekdays");S(Li).load(Ir),this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(i){let a=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._hasSameMonthAndYear(a,this._activeDate)||this._init()}get selected(){return this._selected}set selected(i){i instanceof Pa?this._selected=i:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Qi(null)).subscribe(()=>this._init())}ngOnChanges(i){let a=i.comparisonStart||i.comparisonEnd;a&&!a.firstChange&&this._setRanges(this.selected),i.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(i){let a=i.value,r=this._getDateFromDayOfMonth(a),s,l;this._selected instanceof Pa?(s=this._getDateInCurrentMonth(this._selected.start),l=this._getDateInCurrentMonth(this._selected.end)):s=l=this._getDateInCurrentMonth(this._selected),(s!==a||l!==a)&&this.selectedChange.emit(r),this._userSelection.emit({value:r,event:i.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(i){let a=i.value,r=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(a),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(i){let a=this._activeDate,r=this._isRtl();switch(i.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=i.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=i.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:this._selectionKeyPressed=!0,this._canSelect(this._activeDate)&&i.preventDefault();return;case 27:this._previewEnd!=null&&!Di(i)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:i}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:i})),i.preventDefault(),i.stopPropagation());return;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),i.preventDefault()}_handleCalendarBodyKeyup(i){(i.keyCode===32||i.keyCode===13)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:i}),this._selectionKeyPressed=!1)}_init(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();let i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(ah+this._dateAdapter.getDayOfWeek(i)-this._dateAdapter.getFirstDayOfWeek())%ah,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(i){this._matCalendarBody._focusActiveCell(i)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:i,value:a}){var r,s;if(this._rangeStrategy){let l=a?a.rawValue:null,c=this._rangeStrategy.createPreview(l,this.selected,i);if(this._previewStart=this._getCellCompareValue(c.start),this._previewEnd=this._getCellCompareValue(c.end),this.activeDrag&&l){let d=(s=(r=this._rangeStrategy).createDrag)==null?void 0:s.call(r,this.activeDrag.value,this.selected,l,i);d&&(this._previewStart=this._getCellCompareValue(d.start),this._previewEnd=this._getCellCompareValue(d.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(i){var a,r;if(this.activeDrag)if(i.value){let s=(r=(a=this._rangeStrategy)==null?void 0:a.createDrag)==null?void 0:r.call(a,this.activeDrag.value,this.selected,i.value,i.event);this.dragEnded.emit({value:s??null,event:i.event})}else this.dragEnded.emit({value:null,event:i.event})}_getDateFromDayOfMonth(i){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),i)}_initWeekdays(){let i=this._dateAdapter.getFirstDayOfWeek(),a=this._dateAdapter.getDayOfWeekNames("narrow"),r=this._dateAdapter.getDayOfWeekNames("long").map((s,l)=>({long:s,narrow:a[l],id:Hpe++}));this._weekdays=r.slice(i).concat(r.slice(0,i))}_createWeekCells(){let i=this._dateAdapter.getNumDaysInMonth(this.activeDate),a=this._dateAdapter.getDateNames();this._weeks=[[]];for(let r=0,s=this._firstWeekOffset;r<i;r++,s++){s==ah&&(this._weeks.push([]),s=0);let l=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),r+1),c=this._shouldEnableDate(l),d=this._dateAdapter.format(l,this._dateFormats.display.dateA11yLabel),u=this.dateClass?this.dateClass(l,"month"):void 0;this._weeks[this._weeks.length-1].push(new wf(r+1,a[r],d,c,u,this._getCellCompareValue(l),l))}}_shouldEnableDate(i){return!!i&&(!this.minDate||this._dateAdapter.compareDate(i,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(i,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(i))}_getDateInCurrentMonth(i){return i&&this._hasSameMonthAndYear(i,this.activeDate)?this._dateAdapter.getDate(i):null}_hasSameMonthAndYear(i,a){return!!(i&&a&&this._dateAdapter.getMonth(i)==this._dateAdapter.getMonth(a)&&this._dateAdapter.getYear(i)==this._dateAdapter.getYear(a))}_getCellCompareValue(i){if(i){let a=this._dateAdapter.getYear(i),r=this._dateAdapter.getMonth(i),s=this._dateAdapter.getDate(i);return new Date(a,r,s).getTime()}return null}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setRanges(i){i instanceof Pa?(this._rangeStart=this._getCellCompareValue(i.start),this._rangeEnd=this._getCellCompareValue(i.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(i),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(i){return!this.dateFilter||this.dateFilter(i)}_clearPreview(){this._previewStart=this._previewEnd=null}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-month-view"]],viewQuery:function(i,a){if(i&1&&mt(uo,5),i&2){let r;Pe(r=Fe())&&(a._matCalendarBody=r.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[vi],decls:8,vars:14,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col"],["aria-hidden","true"],["colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","previewChange","dragStarted","dragEnded","keyup","keydown","label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName"],[1,"cdk-visually-hidden"]],template:function(i,a){i&1&&(I(0,"table",0)(1,"thead",1)(2,"tr"),Mi(3,Dpe,5,2,"th",2,BS),N(),I(5,"tr",3),he(6,"th",4),N()(),I(7,"tbody",5),de("selectedValueChange",function(r){return a._dateSelected(r)})("activeDateChange",function(r){return a._updateActiveDate(r)})("previewChange",function(r){return a._previewChanged(r)})("dragStarted",function(r){return a.dragStarted.emit(r)})("dragEnded",function(r){return a._dragEnded(r)})("keyup",function(r){return a._handleCalendarBodyKeyup(r)})("keydown",function(r){return a._handleCalendarBodyKeydown(r)}),N()()),i&2&&(D(3),Pi(a._weekdays),D(4),X("label",a._monthLabel)("rows",a._weeks)("todayValue",a._todayDate)("startValue",a._rangeStart)("endValue",a._rangeEnd)("comparisonStart",a._comparisonRangeStart)("comparisonEnd",a._comparisonRangeEnd)("previewStart",a._previewStart)("previewEnd",a._previewEnd)("isRange",a._isRange)("labelMinRequiredCells",3)("activeCell",a._dateAdapter.getDate(a.activeDate)-1)("startDateAccessibleName",a.startDateAccessibleName)("endDateAccessibleName",a.endDateAccessibleName))},dependencies:[uo],encapsulation:2,changeDetection:0}));let e=t;return e})(),Ta=24,Ly=4,Vy=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",S($t));o(this,"_dateAdapter",S(Gi,{optional:!0}));o(this,"_dir",S($i,{optional:!0}));o(this,"_rerenderSubscription",ct.EMPTY);o(this,"_selectionKeyPressed");o(this,"_activeDate");o(this,"_selected");o(this,"_minDate");o(this,"_maxDate");o(this,"dateFilter");o(this,"dateClass");o(this,"selectedChange",new ce);o(this,"yearSelected",new ce);o(this,"activeDateChange",new ce);o(this,"_matCalendarBody");o(this,"_years");o(this,"_todayYear");o(this,"_selectedYear");this._dateAdapter,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(i){let a=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),qS(this._dateAdapter,a,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(i){i instanceof Pa?this._selected=i:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i)),this._setSelectedYear(i)}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Qi(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());let i=this._dateAdapter.getYear(this._activeDate)-Xo(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let a=0,r=[];a<Ta;a++)r.push(i+a),r.length==Ly&&(this._years.push(r.map(s=>this._createCellForYear(s))),r=[]);this._changeDetectorRef.markForCheck()}_yearSelected(i){let a=i.value,r=this._dateAdapter.createDate(a,0,1),s=this._getDateFromYear(a);this.yearSelected.emit(r),this.selectedChange.emit(s)}_updateActiveDate(i){let a=i.value,r=this._activeDate;this.activeDate=this._getDateFromYear(a),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(i){let a=this._activeDate,r=this._isRtl();switch(i.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ly);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-Xo(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Ta-Xo(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?-24*10:-24);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?Ta*10:Ta);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),i.preventDefault()}_handleCalendarBodyKeyup(i){(i.keyCode===32||i.keyCode===13)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:i}),this._selectionKeyPressed=!1)}_getActiveCell(){return Xo(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(i){let a=this._dateAdapter.getMonth(this.activeDate),r=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(i,a,1));return this._dateAdapter.createDate(i,a,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForYear(i){let a=this._dateAdapter.createDate(i,0,1),r=this._dateAdapter.getYearName(a),s=this.dateClass?this.dateClass(a,"multi-year"):void 0;return new wf(i,r,r,this._shouldEnableYear(i),s)}_shouldEnableYear(i){if(i==null||this.maxDate&&i>this._dateAdapter.getYear(this.maxDate)||this.minDate&&i<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;let a=this._dateAdapter.createDate(i,0,1);for(let r=a;this._dateAdapter.getYear(r)==i;r=this._dateAdapter.addCalendarDays(r,1))if(this.dateFilter(r))return!0;return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedYear(i){if(this._selectedYear=null,i instanceof Pa){let a=i.start||i.end;a&&(this._selectedYear=this._dateAdapter.getYear(a))}else i&&(this._selectedYear=this._dateAdapter.getYear(i))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-multi-year-view"]],viewQuery:function(i,a){if(i&1&&mt(uo,5),i&2){let r;Pe(r=Fe())&&(a._matCalendarBody=r.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell"]],template:function(i,a){i&1&&(I(0,"table",0)(1,"thead",1)(2,"tr"),he(3,"th",2),N()(),I(4,"tbody",3),de("selectedValueChange",function(r){return a._yearSelected(r)})("activeDateChange",function(r){return a._updateActiveDate(r)})("keyup",function(r){return a._handleCalendarBodyKeyup(r)})("keydown",function(r){return a._handleCalendarBodyKeydown(r)}),N()()),i&2&&(D(4),X("rows",a._years)("todayValue",a._todayYear)("startValue",a._selectedYear)("endValue",a._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",a._getActiveCell()))},dependencies:[uo],encapsulation:2,changeDetection:0}));let e=t;return e})();function qS(e,t,n,i,a){let r=e.getYear(t),s=e.getYear(n),l=US(e,i,a);return Math.floor((r-l)/Ta)===Math.floor((s-l)/Ta)}function Xo(e,t,n,i){let a=e.getYear(t);return $pe(a-US(e,n,i),Ta)}function US(e,t,n){let i=0;return n?i=e.getYear(n)-Ta+1:t&&(i=e.getYear(t)),i}function $pe(e,t){return(e%t+t)%t}var zy=(()=>{const t=class t{constructor(){o(this,"_changeDetectorRef",S($t));o(this,"_dateFormats",S(Ao,{optional:!0}));o(this,"_dateAdapter",S(Gi,{optional:!0}));o(this,"_dir",S($i,{optional:!0}));o(this,"_rerenderSubscription",ct.EMPTY);o(this,"_selectionKeyPressed");o(this,"_activeDate");o(this,"_selected");o(this,"_minDate");o(this,"_maxDate");o(this,"dateFilter");o(this,"dateClass");o(this,"selectedChange",new ce);o(this,"monthSelected",new ce);o(this,"activeDateChange",new ce);o(this,"_matCalendarBody");o(this,"_months");o(this,"_yearLabel");o(this,"_todayMonth");o(this,"_selectedMonth");this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(i){let a=this._activeDate,r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(r,this.minDate,this.maxDate),this._dateAdapter.getYear(a)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(i){i instanceof Pa?this._selected=i:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i)),this._setSelectedMonth(i)}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Qi(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(i){let a=i.value,r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),a,1);this.monthSelected.emit(r);let s=this._getDateFromMonth(a);this.selectedChange.emit(s)}_updateActiveDate(i){let a=i.value,r=this._activeDate;this.activeDate=this._getDateFromMonth(a),this._dateAdapter.compareDate(r,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(i){let a=this._activeDate,r=this._isRtl();switch(i.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,r?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,i.altKey?10:1);break;case 13:case 32:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(a,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),i.preventDefault()}_handleCalendarBodyKeyup(i){(i.keyCode===32||i.keyCode===13)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:i}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let i=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(a=>a.map(r=>this._createCellForMonth(r,i[r]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(i){return i&&this._dateAdapter.getYear(i)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(i):null}_getDateFromMonth(i){let a=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1),r=this._dateAdapter.getNumDaysInMonth(a);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,Math.min(this._dateAdapter.getDate(this.activeDate),r))}_createCellForMonth(i,a){let r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),i,1),s=this._dateAdapter.format(r,this._dateFormats.display.monthYearA11yLabel),l=this.dateClass?this.dateClass(r,"year"):void 0;return new wf(i,a.toLocaleUpperCase(),s,this._shouldEnableMonth(i),l)}_shouldEnableMonth(i){let a=this._dateAdapter.getYear(this.activeDate);if(i==null||this._isYearAndMonthAfterMaxDate(a,i)||this._isYearAndMonthBeforeMinDate(a,i))return!1;if(!this.dateFilter)return!0;let r=this._dateAdapter.createDate(a,i,1);for(let s=r;this._dateAdapter.getMonth(s)==i;s=this._dateAdapter.addCalendarDays(s,1))if(this.dateFilter(s))return!0;return!1}_isYearAndMonthAfterMaxDate(i,a){if(this.maxDate){let r=this._dateAdapter.getYear(this.maxDate),s=this._dateAdapter.getMonth(this.maxDate);return i>r||i===r&&a>s}return!1}_isYearAndMonthBeforeMinDate(i,a){if(this.minDate){let r=this._dateAdapter.getYear(this.minDate),s=this._dateAdapter.getMonth(this.minDate);return i<r||i===r&&a<s}return!1}_isRtl(){return this._dir&&this._dir.value==="rtl"}_setSelectedMonth(i){i instanceof Pa?this._selectedMonth=this._getMonthInCurrentYear(i.start)||this._getMonthInCurrentYear(i.end):this._selectedMonth=this._getMonthInCurrentYear(i)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-year-view"]],viewQuery:function(i,a){if(i&1&&mt(uo,5),i&2){let r;Pe(r=Fe())&&(a._matCalendarBody=r.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","grid",1,"mat-calendar-table"],["aria-hidden","true",1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"selectedValueChange","activeDateChange","keyup","keydown","label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell"]],template:function(i,a){i&1&&(I(0,"table",0)(1,"thead",1)(2,"tr"),he(3,"th",2),N()(),I(4,"tbody",3),de("selectedValueChange",function(r){return a._monthSelected(r)})("activeDateChange",function(r){return a._updateActiveDate(r)})("keyup",function(r){return a._handleCalendarBodyKeyup(r)})("keydown",function(r){return a._handleCalendarBodyKeydown(r)}),N()()),i&2&&(D(4),X("label",a._yearLabel)("rows",a._months)("todayValue",a._todayMonth)("startValue",a._selectedMonth)("endValue",a._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",a._dateAdapter.getMonth(a.activeDate)))},dependencies:[uo],encapsulation:2,changeDetection:0}));let e=t;return e})(),GS=(()=>{const t=class t{constructor(){o(this,"_intl",S(Oo));o(this,"calendar",S(yp));o(this,"_dateAdapter",S(Gi,{optional:!0}));o(this,"_dateFormats",S(Ao,{optional:!0}));o(this,"_periodButtonLabelId",S(_i).getId("mat-calendar-period-label-"));S(Li).load(Ir);let i=S($t);this.calendar.stateChanges.subscribe(()=>i.markForCheck())}get periodButtonText(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return this.calendar.currentView=="month"?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():this.calendar.currentView=="year"?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return this.calendar.currentView=="month"?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView=this.calendar.currentView=="month"?"multi-year":"month"}previousClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?-1:-24)}nextClicked(){this.calendar.activeDate=this.calendar.currentView=="month"?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,this.calendar.currentView=="year"?1:Ta)}previousEnabled(){return this.calendar.minDate?!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate):!0}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(i,a){return this.calendar.currentView=="month"?this._dateAdapter.getYear(i)==this._dateAdapter.getYear(a)&&this._dateAdapter.getMonth(i)==this._dateAdapter.getMonth(a):this.calendar.currentView=="year"?this._dateAdapter.getYear(i)==this._dateAdapter.getYear(a):qS(this._dateAdapter,i,a,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){let i=this._dateAdapter.getYear(this.calendar.activeDate)-Xo(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),a=i+Ta-1,r=this._dateAdapter.getYearName(this._dateAdapter.createDate(i,0,1)),s=this._dateAdapter.getYearName(this._dateAdapter.createDate(a,0,1));return[r,s]}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:Ipe,decls:17,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["aria-live","polite",1,"cdk-visually-hidden",3,"id"],["mat-button","","type","button",1,"mat-calendar-period-button",3,"click"],["aria-hidden","true"],["viewBox","0 0 10 5","focusable","false","aria-hidden","true",1,"mat-calendar-arrow"],["points","0,0 5,5 10,0"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"click","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"click","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],template:function(i,a){i&1&&(Fi(),I(0,"div",0)(1,"div",1)(2,"span",2),B(3),N(),I(4,"button",3),de("click",function(){return a.currentPeriodClicked()}),I(5,"span",4),B(6),N(),dn(),I(7,"svg",5),he(8,"polygon",6),N()(),Dh(),he(9,"div",7),dt(10),I(11,"button",8),de("click",function(){return a.previousClicked()}),dn(),I(12,"svg",9),he(13,"path",10),N()(),Dh(),I(14,"button",11),de("click",function(){return a.nextClicked()}),dn(),I(15,"svg",9),he(16,"path",12),N()()()()),i&2&&(D(2),X("id",a._periodButtonLabelId),D(),Ee(a.periodButtonDescription),D(),_e("aria-label",a.periodButtonLabel)("aria-describedby",a._periodButtonLabelId),D(2),Ee(a.periodButtonText),D(),We("mat-calendar-invert",a.calendar.currentView!=="month"),D(4),X("disabled",!a.previousEnabled()),_e("aria-label",a.prevButtonLabel),D(3),X("disabled",!a.nextEnabled()),_e("aria-label",a.nextButtonLabel))},dependencies:[_a,So],encapsulation:2,changeDetection:0}));let e=t;return e})(),yp=(()=>{const t=class t{constructor(){o(this,"_dateAdapter",S(Gi,{optional:!0}));o(this,"_dateFormats",S(Ao,{optional:!0}));o(this,"_changeDetectorRef",S($t));o(this,"_elementRef",S(ze));o(this,"headerComponent");o(this,"_calendarHeaderPortal");o(this,"_intlChanges");o(this,"_moveFocusOnNextTick",!1);o(this,"_startAt");o(this,"startView","month");o(this,"_selected");o(this,"_minDate");o(this,"_maxDate");o(this,"dateFilter");o(this,"dateClass");o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"selectedChange",new ce);o(this,"yearSelected",new ce);o(this,"monthSelected",new ce);o(this,"viewChanged",new ce(!0));o(this,"_userSelection",new ce);o(this,"_userDragDrop",new ce);o(this,"monthView");o(this,"yearView");o(this,"multiYearView");o(this,"_clampedActiveDate");o(this,"_currentView");o(this,"_activeDrag",null);o(this,"stateChanges",new le);this._intlChanges=S(Oo).changes.subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(i){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get selected(){return this._selected}set selected(i){i instanceof Pa?this._selected=i:this._selected=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get minDate(){return this._minDate}set minDate(i){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get maxDate(){return this._maxDate}set maxDate(i){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get activeDate(){return this._clampedActiveDate}set activeDate(i){this._clampedActiveDate=this._dateAdapter.clampDate(i,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(i){let a=this._currentView!==i?i:null;this._currentView=i,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),a&&this.viewChanged.emit(a)}ngAfterContentInit(){this._calendarHeaderPortal=new Ln(this.headerComponent||GS),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}ngAfterViewChecked(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}ngOnDestroy(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}ngOnChanges(i){let a=i.minDate&&!this._dateAdapter.sameDate(i.minDate.previousValue,i.minDate.currentValue)?i.minDate:void 0,r=i.maxDate&&!this._dateAdapter.sameDate(i.maxDate.previousValue,i.maxDate.currentValue)?i.maxDate:void 0,s=a||r||i.dateFilter;if(s&&!s.firstChange){let l=this._getCurrentViewComponent();l&&(this._elementRef.nativeElement.contains(Qr())&&(this._moveFocusOnNextTick=!0),this._changeDetectorRef.detectChanges(),l._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(i){let a=i.value;(this.selected instanceof Pa||a&&!this._dateAdapter.sameDate(a,this.selected))&&this.selectedChange.emit(a),this._userSelection.emit(i)}_yearSelectedInMultiYearView(i){this.yearSelected.emit(i)}_monthSelectedInYearView(i){this.monthSelected.emit(i)}_goToDateInView(i,a){this.activeDate=i,this.currentView=a}_dragStarted(i){this._activeDrag=i}_dragEnded(i){this._activeDrag&&(i.value&&this._userDragDrop.emit(i),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-calendar"]],viewQuery:function(i,a){if(i&1&&(mt(Fy,5),mt(zy,5),mt(Vy,5)),i&2){let r;Pe(r=Fe())&&(a.monthView=r.first),Pe(r=Fe())&&(a.yearView=r.first),Pe(r=Fe())&&(a.multiYearView=r.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[bi([HS]),vi],decls:5,vars:2,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","_userSelection","dragStarted","dragEnded","activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDrag"],[3,"activeDateChange","monthSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"],[3,"activeDateChange","yearSelected","selectedChange","activeDate","selected","dateFilter","maxDate","minDate","dateClass"]],template:function(i,a){if(i&1&&(se(0,Ape,0,0,"ng-template",0),I(1,"div",1),se(2,Ope,1,11,"mat-month-view",2)(3,Tpe,1,6,"mat-year-view",3)(4,Npe,1,6,"mat-multi-year-view",3),N()),i&2){let r;X("cdkPortalOutlet",a._calendarHeaderPortal),D(2),oe((r=a.currentView)==="month"?2:r==="year"?3:r==="multi-year"?4:-1)}},dependencies:[Sr,Cre,Fy,zy,Vy],styles:[`.mat-calendar{display:block;line-height:normal;font-family:var(--mat-datepicker-calendar-text-font, var(--mat-sys-body-medium-font));font-size:var(--mat-datepicker-calendar-text-size, var(--mat-sys-body-medium-size))}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;align-items:center;margin:5% calc(4.7142857143% - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0;margin:0 8px;font-size:var(--mat-datepicker-calendar-period-button-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-period-button-text-weight, var(--mat-sys-title-small-weight));--mdc-text-button-label-text-color:var(--mat-datepicker-calendar-period-button-text-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle;fill:var(--mat-datepicker-calendar-period-button-icon-color, var(--mat-sys-on-surface-variant))}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}@media(forced-colors: active){.mat-calendar-arrow{fill:CanvasText}}.mat-datepicker-content .mat-calendar-previous-button:not(.mat-mdc-button-disabled),.mat-datepicker-content .mat-calendar-next-button:not(.mat-mdc-button-disabled){color:var(--mat-datepicker-calendar-navigation-button-icon-color, var(--mat-sys-on-surface-variant))}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0;color:var(--mat-datepicker-calendar-header-text-color, var(--mat-sys-on-surface-variant));font-size:var(--mat-datepicker-calendar-header-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-datepicker-calendar-header-text-weight, var(--mat-sys-title-small-weight))}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px;background:var(--mat-datepicker-calendar-header-divider-color, transparent)}.mat-calendar-body-cell-content::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 3px)*-1)}.mat-calendar-body-cell:focus .mat-focus-indicator::before{content:""}
|
|
51
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),YS=new $("mat-datepicker-scroll-strategy",{providedIn:"root",factory:()=>{let e=S(xi);return()=>e.scrollStrategies.reposition()}});function qpe(e){return()=>e.scrollStrategies.reposition()}var Upe={provide:YS,deps:[xi],useFactory:qpe},WS=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_animationsDisabled",S(Ui,{optional:!0})==="NoopAnimations");o(this,"_changeDetectorRef",S($t));o(this,"_globalModel",S(Ds));o(this,"_dateAdapter",S(Gi));o(this,"_ngZone",S(Ne));o(this,"_rangeSelectionStrategy",S($S,{optional:!0}));o(this,"_stateChanges");o(this,"_model");o(this,"_eventCleanups");o(this,"_animationFallback");o(this,"_calendar");o(this,"color");o(this,"datepicker");o(this,"comparisonStart");o(this,"comparisonEnd");o(this,"startDateAccessibleName");o(this,"endDateAccessibleName");o(this,"_isAbove");o(this,"_animationDone",new le);o(this,"_isAnimating",!1);o(this,"_closeButtonText");o(this,"_closeButtonFocused");o(this,"_actionsPortal",null);o(this,"_dialogLabelId");o(this,"_handleAnimationEvent",i=>{let a=this._elementRef.nativeElement;i.target!==a||!i.animationName.startsWith("_mat-datepicker-content")||(clearTimeout(this._animationFallback),this._isAnimating=i.type==="animationstart",a.classList.toggle("mat-datepicker-content-animating",this._isAnimating),this._isAnimating||this._animationDone.next())});if(S(Li).load(Ir),this._closeButtonText=S(Oo).closeCalendarLabel,!this._animationsDisabled){let i=this._elementRef.nativeElement,a=S(na);this._eventCleanups=this._ngZone.runOutsideAngular(()=>[a.listen(i,"animationstart",this._handleAnimationEvent),a.listen(i,"animationend",this._handleAnimationEvent),a.listen(i,"animationcancel",this._handleAnimationEvent)])}}ngAfterViewInit(){this._stateChanges=this.datepicker.stateChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._calendar.focusActiveCell()}ngOnDestroy(){var i,a;clearTimeout(this._animationFallback),(i=this._eventCleanups)==null||i.forEach(r=>r()),(a=this._stateChanges)==null||a.unsubscribe(),this._animationDone.complete()}_handleUserSelection(i){let a=this._model.selection,r=i.value,s=a instanceof Pa;if(s&&this._rangeSelectionStrategy){let l=this._rangeSelectionStrategy.selectionFinished(r,a,i.event);this._model.updateSelection(l,this)}else r&&(s||!this._dateAdapter.sameDate(r,a))&&this._model.add(r);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(i){this._model.updateSelection(i.value,this)}_startExitAnimation(){this._elementRef.nativeElement.classList.add("mat-datepicker-content-exit"),this._animationsDisabled?this._animationDone.next():(clearTimeout(this._animationFallback),this._animationFallback=setTimeout(()=>{this._isAnimating||this._animationDone.next()},200))}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(i,a){this._model=i?this._globalModel.clone():this._globalModel,this._actionsPortal=i,a&&this._changeDetectorRef.detectChanges()}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-datepicker-content"]],viewQuery:function(i,a){if(i&1&&mt(yp,5),i&2){let r;Pe(r=Fe())&&(a._calendar=r.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:6,hostBindings:function(i,a){i&2&&(br(a.color?"mat-"+a.color:""),We("mat-datepicker-content-touch",a.datepicker.touchUi)("mat-datepicker-content-animations-enabled",!a._animationsDisabled))},inputs:{color:"color"},exportAs:["matDatepickerContent"],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"yearSelected","monthSelected","viewChanged","_userSelection","_userDragDrop","id","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"focus","blur","click","color"]],template:function(i,a){if(i&1&&(I(0,"div",0)(1,"mat-calendar",1),de("yearSelected",function(r){return a.datepicker._selectYear(r)})("monthSelected",function(r){return a.datepicker._selectMonth(r)})("viewChanged",function(r){return a.datepicker._viewChanged(r)})("_userSelection",function(r){return a._handleUserSelection(r)})("_userDragDrop",function(r){return a._handleUserDragDrop(r)}),N(),se(2,Rpe,0,0,"ng-template",2),I(3,"button",3),de("focus",function(){return a._closeButtonFocused=!0})("blur",function(){return a._closeButtonFocused=!1})("click",function(){return a.datepicker.close()}),B(4),N()()),i&2){let r;We("mat-datepicker-content-container-with-custom-header",a.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",a._actionsPortal),_e("aria-modal",!0)("aria-labelledby",(r=a._dialogLabelId)!==null&&r!==void 0?r:void 0),D(),br(a.datepicker.panelClass),X("id",a.datepicker.id)("startAt",a.datepicker.startAt)("startView",a.datepicker.startView)("minDate",a.datepicker._getMinDate())("maxDate",a.datepicker._getMaxDate())("dateFilter",a.datepicker._getDateFilter())("headerComponent",a.datepicker.calendarHeaderComponent)("selected",a._getSelected())("dateClass",a.datepicker.dateClass)("comparisonStart",a.comparisonStart)("comparisonEnd",a.comparisonEnd)("startDateAccessibleName",a.startDateAccessibleName)("endDateAccessibleName",a.endDateAccessibleName),D(),X("cdkPortalOutlet",a._actionsPortal),D(),We("cdk-visually-hidden",!a._closeButtonFocused),X("color",a.color||"primary"),D(),Ee(a._closeButtonText)}},dependencies:[Hre,yp,Sr,_a],styles:[`@keyframes _mat-datepicker-content-dropdown-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-dialog-enter{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:none}}@keyframes _mat-datepicker-content-exit{from{opacity:1}to{opacity:0}}.mat-datepicker-content{display:block;border-radius:4px;background-color:var(--mat-datepicker-calendar-container-background-color, var(--mat-sys-surface-container-high));color:var(--mat-datepicker-calendar-container-text-color, var(--mat-sys-on-surface));box-shadow:var(--mat-datepicker-calendar-container-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-shape, var(--mat-sys-corner-large))}.mat-datepicker-content.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dropdown-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-content-container-with-custom-header .mat-calendar{height:auto}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.mat-datepicker-content-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;box-shadow:var(--mat-datepicker-calendar-container-touch-elevation-shadow, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12));border-radius:var(--mat-datepicker-calendar-container-touch-shape, var(--mat-sys-corner-extra-large));position:relative;overflow:visible}.mat-datepicker-content-touch.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-dialog-enter 150ms cubic-bezier(0, 0, 0.2, 1)}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}.mat-datepicker-content-exit.mat-datepicker-content-animations-enabled{animation:_mat-datepicker-content-exit 100ms linear}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}
|
|
52
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),jy=(()=>{const t=class t{constructor(){o(this,"_overlay",S(xi));o(this,"_viewContainerRef",S(jn));o(this,"_dateAdapter",S(Gi,{optional:!0}));o(this,"_dir",S($i,{optional:!0}));o(this,"_model",S(Ds));o(this,"_scrollStrategy",S(YS));o(this,"_inputStateChanges",ct.EMPTY);o(this,"_document",S(et));o(this,"calendarHeaderComponent");o(this,"_startAt");o(this,"startView","month");o(this,"_color");o(this,"touchUi",!1);o(this,"_disabled");o(this,"xPosition","start");o(this,"yPosition","below");o(this,"restoreFocus",!0);o(this,"yearSelected",new ce);o(this,"monthSelected",new ce);o(this,"viewChanged",new ce(!0));o(this,"dateClass");o(this,"openedStream",new ce);o(this,"closedStream",new ce);o(this,"_panelClass");o(this,"_opened",!1);o(this,"id",S(_i).getId("mat-datepicker-"));o(this,"_overlayRef");o(this,"_componentRef");o(this,"_focusedElementBeforeOpen",null);o(this,"_backdropHarnessClass",`${this.id}-backdrop`);o(this,"_actionsPortal");o(this,"datepickerInput");o(this,"stateChanges",new le);o(this,"_injector",S(lt));o(this,"_changeDetectorRef",S($t));this._dateAdapter,this._model.selectionChanged.subscribe(()=>{this._changeDetectorRef.markForCheck()})}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(i){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(i){this._color=i}get disabled(){return this._disabled===void 0&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(i){i!==this._disabled&&(this._disabled=i,this.stateChanges.next(void 0))}get panelClass(){return this._panelClass}set panelClass(i){this._panelClass=Qre(i)}get opened(){return this._opened}set opened(i){i?this.open():this.close()}_getMinDate(){return this.datepickerInput&&this.datepickerInput.min}_getMaxDate(){return this.datepickerInput&&this.datepickerInput.max}_getDateFilter(){return this.datepickerInput&&this.datepickerInput.dateFilter}ngOnChanges(i){let a=i.xPosition||i.yPosition;if(a&&!a.firstChange&&this._overlayRef){let r=this._overlayRef.getConfig().positionStrategy;r instanceof bw&&(this._setConnectedPositions(r),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(i){this._model.add(i)}_selectYear(i){this.yearSelected.emit(i)}_selectMonth(i){this.monthSelected.emit(i)}_viewChanged(i){this.viewChanged.emit(i)}registerInput(i){return this.datepickerInput,this._inputStateChanges.unsubscribe(),this.datepickerInput=i,this._inputStateChanges=i.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(i){var a;this._actionsPortal,this._actionsPortal=i,(a=this._componentRef)==null||a.instance._assignActions(i,!0)}removeActions(i){var a;i===this._actionsPortal&&(this._actionsPortal=null,(a=this._componentRef)==null||a.instance._assignActions(null,!0))}open(){var i;this._opened||this.disabled||(i=this._componentRef)!=null&&i.instance._isAnimating||(this.datepickerInput,this._focusedElementBeforeOpen=Qr(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){var r;if(!this._opened||(r=this._componentRef)!=null&&r.instance._isAnimating)return;let i=this.restoreFocus&&this._focusedElementBeforeOpen&&typeof this._focusedElementBeforeOpen.focus=="function",a=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){let{instance:s,location:l}=this._componentRef;s._animationDone.pipe(Ei(1)).subscribe(()=>{let c=this._document.activeElement;i&&(!c||c===this._document.activeElement||l.nativeElement.contains(c))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()}),s._startExitAnimation()}i?setTimeout(a):a()}_applyPendingSelection(){var i,a;(a=(i=this._componentRef)==null?void 0:i.instance)==null||a._applyPendingSelection()}_forwardContentValues(i){i.datepicker=this,i.color=this.color,i._dialogLabelId=this.datepickerInput.getOverlayLabelId(),i._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();let i=this.touchUi,a=new Ln(WS,this._viewContainerRef),r=this._overlayRef=this._overlay.create(new rl({positionStrategy:i?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[i?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir||"ltr",scrollStrategy:i?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:`mat-datepicker-${i?"dialog":"popup"}`}));this._getCloseStream(r).subscribe(s=>{s&&s.preventDefault(),this.close()}),r.keydownEvents().subscribe(s=>{let l=s.keyCode;(l===38||l===40||l===37||l===39||l===33||l===34)&&s.preventDefault()}),this._componentRef=r.attach(a),this._forwardContentValues(this._componentRef.instance),i||gr(()=>{r.updatePosition()},{injector:this._injector})}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){let i=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(i)}_setConnectedPositions(i){let a=this.xPosition==="end"?"end":"start",r=a==="start"?"end":"start",s=this.yPosition==="above"?"bottom":"top",l=s==="top"?"bottom":"top";return i.withPositions([{originX:a,originY:l,overlayX:a,overlayY:s},{originX:a,originY:s,overlayX:a,overlayY:l},{originX:r,originY:l,overlayX:r,overlayY:s},{originX:r,originY:s,overlayX:r,overlayY:l}])}_getCloseStream(i){let a=["ctrlKey","shiftKey","metaKey"];return Xi(i.backdropClick(),i.detachments(),i.keydownEvents().pipe(oi(r=>r.keyCode===27&&!Di(r)||this.datepickerInput&&Di(r,"altKey")&&r.keyCode===38&&a.every(s=>!Di(r,s)))))}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:[2,"touchUi","touchUi",qe],disabled:[2,"disabled","disabled",qe],xPosition:"xPosition",yPosition:"yPosition",restoreFocus:[2,"restoreFocus","restoreFocus",qe],dateClass:"dateClass",panelClass:"panelClass",opened:[2,"opened","opened",qe]},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[vi]}));let e=t;return e})(),Gpe=(()=>{const t=class t extends jy{};o(t,"ɵfac",(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})()),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[bi([HS,{provide:jy,useExisting:t}]),Pt],decls:0,vars:0,template:function(i,a){},encapsulation:2,changeDetection:0}));let e=t;return e})(),Gl=class{constructor(e,t){o(this,"target");o(this,"targetElement");o(this,"value");this.target=e,this.targetElement=t,this.value=this.target.value}},Ype=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_dateAdapter",S(Gi,{optional:!0}));o(this,"_dateFormats",S(Ao,{optional:!0}));o(this,"_isInitialized");o(this,"_model");o(this,"_disabled");o(this,"dateChange",new ce);o(this,"dateInput",new ce);o(this,"stateChanges",new le);o(this,"_onTouched",()=>{});o(this,"_validatorOnChange",()=>{});o(this,"_cvaOnChange",()=>{});o(this,"_valueChangesSubscription",ct.EMPTY);o(this,"_localeSubscription",ct.EMPTY);o(this,"_pendingValue");o(this,"_parseValidator",()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}});o(this,"_filterValidator",i=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value));return!a||this._matchesFilter(a)?null:{matDatepickerFilter:!0}});o(this,"_minValidator",i=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value)),r=this._getMinDate();return!r||!a||this._dateAdapter.compareDate(r,a)<=0?null:{matDatepickerMin:{min:r,actual:a}}});o(this,"_maxValidator",i=>{let a=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(i.value)),r=this._getMaxDate();return!r||!a||this._dateAdapter.compareDate(r,a)>=0?null:{matDatepickerMax:{max:r,actual:a}}});o(this,"_lastValueValid",!1);this._localeSubscription=this._dateAdapter.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(i){this._assignValueProgrammatically(i)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(i){let a=i,r=this._elementRef.nativeElement;this._disabled!==a&&(this._disabled=a,this.stateChanges.next(void 0)),a&&this._isInitialized&&r.blur&&r.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(i){this._model=i,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(a=>{if(this._shouldHandleChangeEvent(a)){let r=this._getValueFromModel(a.selection);this._lastValueValid=this._isValidValue(r),this._cvaOnChange(r),this._onTouched(),this._formatValue(r),this.dateInput.emit(new Gl(this,this._elementRef.nativeElement)),this.dateChange.emit(new Gl(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(i){Wpe(i,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(i){this._validatorOnChange=i}validate(i){return this._validator?this._validator(i):null}writeValue(i){this._assignValueProgrammatically(i)}registerOnChange(i){this._cvaOnChange=i}registerOnTouched(i){this._onTouched=i}setDisabledState(i){this.disabled=i}_onKeydown(i){let a=["ctrlKey","shiftKey","metaKey"];Di(i,"altKey")&&i.keyCode===40&&a.every(r=>!Di(i,r))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),i.preventDefault())}_onInput(i){let a=this._lastValueValid,r=this._dateAdapter.parse(i,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(r),r=this._dateAdapter.getValidDateOrNull(r);let s=!this._dateAdapter.sameDate(r,this.value);!r||s?this._cvaOnChange(r):(i&&!this.value&&this._cvaOnChange(r),a!==this._lastValueValid&&this._validatorOnChange()),s&&(this._assignValue(r),this.dateInput.emit(new Gl(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new Gl(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(i){this._elementRef.nativeElement.value=i!=null?this._dateAdapter.format(i,this._dateFormats.display.dateInput):""}_assignValue(i){this._model?(this._assignValueToModel(i),this._pendingValue=null):this._pendingValue=i}_isValidValue(i){return!i||this._dateAdapter.isValid(i)}_parentDisabled(){return!1}_assignValueProgrammatically(i){i=this._dateAdapter.deserialize(i),this._lastValueValid=this._isValidValue(i),i=this._dateAdapter.getValidDateOrNull(i),this._assignValue(i),this._formatValue(i)}_matchesFilter(i){let a=this._getDateFilter();return!a||a(i)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,inputs:{value:"value",disabled:[2,"disabled","disabled",qe]},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[vi]}));let e=t;return e})();function Wpe(e,t){let n=Object.keys(e);for(let i of n){let{previousValue:a,currentValue:r}=e[i];if(t.isDateInstance(a)&&t.isDateInstance(r)){if(!t.sameDate(a,r))return!0}else return!0}return!1}var Kpe={provide:af,useExisting:pn(()=>Sf),multi:!0},Zpe={provide:dl,useExisting:pn(()=>Sf),multi:!0},Sf=(()=>{const t=class t extends Ype{constructor(){super();o(this,"_formField",S(Bd,{optional:!0}));o(this,"_closedSubscription",ct.EMPTY);o(this,"_openedSubscription",ct.EMPTY);o(this,"_datepicker");o(this,"_ariaOwns",Ra(null));o(this,"_min");o(this,"_max");o(this,"_dateFilter");o(this,"_validator");this._validator=sf.compose(super._getValidators())}set matDatepicker(a){a&&(this._datepicker=a,this._ariaOwns.set(a.opened?a.id:null),this._closedSubscription=a.closedStream.subscribe(()=>{this._onTouched(),this._ariaOwns.set(null)}),this._openedSubscription=a.openedStream.subscribe(()=>{this._ariaOwns.set(a.id)}),this._registerModel(a.registerInput(this)))}get min(){return this._min}set min(a){let r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a));this._dateAdapter.sameDate(r,this._min)||(this._min=r,this._validatorOnChange())}get max(){return this._max}set max(a){let r=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(a));this._dateAdapter.sameDate(r,this._max)||(this._max=r,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(a){let r=this._matchesFilter(this.value);this._dateFilter=a,this._matchesFilter(this.value)!==r&&this._validatorOnChange()}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe(),this._openedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(a){return a}_assignValueToModel(a){this._model&&this._model.updateSelection(a,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(a){return a.source!==this}};o(t,"ɵfac",function(a){return new(a||t)}),o(t,"ɵdir",Se({type:t,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(a,r){a&1&&de("input",function(s){return r._onInput(s.target.value)})("change",function(){return r._onChange()})("blur",function(){return r._onBlur()})("keydown",function(s){return r._onKeydown(s)}),a&2&&(vn("disabled",r.disabled),_e("aria-haspopup",r._datepicker?"dialog":null)("aria-owns",r._ariaOwns())("min",r.min?r._dateAdapter.toIso8601(r.min):null)("max",r.max?r._dateAdapter.toIso8601(r.max):null)("data-mat-calendar",r._datepicker?r._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:[0,"matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[bi([Kpe,Zpe,{provide:zS,useExisting:t}]),Pt]}));let e=t;return e})(),Xpe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["","matDatepickerToggleIcon",""]]}));let e=t;return e})(),KS=(()=>{const t=class t{constructor(){o(this,"_intl",S(Oo));o(this,"_changeDetectorRef",S($t));o(this,"_stateChanges",ct.EMPTY);o(this,"datepicker");o(this,"tabIndex");o(this,"ariaLabel");o(this,"_disabled");o(this,"disableRipple");o(this,"_customIcon");o(this,"_button");let i=S(new lm("tabindex"),{optional:!0}),a=Number(i);this.tabIndex=a||a===0?a:null}get disabled(){return this._disabled===void 0&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(i){this._disabled=i}ngOnChanges(i){i.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(i){this.datepicker&&!this.disabled&&(this.datepicker.open(),i.stopPropagation())}_watchStateChanges(){let i=this.datepicker?this.datepicker.stateChanges:yt(),a=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:yt(),r=this.datepicker?Xi(this.datepicker.openedStream,this.datepicker.closedStream):yt();this._stateChanges.unsubscribe(),this._stateChanges=Xi(this._intl.changes,i,a,r).subscribe(()=>this._changeDetectorRef.markForCheck())}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-datepicker-toggle"]],contentQueries:function(i,a,r){if(i&1&&pi(r,Xpe,5),i&2){let s;Pe(s=Fe())&&(a._customIcon=s.first)}},viewQuery:function(i,a){if(i&1&&mt(Mpe,5),i&2){let r;Pe(r=Fe())&&(a._button=r.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(i,a){i&1&&de("click",function(r){return a._open(r)}),i&2&&(_e("tabindex",null)("data-mat-calendar",a.datepicker?a.datepicker.id:null),We("mat-datepicker-toggle-active",a.datepicker&&a.datepicker.opened)("mat-accent",a.datepicker&&a.datepicker.color==="accent")("mat-warn",a.datepicker&&a.datepicker.color==="warn"))},inputs:{datepicker:[0,"for","datepicker"],tabIndex:"tabIndex",ariaLabel:[0,"aria-label","ariaLabel"],disabled:[2,"disabled","disabled",qe],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[vi],ngContentSelectors:Fpe,decls:4,vars:7,consts:[["button",""],["mat-icon-button","","type","button",3,"disabled","disableRipple"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false","aria-hidden","true",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(i,a){i&1&&(Fi(Ppe),I(0,"button",1,0),se(2,Lpe,2,0,":svg:svg",2),dt(3),N()),i&2&&(X("disabled",a.disabled)("disableRipple",a.disableRipple),_e("aria-haspopup",a.datepicker?"dialog":null)("aria-label",a.ariaLabel||a._intl.openCalendarLabel)("tabindex",a.disabled?-1:a.tabIndex)("aria-expanded",a.datepicker?a.datepicker.opened:null),D(2),oe(a._customIcon?-1:2))},dependencies:[So],styles:[`.mat-datepicker-toggle{pointer-events:auto;color:var(--mat-datepicker-toggle-icon-color, var(--mat-sys-on-surface-variant))}.mat-datepicker-toggle-active{color:var(--mat-datepicker-toggle-active-state-icon-color, var(--mat-sys-on-surface-variant))}@media(forced-colors: active){.mat-datepicker-toggle-default-icon{color:CanvasText}}
|
|
53
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Qpe=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",wt({type:t})),o(t,"ɵinj",xt({providers:[Oo,Upe],imports:[ko,jd,sw,xs,ai,WS,KS,GS,Hc]}));let e=t;return e})();function Jpe(e,t){e&1&&(I(0,"mat-error"),B(1),H(2,"translate"),N()),e&2&&(D(),Ee(W(2,1,"commons.errors.invalid_date_format")))}function eme(e,t){e&1&&(I(0,"mat-error"),B(1),H(2,"translate"),N()),e&2&&(D(),Ee(W(2,1,"diaryNotesPage.filters.errFrom")))}function tme(e,t){e&1&&(I(0,"mat-error"),B(1),H(2,"translate"),N()),e&2&&(D(),Ee(W(2,1,"commons.errors.invalid_date_format")))}function ime(e,t){e&1&&(I(0,"mat-error"),B(1),H(2,"translate"),N()),e&2&&(D(),Ee(W(2,1,"diaryNotesPage.filters.errUntil")))}function ame(e,t){e&1&&he(0,"mat-option",18)}function nme(e,t){if(e&1&&(I(0,"mat-option",19),B(1),N()),e&2){let n=t.$implicit;Nd("value",n),_e("translate","no"),D(),Ee(n)}}function rme(e,t){if(e&1){let n=Ke();I(0,"button",21),H(1,"translate"),H(2,"translate"),de("click",function(i){ve(n);let a=V(2);return a.filter.author="",ye(i.stopPropagation())}),he(3,"mat-icon",22),N()}e&2&&(X("title",W(1,2,"diaryNotesPage.filters.deleteSelection")),_e("aria-label",W(2,4,"diaryNotesPage.filters.deleteSelection")))}function ome(e,t){if(e&1){let n=Ke();I(0,"div",6)(1,"label",16),B(2),H(3,"translate"),N(),I(4,"mat-form-field",8)(5,"mat-select",17),Ha("ngModelChange",function(i){ve(n);let a=V();return hn(a.filter.author,i)||(a.filter.author=i),ye(i)}),se(6,ame,1,0,"mat-option",18),Mi(7,nme,2,3,"mat-option",19,va),N(),se(9,rme,4,6,"button",20),N()()}if(e&2){let n=V();D(2),Ee(W(3,4,"diaryNotesPage.filters.author")),D(3),Ba("ngModel",n.filter.author),D(),oe(n.filter.author?6:-1),D(),Pi(t),D(2),oe(n.filter.author?9:-1)}}function sme(e,t){e&1&&he(0,"mat-option",18)}function lme(e,t){if(e&1&&(I(0,"mat-option",19),B(1),H(2,"translate"),H(3,"firstLetterUppercase"),N()),e&2){let n=t.$implicit;Nd("value",n),_e("translate","no"),D(),Ie("",W(3,5,W(2,3,"commons.roles."+n.toLowerCase()))," ")}}function cme(e,t){if(e&1){let n=Ke();I(0,"button",21),H(1,"translate"),H(2,"translate"),de("click",function(i){ve(n);let a=V(2);return a.filter.role=void 0,ye(i.stopPropagation())}),he(3,"mat-icon",22),N()}e&2&&(X("title",W(1,2,"diaryNotesPage.filters.deleteSelection")),_e("aria-label",W(2,4,"diaryNotesPage.filters.deleteSelection")))}function dme(e,t){if(e&1){let n=Ke();I(0,"div",6)(1,"label",23),B(2),H(3,"translate"),N(),I(4,"mat-form-field",8)(5,"mat-select",24),Ha("ngModelChange",function(i){ve(n);let a=V();return hn(a.filter.role,i)||(a.filter.role=i),ye(i)}),se(6,sme,1,0,"mat-option",18),Mi(7,lme,4,7,"mat-option",19,va),N(),se(9,cme,4,6,"button",20),N()()}if(e&2){let n=V();D(2),Ee(W(3,4,"diaryNotesPage.filters.role")),D(3),Ba("ngModel",n.filter.role),D(),oe(n.filter.role?6:-1),D(),Pi(t),D(2),oe(n.filter.role?9:-1)}}function ume(e,t){if(e&1&&(I(0,"mat-option",19),B(1),H(2,"translate"),H(3,"firstLetterUppercase"),N()),e&2){let n=t.$implicit;Nd("value",n),D(),Ie(" ",W(3,4,W(2,2,"commons.tags."+n.toLowerCase()))," ")}}function hme(e,t){if(e&1){let n=Ke();I(0,"button",21),H(1,"translate"),H(2,"translate"),de("click",function(i){ve(n);let a=V(2);return a.filter.tags=[],ye(i.stopPropagation())}),he(3,"mat-icon",22),N()}e&2&&(X("title",W(1,2,"diaryNotesPage.filters.deleteSelection")),_e("aria-label",W(2,4,"diaryNotesPage.filters.deleteSelection")))}function pme(e,t){if(e&1){let n=Ke();I(0,"div",6)(1,"label",25),B(2),H(3,"translate"),N(),I(4,"mat-form-field",8)(5,"mat-select",26),Ha("ngModelChange",function(i){ve(n);let a=V();return hn(a.filter.tags,i)||(a.filter.tags=i),ye(i)}),Mi(6,ume,4,6,"mat-option",19,va),N(),se(8,hme,4,6,"button",20),N()()}if(e&2){let n=V();D(2),Ee(W(3,3,"diaryNotesPage.filters.tags")),D(3),Ba("ngModel",n.filter.tags),D(),Pi(t),D(2),oe((n.filter==null||n.filter.tags==null?null:n.filter.tags.length)>0?8:-1)}}var mme=(()=>{const t=class t{constructor(){this.translateService=S(Bn),this.dateAdapter=S(Gi),this.destroyRef=S(Hi),this.data=S(Jm),this.today=new Date,this.filter={dateRange:{from:null,until:null}},this.setActiveFilters=i=>{this.filter=Qe(Q({},i),{dateRange:{from:i.dateRange.from?new Date(i.dateRange.from):null,until:i.dateRange.until?new Date(i.dateRange.until):null}})}}ngOnInit(){this.dateAdapter.setLocale(this.translateService.currentLang),this.filterOptions=this.data.filterOptions,this.authors=this.filterOptions.authors,this.roles=this.filterOptions.roles,this.tags=this.filterOptions.tags,this.data.activeFilters$.pipe(wZ()).subscribe(this.setActiveFilters),this.translateService.onLangChange.pipe(wo(this.destroyRef)).subscribe(({lang:i})=>{this.dateAdapter.setLocale(i)})}onSelectFromDate(i){this.filter.dateRange.from=i.value}onSelectUntilDate(i){this.filter.dateRange.until=i.value}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],decls:40,vars:33,consts:[["dateRangeFrom","ngModel"],["fromPicker",""],["dateRangeUntil","ngModel"],["untilPicker",""],["mat-dialog-title",""],[1,"date-range"],[1,"mh-form-field"],["for","fromFilter"],["appearance","outline"],["id","fromFilter","matInput","","name","fromPicker","placeholder","dd/mm/yyyy",3,"ngModelChange","dateChange","ngModel","matDatepicker","max"],["matSuffix","",3,"for"],["startView","month",3,"startAt"],["for","untilDate"],["id","untilDate","matInput","","name","untilPicker","placeholder","dd/mm/yyyy",3,"ngModelChange","dateChange","ngModel","matDatepicker","min","max"],["mat-button","","mat-dialog-close",""],["mat-flat-button","","type","button",3,"disabled","mat-dialog-close"],["for","author"],["id","author","name","author",3,"ngModelChange","ngModel"],["value",""],[3,"value"],["matSuffix","","mat-icon-button","",3,"title"],["matSuffix","","mat-icon-button","",3,"click","title"],["aria-hidden","true","fontIcon","close"],["for","role"],["id","role","name","role",3,"ngModelChange","ngModel"],["for","tags"],["id","tags","name","tags","multiple","",3,"ngModelChange","ngModel"]],template:function(i,a){if(i&1){let r=Ke();I(0,"h2",4),B(1),H(2,"translate"),N(),I(3,"mat-dialog-content")(4,"form")(5,"div",5)(6,"div",6)(7,"label",7),B(8),H(9,"translate"),N(),I(10,"mat-form-field",8)(11,"input",9,0),Ha("ngModelChange",function(s){return ve(r),hn(a.filter.dateRange.from,s)||(a.filter.dateRange.from=s),ye(s)}),de("dateChange",function(s){return ve(r),ye(a.onSelectFromDate(s))}),N(),he(13,"mat-datepicker-toggle",10)(14,"mat-datepicker",11,1),se(16,Jpe,3,3,"mat-error")(17,eme,3,3,"mat-error"),N()(),I(18,"div",6)(19,"label",12),B(20),H(21,"translate"),N(),I(22,"mat-form-field",8)(23,"input",13,2),Ha("ngModelChange",function(s){return ve(r),hn(a.filter.dateRange.until,s)||(a.filter.dateRange.until=s),ye(s)}),de("dateChange",function(s){return ve(r),ye(a.onSelectUntilDate(s))}),N(),he(25,"mat-datepicker-toggle",10)(26,"mat-datepicker",11,3),se(28,tme,3,3,"mat-error")(29,ime,3,3,"mat-error"),N()()(),se(30,ome,10,6,"div",6)(31,dme,10,6,"div",6)(32,pme,9,5,"div",6),N()(),I(33,"mat-dialog-actions")(34,"button",14),B(35),H(36,"translate"),N(),I(37,"button",15),B(38),H(39,"translate"),N()()}if(i&2){let r,s,l,c=Dn(12),d=Dn(15),u=Dn(24),p=Dn(27);D(),Ee(W(2,23,"diaryNotesPage.filters.filter")),D(7),Ee(W(9,25,"diaryNotesPage.filters.from")),D(3),Ba("ngModel",a.filter.dateRange.from),X("matDatepicker",d)("max",a.filter.dateRange.until?a.filter.dateRange.until:a.today),D(2),X("for",d),D(),X("startAt",a.today),D(2),oe(c.hasError("matDatepickerParse")?16:c.hasError("matDatepickerMax")?17:-1),D(4),Ee(W(21,27,"diaryNotesPage.filters.until")),D(3),Ba("ngModel",a.filter.dateRange.until),X("matDatepicker",p)("min",a.filter.dateRange.from)("max",a.today),D(2),X("for",p),D(),X("startAt",a.today),D(2),oe(u.hasError("matDatepickerParse")?28:u.hasError("matDatepickerMin")?29:-1),D(2),oe((r=a.authors)?30:-1,r),D(),oe((s=a.roles)?31:-1,s),D(),oe((l=a.tags)?32:-1,l),D(3),Ie(" ",W(36,29,"diaryNotesPage.cancel")," "),D(2),X("disabled",c.invalid||u.invalid)("mat-dialog-close",a.filter),D(),Ie(" ",W(39,31,"diaryNotesPage.confirm")," ")}},dependencies:[ll,Hd,KS,Gpe,ff,Yd,cl,ol,iS,gle,$d,Uw,Qse,hf,Gd,So,Sf,jS,sl,ef,Ss,Aw,Nse,upe,Qpe,sS,cp,ko,_a,ba,xf,Hn,ise],styles:["@media only screen and (min-width: 960px){.date-range[_ngcontent-%COMP%]{display:flex;gap:16px}.date-range[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:100%}}"]});let e=t;return e})();function fme(e,t){if(e&1){let n=Ke();I(0,"mat-chip",4),de("removed",function(){ve(n);let i=V(2);return ye(i.onClearFilter("author"))}),B(1),H(2,"translate"),I(3,"span"),B(4),H(5,"firstLetterUppercase"),N(),I(6,"button",5),he(7,"mat-icon",6),N()()}if(e&2){let n=V(),i=V();X("removable",!0)("disabled",i.disabled),D(),Ie(" ",W(2,5,"diaryNotesPage.filters.author"),": "),D(2),_e("translate","no"),D(),Ee(W(5,7,n.author))}}function gme(e,t){if(e&1){let n=Ke();I(0,"mat-chip",4),de("removed",function(){ve(n);let i=V(2);return ye(i.onClearFilter("role"))}),B(1),H(2,"translate"),I(3,"span"),B(4),H(5,"translate"),H(6,"firstLetterUppercase"),N(),I(7,"button",5),he(8,"mat-icon",6),N()()}if(e&2){let n=V(),i=V();X("removable",!0)("disabled",i.disabled),D(),Ie(" ",W(2,5,"diaryNotesPage.filters.role"),": "),D(2),_e("translate","no"),D(),Ie("",W(6,9,W(5,7,"commons.roles."+n.role.toLowerCase()))," ")}}function vme(e,t){e&1&&B(0," , ")}function yme(e,t){if(e&1&&(B(0),H(1,"translate"),H(2,"firstLetterUppercase"),se(3,vme,1,0)),e&2){let n=t.$implicit,i=t.$index,a=t.$count;Ie(" ",W(2,4,W(1,2,"commons.tags."+n.toLowerCase()))," "),D(3),oe(i!==a-1?3:-1)}}function bme(e,t){if(e&1){let n=Ke();I(0,"mat-chip",4),de("removed",function(){ve(n);let i=V(2);return ye(i.onClearFilter("tags"))}),B(1),H(2,"translate"),I(3,"span"),Mi(4,yme,4,6,null,null,va),N(),I(6,"button",5),he(7,"mat-icon",6),N()()}if(e&2){let n=V(),i=V();X("removable",!0)("disabled",i.disabled),D(),Ie(" ",W(2,4,"diaryNotesPage.filters.tags"),":"),D(2),_e("translate","no"),D(),Pi(n==null?null:n.tags)}}function _me(e,t){if(e&1&&(B(0),H(1,"translate"),H(2,"date")),e&2){let n=V(2);_r(" ",W(1,2,"diaryNotesPage.filters.from")," : ",xr(2,4,n==null?null:n.dateRange.from,"dd/MM/yyyy")," ")}}function xme(e,t){if(e&1&&(B(0),H(1,"translate"),H(2,"date")),e&2){let n=V(2);_r(" ",W(1,2,"diaryNotesPage.filters.until")," : ",xr(2,4,n==null?null:n.dateRange.until,"dd/MM/yyyy")," ")}}function wme(e,t){if(e&1){let n=Ke();I(0,"mat-chip",4),de("removed",function(){ve(n);let i=V(2);return ye(i.onClearFilter("range"))}),se(1,_me,3,7)(2,xme,3,7),I(3,"button",5),he(4,"mat-icon",6),N()()}if(e&2){let n=V(),i=V();X("removable",!0)("disabled",i.disabled),D(),oe(n.dateRange.from?1:-1),D(),oe(n!=null&&n.dateRange.until?2:-1)}}function Sme(e,t){if(e&1&&(I(0,"mat-chip-set"),se(1,fme,8,9,"mat-chip",3)(2,gme,9,11,"mat-chip",3)(3,bme,8,6,"mat-chip",3)(4,wme,5,4,"mat-chip",3),N()),e&2){let n=t;D(),oe(n!=null&&n.author&&n.author!==""?1:-1),D(),oe(n!=null&&n.role&&n.role!==""?2:-1),D(),oe(n!=null&&n.tags&&n.tags.length>0?3:-1),D(),oe(n.dateRange.from||n!=null&&n.dateRange.until?4:-1)}}var kme=(()=>{const t=class t{constructor(){this.diarynoteService=S(Cs),this.destroyRef=S(Hi),this.dialog=S(Ar),this.activeFilters$=this.diarynoteService.filterState$.pipe(vc({refCount:!0,bufferSize:1}))}onShowFilterDialog(){this.dialog.open(mme,{data:{filterOptions:this.filterOptions,activeFilters$:this.activeFilters$}}).beforeClosed().pipe(oi(i=>i),wo(this.destroyRef)).subscribe(i=>{this.diarynoteService.updateFilter(i)})}onClearFilter(i){this.diarynoteService.clearFilterByKey(i)}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-diarynotes-filter-block"]],inputs:{filterOptions:"filterOptions",services:"services",disabled:"disabled"},decls:7,vars:7,consts:[[1,"filter-container"],["mat-stroked-button","",3,"click","disabled"],["fontIcon","tune"],[3,"removable","disabled"],[3,"removed","removable","disabled"],["matChipRemove",""],["fontIcon","close"]],template:function(i,a){if(i&1&&(I(0,"div",0)(1,"button",1),de("click",function(){return a.onShowFilterDialog()}),he(2,"mat-icon",2),B(3),H(4,"translate"),N(),se(5,Sme,5,4,"mat-chip-set"),H(6,"async"),N()),i&2){let r;D(),X("disabled",a.disabled),D(2),Ie(" ",W(4,3,"diaryNotesPage.filters.filter")," "),D(2),oe((r=W(6,5,a.activeFilters$))?5:-1,r)}},dependencies:[ba,xf,x1,_1,_a,Hn,npe,Xd,VS,ape],styles:[".filter-container[_ngcontent-%COMP%]{margin-bottom:1rem;display:flex;align-items:center}"]});let e=t;return e})(),Eme=["*"],Cme=new $("MAT_CARD_CONFIG"),Dme=(()=>{const t=class t{constructor(){o(this,"appearance");let i=S(Cme,{optional:!0});this.appearance=(i==null?void 0:i.appearance)||"raised"}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵcmp",Ce({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(i,a){i&2&&We("mat-mdc-card-outlined",a.appearance==="outlined")("mdc-card--outlined",a.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:Eme,decls:1,vars:0,template:function(i,a){i&1&&(Fi(),dt(0))},styles:[`.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-color:var(--mdc-elevated-card-container-color, var(--mat-sys-surface-container-low));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-sys-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-sys-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-sys-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-sys-corner-medium));border-width:var(--mdc-outlined-card-outline-width, 1px);border-color:var(--mdc-outlined-card-outline-color, var(--mat-sys-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-sys-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-sys-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-sys-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-sys-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-sys-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-sys-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-sys-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-sys-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-sys-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-sys-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-sys-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-sys-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}
|
|
54
|
+
`],encapsulation:2,changeDetection:0}));let e=t;return e})(),Ime=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}));let e=t;return e})(),Ame=(()=>{const t=class t{constructor(){o(this,"align","start")}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵdir",Se({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(i,a){i&2&&We("mat-mdc-card-actions-align-end",a.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"]}));let e=t;return e})(),Ome=(()=>{const t=class t{};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],decls:14,vars:14,consts:[["mat-dialog-title",""],["mat-button","","type","button",3,"mat-dialog-close"],["mat-flat-button","","type","button",3,"mat-dialog-close"]],template:function(i,a){i&1&&(I(0,"h2",0),B(1),H(2,"translate"),N(),I(3,"mat-dialog-content")(4,"p"),B(5),H(6,"translate"),N()(),I(7,"mat-dialog-actions")(8,"button",1),B(9),H(10,"translate"),N(),I(11,"button",2),B(12),H(13,"translate"),N()()),i&2&&(D(),Ee(W(2,6,"diaryNotesPage.delete-dialog.title")),D(4),Ee(W(6,8,"diaryNotesPage.delete-dialog.message")),D(3),X("mat-dialog-close",!1),D(),Ie(" ",W(10,10,"diaryNotesPage.delete-dialog.cancel")," "),D(2),X("mat-dialog-close",!0),D(),Ie(" ",W(13,12,"diaryNotesPage.delete-dialog.confirm")," "))},dependencies:[ll,cl,ba,_a,ol,sl],encapsulation:2});let e=t;return e})(),Tme=(()=>{const t=class t{constructor(){this.rolesMapData={patient:"patient",physician:"persphysician",midwife:"persmidwife",nurse:"persnurse",dentist:"persdentist",pharmacist:"perspharmacist"}}transform(i,a){return this.diaryNote!==i&&(this.diaryNote=i,this.user=a,this.setCanDelete()),this.canDelete}setCanDelete(){this.canDelete=this.diaryNote&&this.user?this.canDeleteDiaryNote(this.diaryNote):!1}canDeleteDiaryNote(i){var r,s,l,c,d,u,p,v,f;let a=this.user.organization?(r=this.user.organization[this.getOrganizationType(this.user.organization)])==null?void 0:r.nihii:void 0;return((s=i==null?void 0:i.source)==null?void 0:s.toLowerCase())==="vitalink"&&(i==null?void 0:i.status)==="completed"&&this.equalsCheck((l=i==null?void 0:i.author)==null?void 0:l.role,this.mapRole(this.user.role))&&(this.equalsCheck((c=i==null?void 0:i.author)==null?void 0:c.ssin,(d=this.user)==null?void 0:d.ssin)||this.equalsCheck((u=i==null?void 0:i.author)==null?void 0:u.nihdi,(p=this.user.professional)==null?void 0:p.nihii11)||this.equalsCheck((f=(v=i==null?void 0:i.author)==null?void 0:v.organization)==null?void 0:f.nihdi,a))}mapRole(i){return this.rolesMapData[i]||"patient"}equalsCheck(i,a){return i===a&&!!i}getOrganizationType(i){let a=["pharmacy"],r=null;return a.forEach(s=>{i[s]&&(r=s)}),r}};t.ɵfac=function(i){return new(i||t)},t.ɵpipe=xo({name:"canDeleteDiarynote",type:t,pure:!0});let e=t;return e})(),ZS=e=>({"strike-through":e}),Nme=e=>({count:e});function Rme(e,t){if(e&1&&(I(0,"span",1),B(1),H(2,"translate"),N()),e&2){let n=V().$implicit;D(),_r("",W(2,2,"diaryNotesPage.table.error")," ( ",n.id," )")}}function Mme(e,t){if(e&1&&(I(0,"mat-chip",6),B(1),H(2,"translate"),N()),e&2){let n=t.$implicit;X("disableRipple",!0),D(),Ie(" ",W(2,2,"commons.tags."+n)," ")}}function Pme(e,t){if(e&1&&(he(0,"dt",5),I(1,"dd")(2,"mat-chip-set"),Mi(3,Mme,3,4,"mat-chip",6,va),N()()),e&2){let n=V(2).$implicit;D(3),Pi(n.tags)}}function Fme(e,t){if(e&1){let n=Ke();I(0,"mat-chip",9),de("click",function(){let i=ve(n).$index,a=V(3).$implicit,r=V();return ye(r.onDownloadFile(a,i))}),he(1,"mat-icon",10),B(2),H(3,"attachementFilename"),N()}if(e&2){let n=t.$implicit,i=t.$index;D(2),Ie(" ",xr(3,1,n.contentType,i)," ")}}function Lme(e,t){if(e&1&&(I(0,"dt"),B(1),H(2,"translate"),N(),I(3,"dd",7),Mi(4,Fme,4,4,"mat-chip",8,va),N()),e&2){let n=V(2).$implicit,i=V();D(),Ee(xr(2,2,"diaryNotesPage.table.attachment",Pc(5,Nme,n.attachments.length))),D(2),X("ngClass",Pc(7,ZS,!i.diaryNoteCompleted(n.status))),D(),Pi(n.attachments)}}function Vme(e,t){if(e&1){let n=Ke();I(0,"button",11),de("click",function(){ve(n);let i=V(2).$implicit,a=V();return ye(a.onDeleteNote(i))}),he(1,"mat-icon",12),N()}}function zme(e,t){if(e&1&&(I(0,"dl"),se(1,Pme,5,0),I(2,"dt"),B(3),H(4,"translate"),N(),I(5,"dd"),B(6),H(7,"date"),N(),I(8,"dt"),B(9),H(10,"translate"),N(),I(11,"dd"),B(12),H(13,"firstLetterUppercase"),H(14,"firstLetterUppercase"),H(15,"translate"),H(16,"firstLetterUppercase"),N(),I(17,"dt"),B(18),H(19,"translate"),N(),he(20,"dd",2),H(21,"firstLetterUppercase"),se(22,Lme,6,9),N(),I(23,"mat-card-actions",3),se(24,Vme,2,0,"button",4),H(25,"canDeleteDiarynote"),N()),e&2){let n=V().$implicit,i=V();D(),oe((n.tags==null?null:n.tags.length)>0?1:-1),D(2),Ee(W(4,13,"diaryNotesPage.table.date")),D(3),Ee(xr(7,15,n.creation,"dd/MM/yyyy")),D(3),Ee(W(10,18,"diaryNotesPage.table.author")),D(2),_e("translate","no"),D(),e1(" ",W(13,20,n.author.lastName)," ",W(14,22,n.author.firstName)," (",W(16,26,W(15,24,"commons.roles."+n.author.role.toLowerCase())),") "),D(6),Ee(W(19,28,"diaryNotesPage.table.note")),D(2),X("ngClass",Pc(35,ZS,!i.diaryNoteCompleted(n.status)))("innerHTML",W(21,30,n.content),JQ),D(2),oe((n.attachments==null?null:n.attachments.length)>0?22:-1),D(2),oe(xr(25,32,n,i.userInfo)?24:-1)}}function jme(e,t){if(e&1&&(I(0,"mat-card")(1,"mat-card-content")(2,"div",0),se(3,Rme,3,4,"span",1)(4,zme,26,37),N()()()),e&2){let n=t.$implicit;D(3),oe(n!=null&&n.error?3:4)}}var Bme=(()=>{const t=class t{constructor(){this.diarynoteService=S(Cs),this.dialog=S(Ar),this.destroyRef=S(Hi)}diaryNoteCompleted(i){return Cs.isDiaryNoteCompleted(i)}onDownloadFile(i,a){this.diarynoteService.downloadSpecificDiaryNoteAttachment(i.id,i.version,i.source,i.subject.ssin,a)}onDeleteNote(i){this.dialog.open(Ome).beforeClosed().pipe(oi(a=>a),wo(this.destroyRef)).subscribe(()=>{this.diarynoteService.deleteDiaryNote(i.id,i.version,i.source,i.subject.ssin)})}};t.ɵfac=function(i){return new(i||t)},t.ɵcmp=Ce({type:t,selectors:[["vidis-diarynotes-table"]],inputs:{diaryNoteDataItems:"diaryNoteDataItems",services:"services",userInfo:"userInfo"},decls:2,vars:0,consts:[[1,"content-wrapper"],[1,"error-text"],[3,"ngClass","innerHTML"],["align","end"],["mat-icon-button","","aria-label","Delete"],[1,"no-colon"],[1,"mh-black","mh-no-overlay",3,"disableRipple"],[3,"ngClass"],["clickable",""],["clickable","",3,"click"],["aria-hidden","true","fontIcon","insert_drive_file"],["mat-icon-button","","aria-label","Delete",3,"click"],["fontIcon","delete"]],template:function(i,a){i&1&&Mi(0,jme,5,1,"mat-card",null,va),i&2&&Pi(a.diaryNoteDataItems)},dependencies:[Qs,x1,ba,xf,Dme,Ime,Hn,So,Ame,vpe,Tme,Xd],styles:['mat-card[_ngcontent-%COMP%]{margin-bottom:10px;box-sizing:border-box}.content-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}mat-card-actions[_ngcontent-%COMP%]{margin:0;padding:0;display:flex;align-items:center}.strike-through[_ngcontent-%COMP%], .strike-through[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{text-decoration:line-through!important}dl[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 1fr;column-gap:16px;row-gap:6px;align-items:center}dt[_ngcontent-%COMP%]{font-weight:700;margin:0;position:relative}dt[_ngcontent-%COMP%]:not(.no-colon):after{content:":";position:absolute;right:-8px}dd[_ngcontent-%COMP%]{margin:0}']});let e=t;return e})(),Hme=()=>[10,25,50],$me=e=>({addNote:e}),qme=()=>({height:"47px",margin:"0"});function Ume(e,t){e&1&&(I(0,"div"),B(1,"Component not properly initialized!"),N())}function Gme(e,t){if(e&1){let n=Ke();I(0,"div",2),he(1,"vidis-diarynotes-filter-block",5),I(2,"vidis-sort-dropdown",6),de("sortDataChange",function(i){ve(n);let a=V(3);return ye(a.handleSortEvent(i))}),N()()}if(e&2){let n=V(),i=V(2);D(),X("filterOptions",n.data==null?null:n.data.availableFilters)("services",i.services)("disabled",n.status===i.loadingStatus.LOADING),D(),X("sortItems",i.sortDropdownData)("sortData",i.sortDataState())("disabled",n.status===i.loadingStatus.LOADING)}}function Yme(e,t){if(e&1&&he(0,"vidis-status-message",3),e&2){let n=V();X("error",n.error)}}function Wme(e,t){if(e&1&&he(0,"vidis-error-display",8),e&2){let n=t.$implicit;X("message",n.code)}}function Kme(e,t){if(e&1&&Mi(0,Wme,1,1,"vidis-error-display",8,va),e&2){let n=V(2);Pi(n.data==null?null:n.data.errors)}}function Zme(e,t){if(e&1){let n=Ke();he(0,"vidis-diarynotes-table",9),I(1,"mat-paginator",10),H(2,"async"),de("page",function(i){ve(n);let a=V(4);return ye(a.handlePageEvent(i))}),N()}if(e&2){let n=V(2),i=V(2);X("diaryNoteDataItems",n.data==null?null:n.data.items)("services",i.services)("userInfo",i.userInfo),D(),X("length",n.data==null?null:n.data.totalItems)("pageSize",W(2,8,i.paginationState$).pageSize)("pageIndex",n.data==null?null:n.data.page)("pageSizeOptions",a1(10,Hme))("disabled",(n.data==null?null:n.data.totalItems)<=0)}}function Xme(e,t){e&1&&(I(0,"h3"),B(1),H(2,"translate"),N(),I(3,"div",11)(4,"p",12),B(5),H(6,"translate"),he(7,"br"),B(8),H(9,"translate"),H(10,"translate"),N(),I(11,"p",12),B(12),H(13,"translate"),he(14,"br"),B(15),H(16,"translate"),he(17,"br"),B(18),H(19,"translate"),he(20,"br"),B(21),H(22,"translate"),N()()),e&2&&(D(),Ee(W(2,7,"diaryNotesPage.noDiaryNotes")),D(4),Ie(" ",W(6,9,"diaryNotesPage.noNote.part1"),""),D(3),Ie(" ",xr(10,13,"diaryNotesPage.noNote.part2",Pc(24,$me,W(9,11,"diaryNotesPage.table.addNote")))," "),D(4),Ie(" ",W(13,16,"diaryNotesPage.noNote.part3")," :"),D(3),Ie(" ",W(16,18,"diaryNotesPage.noNote.part4"),""),D(3),Ie(" ",W(19,20,"diaryNotesPage.noNote.part5"),""),D(3),Ie(" ",W(22,22,"diaryNotesPage.noNote.part6")," "))}function Qme(e,t){if(e&1){let n=Ke();I(0,"p",7)(1,"span"),B(2),H(3,"translate"),N(),I(4,"button",13),de("click",function(){ve(n);let i=V(4);return ye(i.clearAllFilters())}),B(5),H(6,"translate"),N()()}e&2&&(D(2),Ee(W(3,2,"diaryNotesPage.filters.nonefound")),D(3),Ie(" ",W(6,4,"diaryNotesPage.filters.clearfilters")," "))}function Jme(e,t){if(e&1&&(se(0,Kme,2,0)(1,Zme,3,11),H(2,"async"),se(3,Xme,23,26)(4,Qme,7,6,"p",7)),e&2){let n=V(),i=V(2);oe(!(n.data==null||n.data.errors==null)&&n.data.errors.length?0:-1),D(),oe((n.data==null?null:n.data.totalItems)>0?1:W(2,2,i.isFilterEmpty$)?3:4)}}function efe(e,t){e&1&&he(0,"ngx-skeleton-loader",4),e&2&&X("count",10)("theme",a1(2,qme))}function tfe(e,t){if(e&1){let n=Ke();I(0,"div")(1,"button",0),de("click",function(){ve(n);let i=V(2);return ye(i.onAddNote())}),I(2,"mat-icon",1),B(3,"add_circle"),N(),B(4),H(5,"translate"),N()(),se(6,Gme,3,6,"div",2),H(7,"async"),se(8,Yme,1,1,"vidis-status-message",3)(9,Jme,5,4)(10,efe,1,3,"ngx-skeleton-loader",4)}if(e&2){let n,i=t,a=V(2);D(),X("disabled",i.status===a.loadingStatus.LOADING),D(3),Ie(" ",W(5,4,"diaryNotesPage.table.addNote")," "),D(2),oe((i.data==null?null:i.data.totalItems)>0||W(7,6,a.isFilterEmpty$)===!1?6:-1),D(2),oe((n=i.status)===a.loadingStatus.ERROR?8:n===a.loadingStatus.SUCCESS?9:n===a.loadingStatus.LOADING?10:-1)}}function ife(e,t){if(e&1&&(se(0,tfe,11,8),H(1,"async"),I(2,"span"),B(3),H(4,"translate"),N()),e&2){let n,i=V();oe((n=W(1,2,i.diarynotesState$))?0:-1,n),D(3),Ee(W(4,4,"diaryNotesPage.disclaimer"))}}var afe=(()=>{const t=class t extends xhe{constructor(){super(...arguments),this.dialog=S(Ar),this.getTotalItems=new ce,this.extraRequiredFields=["professional","ssin","offlineDataStorageEnabled","isOfflineAuthenticated","exchangeClientId"],this.loadingStatus=Pn,this.sortDropdownData=["date","author","role"]}fetchData(i){return Et(this,null,function*(){return this.diarynoteService.setClientId(this.exchangeClientId),this.diarynoteService.fetchDiarynotes(i)})}onAddNote(){this.dialog.open(gpe).beforeClosed().pipe(oi(i=>i),wo(this.destroyRef)).subscribe(i=>{this.diarynoteService.postDiarynote(i.text,i.file)})}clearAllFilters(){this.diarynoteService.clearFilter()}handlePageEvent(i){let a={page:i.pageIndex,pageSize:i.pageSize};this.diarynoteService.updatePagination(a)}handleSortEvent(i){this.diarynoteService.updateSorting(i)}injectService(){this.authServiceSelector.getInstance().resolveUserInfo().then(i=>{this.userInfo=i}).catch(i=>console.error("Failed to load user info",i)),this.diarynoteService=this.injector.get(Cs),this.diarynotesState$=this.diarynoteService.diarynotesState$,this.paginationState$=this.diarynoteService.paginationState$,gd(this.injector,()=>{this.sortDataState=gre(this.diarynoteService.sortState$)}),this.isFilterEmpty$=this.diarynoteService.filterState$.pipe(Dt(i=>!i.dateRange.from&&!i.dateRange.until&&!i.author&&!i.role&&(!i.tags||i.tags.length===0))),this.diarynoteService.diarynotesState$.pipe(Dt(i=>{var a;return((a=i==null?void 0:i.data)==null?void 0:a.totalItems)??0})).subscribe(i=>this.getTotalItems.emit(i)),this.diarynotesState$.subscribe(i=>{this.checkError(i.error)})}};t.ɵfac=(()=>{let i;return function(a){return(i||(i=Qt(t)))(a||t)}})(),t.ɵcmp=Ce({type:t,selectors:[["ng-component"]],inputs:{exchangeClientId:"exchangeClientId"},outputs:{getTotalItems:"getTotalItems"},features:[bi([Cs,MS,FS,Zhe]),Pt],decls:2,vars:1,consts:[["mat-button","","color","primary",3,"click","disabled"],[1,"mr-2"],[1,"filter-container"],[3,"error"],[3,"count","theme"],[3,"filterOptions","services","disabled"],[3,"sortDataChange","sortItems","sortData","disabled"],[1,"text-center"],[3,"message"],[3,"diaryNoteDataItems","services","userInfo"],["showFirstLastButtons","",3,"page","length","pageSize","pageIndex","pageSizeOptions","disabled"],[1,"no-diary-notes__content"],[1,"description"],["mat-button","",3,"click"]],template:function(i,a){i&1&&se(0,Ume,2,0,"div")(1,ife,5,6),i&2&&oe(a.isCorrectlySetup()?1:0)},dependencies:[hce,_a,Hn,Bme,kme,Ehe,Bhe,jhe,ba,_1,Phe,pce],styles:["@media only screen and (min-width: 960px){.filter-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}div[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}}.text-center[_ngcontent-%COMP%]{text-align:center}.no-diary-notes[_ngcontent-%COMP%]{background:#fff;padding:40px;border-radius:8px;position:relative}.no-diary-notes__content[_ngcontent-%COMP%]{margin-top:30px;border-left:8px solid #2473db;padding-left:30px}.no-diary-notes__content[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{max-width:50%}"]});let e=t;return e})(),XS={};Ae(XS,{default:()=>nfe,friday:()=>ik,monday:()=>QS,saturday:()=>ak,sunday:()=>nk,thursday:()=>tk,tuesday:()=>JS,wednesday:()=>ek});var QS="Montag",JS="Dienstag",ek="Mittwoch",tk="Donnerstag",ik="Freitag",ak="Samstag",nk="Sonntag",nfe={monday:QS,tuesday:JS,wednesday:ek,thursday:tk,friday:ik,saturday:ak,sunday:nk},rk={};Ae(rk,{default:()=>rfe,friday:()=>dk,monday:()=>ok,saturday:()=>uk,sunday:()=>hk,thursday:()=>ck,tuesday:()=>sk,wednesday:()=>lk});var ok="Monday",sk="Tuesday",lk="Wednesday",ck="Thursday",dk="Friday",uk="Saturday",hk="Sunday",rfe={monday:ok,tuesday:sk,wednesday:lk,thursday:ck,friday:dk,saturday:uk,sunday:hk},pk={};Ae(pk,{default:()=>ofe,friday:()=>yk,monday:()=>mk,saturday:()=>bk,sunday:()=>_k,thursday:()=>vk,tuesday:()=>fk,wednesday:()=>gk});var mk="Lundi",fk="Mardi",gk="Mercredi",vk="Jeudi",yk="Vendredi",bk="Samedi",_k="Dimanche",ofe={monday:mk,tuesday:fk,wednesday:gk,thursday:vk,friday:yk,saturday:bk,sunday:_k},xk={};Ae(xk,{default:()=>sfe,friday:()=>Ck,monday:()=>wk,saturday:()=>Dk,sunday:()=>Ik,thursday:()=>Ek,tuesday:()=>Sk,wednesday:()=>kk});var wk="Maandag",Sk="Dinsdag",kk="Woensdag",Ek="Donderdag",Ck="Vrijdag",Dk="Zaterdag",Ik="Zondag",sfe={monday:wk,tuesday:Sk,wednesday:kk,thursday:Ek,friday:Ck,saturday:Dk,sunday:Ik},lfe={nl:xk,fr:pk,de:XS,en:rk},Ak={};Ae(Ak,{VIDIS_0035:()=>Ok,VIDIS_0050:()=>Tk,VIDIS_0090:()=>Nk,VIDIS_0100:()=>lE,VIDIS_0110:()=>dE,VIDIS_0120:()=>cE,VIDIS_0121:()=>Rk,VIDIS_0122:()=>Mk,VIDIS_0123:()=>Pk,VIDIS_0124:()=>Fk,VIDIS_0125:()=>Lk,VIDIS_0126:()=>Vk,VIDIS_0131:()=>zk,VIDIS_0132:()=>jk,VIDIS_0133:()=>Bk,VIDIS_0134:()=>Hk,VIDIS_0135:()=>$k,VIDIS_0136:()=>qk,VIDIS_0190:()=>Uk,VIDIS_0200:()=>uE,VIDIS_0210:()=>Gk,VIDIS_0211:()=>Yk,VIDIS_0230:()=>Wk,VIDIS_0290:()=>Kk,VIDIS_0330:()=>Zk,VIDIS_0340:()=>hE,VIDIS_0341:()=>pE,VIDIS_0400:()=>oE,VIDIS_04001:()=>mE,VIDIS_0435:()=>Xk,VIDIS_0440:()=>Qk,VIDIS_3030:()=>sE,VIDIS_3090:()=>iE,VIDIS_3100:()=>nE,VIDIS_3120:()=>rE,VIDIS_3140:()=>aE,VIDIS_3150:()=>tE,VIDIS_5000:()=>Jk,VIDIS_7000:()=>eE,"action-not-authorized-close-button":()=>PE,"action-not-authorized-title":()=>ME,"data-not-available-title":()=>RE,default:()=>cfe,general:()=>gE,"has-hidden-prescriptions":()=>kE,invalid_date_format:()=>xE,myHealth:()=>yE,myHealthUrl:()=>bE,network_error:()=>_E,"no-access":()=>vE,prescriptionList:()=>fE,"report-message-confirm-toast":()=>NE,"report-message-content":()=>DE,"report-message-explanation":()=>CE,"report-message-ignore-button":()=>TE,"report-message-link":()=>AE,"report-message-report-button":()=>OE,"report-message-term-use":()=>IE,"report-message-title":()=>EE,"status-message-content":()=>SE,"status-message-title":()=>wE});var Ok="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",Tk="Die Patienten-INSS fehlt. (VIDIS_0050)",Nk="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",Rk="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",Mk="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",Pk="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",Fk="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",Lk="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",Vk="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",zk="Der Zugriff auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",jk="Der Zugriff auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",Bk="Der Zugriff eines Elternteils auf die Daten eines Brüsseler Kindes ist derzeit nicht erlaubt.",Hk="Der Zugriff eines Elternteils auf die Daten eines wallonischen Kindes ist derzeit nicht erlaubt.",$k="Der Zugriff eines Bevollmächtigten auf die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",qk="Der Zugriff eines Bevollmächtigten auf die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",Uk="Ungültige INSS-Patientennummer. (VIDIS_0190)",Gk="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",Yk="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",Wk="Der Vorgang ist ungültig (VIDIS_0230)",Kk='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',Zk="Ihre Authentifizierungsstufe erlaubt keinen Zugriff auf diese Seite. Bitte melden Sie sich mit einem anderen Authentifizierungsmittel an (itsme, eID oder mit einem per E-Mail oder App verschickten Sicherheitscode). (VIDIS_0330)",Xk="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",Qk="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",Jk="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",eE="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",tE="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",iE="Das Rezept ist abgelaufen.",aE="Reservierungen müssen bei derselben Apotheke erfolgen wie die, bei der das Visi-Flag gesetzt wurde. Sie können das Visi-Flag auch offen lassen.",nE="Das Visi-Flag muss auf dieselbe Apotheke gesetzt sein, bei der Sie reserviert haben.",rE="Der Patient in der Sitzung ist nicht derselbe wie der Patient in der Anfrage.",oE="Der Benutzer ist nicht berechtigt, die Anfrage zu stellen.",sE="Kein Mandat zwischen Patient und Bevollmächtigtem gefunden.",lE="Vorgang nicht erlaubt.",cE="Es besteht keine therapeutische Beziehung zwischen Anfragendem und Patient.",dE="Keine Zustimmung zur Weitergabe von Gesundheitsdaten.",uE="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen.",hE="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, da Ihr Visum nicht aktiv ist. Bitte wenden Sie sich per E-Mail unter visa@health.belgium.be an den FÖD Gesundheit.",pE="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, entweder weil Ihr Visum nicht aktiv ist, bitte wenden Sie sich in diesem Fall per E-Mail an den FÖD Gesundheit unter visa@health.belgium.be, oder weil die LIKIV-Nummer der Apotheke ungültig ist, bitte kontaktieren Sie in diesem Fall das LIKIV per E-Mail unter dossierpharma@riziv-inami.fgov.be.",mE="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später erneut.",fE="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",gE="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",vE="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",yE="Zurück zum Portal Meine Gesundheit",bE="https://wwwint.meinegesundheit.belgien.be/#/",_E="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",xE="Ungültiges Datumsformat.",wE="Dienst vorübergehend nicht verfügbar",SE=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
|
|
55
|
+
Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,kE="Der Patient hat ein oder mehrere Verschreibungen ausgeblendet.",EE="Technisches Problem",CE="Bitte versuchen Sie es später noch einmal.",DE="Helfen Sie uns, das Problem zu identifizieren und zu lösen. Mit dem Melden akzeptieren Sie ",IE="unsere Nutzungsbedingungen",AE="https://www.riziv.fgov.be/nl/pagina/datenschutzerklarung-der-mobilen-anwendung-meinegesundheit",OE="Problem melden",TE="Nicht melden",NE="Das Problem wurde gemeldet",RE="Daten nicht verfügbar",ME="Aktion nicht erlaubt",PE="Schließen",cfe={VIDIS_0035:Ok,VIDIS_0050:Tk,VIDIS_0090:Nk,VIDIS_0121:Rk,VIDIS_0122:Mk,VIDIS_0123:Pk,VIDIS_0124:Fk,VIDIS_0125:Lk,VIDIS_0126:Vk,VIDIS_0131:zk,VIDIS_0132:jk,VIDIS_0133:Bk,VIDIS_0134:Hk,VIDIS_0135:$k,VIDIS_0136:qk,VIDIS_0190:Uk,VIDIS_0210:Gk,VIDIS_0211:Yk,VIDIS_0230:Wk,VIDIS_0290:Kk,VIDIS_0330:Zk,VIDIS_0435:Xk,VIDIS_0440:Qk,VIDIS_5000:Jk,VIDIS_7000:eE,VIDIS_3150:tE,VIDIS_3090:iE,VIDIS_3140:aE,VIDIS_3100:nE,VIDIS_3120:rE,VIDIS_0400:oE,VIDIS_3030:sE,VIDIS_0100:lE,VIDIS_0120:cE,VIDIS_0110:dE,VIDIS_0200:uE,VIDIS_0340:hE,VIDIS_0341:pE,VIDIS_04001:mE,prescriptionList:fE,general:gE,"no-access":vE,myHealth:yE,myHealthUrl:bE,network_error:_E,invalid_date_format:xE,"status-message-title":wE,"status-message-content":SE,"has-hidden-prescriptions":kE,"report-message-title":EE,"report-message-explanation":CE,"report-message-content":DE,"report-message-term-use":IE,"report-message-link":AE,"report-message-report-button":OE,"report-message-ignore-button":TE,"report-message-confirm-toast":NE,"data-not-available-title":RE,"action-not-authorized-title":ME,"action-not-authorized-close-button":PE},FE={};Ae(FE,{VIDIS_0035:()=>LE,VIDIS_0050:()=>VE,VIDIS_0090:()=>zE,VIDIS_0100:()=>fC,VIDIS_0110:()=>vC,VIDIS_0120:()=>gC,VIDIS_0121:()=>jE,VIDIS_0122:()=>BE,VIDIS_0123:()=>HE,VIDIS_0124:()=>$E,VIDIS_0125:()=>qE,VIDIS_0126:()=>UE,VIDIS_0131:()=>GE,VIDIS_0132:()=>YE,VIDIS_0133:()=>WE,VIDIS_0134:()=>KE,VIDIS_0135:()=>ZE,VIDIS_0136:()=>XE,VIDIS_0190:()=>QE,VIDIS_0200:()=>yC,VIDIS_0210:()=>JE,VIDIS_0211:()=>eC,VIDIS_0230:()=>tC,VIDIS_0290:()=>iC,VIDIS_0330:()=>aC,VIDIS_0340:()=>bC,VIDIS_0341:()=>_C,VIDIS_0400:()=>pC,VIDIS_04001:()=>xC,VIDIS_0435:()=>nC,VIDIS_0440:()=>rC,VIDIS_3030:()=>mC,VIDIS_3090:()=>cC,VIDIS_3100:()=>uC,VIDIS_3120:()=>hC,VIDIS_3140:()=>dC,VIDIS_3150:()=>lC,VIDIS_5000:()=>oC,VIDIS_7000:()=>sC,"action-not-authorized-close-button":()=>HC,"action-not-authorized-title":()=>BC,"data-not-available-title":()=>jC,default:()=>dfe,general:()=>SC,"has-hidden-prescriptions":()=>TC,invalid_date_format:()=>IC,myHealth:()=>EC,myHealthUrl:()=>CC,network_error:()=>DC,"no-access":()=>kC,prescriptionList:()=>wC,"report-message-confirm-toast":()=>zC,"report-message-content":()=>MC,"report-message-explanation":()=>RC,"report-message-ignore-button":()=>VC,"report-message-link":()=>FC,"report-message-report-button":()=>LC,"report-message-term-use":()=>PC,"report-message-title":()=>NC,"status-message-content":()=>OC,"status-message-title":()=>AC});var LE="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",VE="The patient's NISS number is missing (VIDIS_0050)",zE="The personal information provided was not recognised. (VIDIS_0090)",jE="Consulting data of a Brussels patient is currently not authorised.",BE="Consulting data of a Walloon patient is currently not authorised.",HE="Consulting data of a Brussels child by a parent is currently not authorised.",$E="Consulting data of a Walloon child by a parent is currently not authorised.",qE="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",UE="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",GE="Access to the data of a Brussels patient is currently not permitted.",YE="Access to the data of a Walloon patient is currently not permitted.",WE="A parent’s access to the data of a Brussels child is currently not permitted.",KE="A parent’s access to the data of a Walloon child is currently not permitted.",ZE="A representative’s access to the data of a Brussels patient is currently not permitted.",XE="A representative’s access to the data of a Walloon patient is currently not permitted.",QE="The patient's NISS number is invalid. (VIDIS_0190)",JE="The login was unsuccessful. Please try again. (VIDIS_0210)",eC="The login was unsuccessful. Please try again. (VIDIS_0211)",tC="The request is invalid. (VIDIS_0230)",iC="User role must be citizen. (VIDIS_0290)",aC="Your authentication level is insufficient to access this page. Please authenticate by using other means (itsme, eID or a security code sent via email or an app). (VIDIS_0330)",nC="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",rC="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",oC="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",sC="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",lC="No mandate found between patient and mandateholder.",cC="Prescription has expired.",dC="Reservations must be made at the same pharmacy as the pharmacy for which you have set your visi-flag to be able to collect your medication. You can also leave your visi-flag unset or open.",uC="The vision-flag must be set to the same pharmacy as the pharmacy where you have reserved.",hC="The patient in the session is different from the patient in the request.",pC="User is not authorized to make the request.",mC="No mandate found between patient and mandateholder.",fC="Operation is not allowed.",gC="A therapeutic relation between the requester and the patient is not available.",vC="There is no consent to share personal health information.",yC="User is not allowed to perform the operation due to an exclusion between requester and patient.",bC="You are not authorized to consult this patient’s data because your visa is not active. Please contact the FPS Public Health at: visa@health.belgium.be",_C="You are not authorized to consult this patient’s data. - Either your visa is not active. Please contact the FPS Public Health via: visa@health.belgium.be - Or the NIHDI number of the pharmacy is invalid. In that case, please contact NIHDI via: dossierpharma@riziv-inami.fgov.be",xC="Your request is invalid. Please try again later.",wC="Unfortunately the details of the prescription could not be retrieved. Please try again.",SC="An internal technical error has occured. Please try again later.",kC="An internal technical error has occured. Please try again later.",EC="Back to the MyHealth portal.",CC="https://www.myhealth.belgium.be/",DC="A network error unfortunately has occured. Please contact your network manager if the problem persists.",IC="Invalid date format.",AC="Service temporarily unavailable",OC=`We are currently having a problem connecting to the server.
|
|
56
|
+
Please try again later.`,TC="The patient has hidden one or more prescriptions.",NC="Technical problem",RC="Please try again later.",MC="Help us identify and resolve the issue. By reporting it, you accept ",PC="our terms of use",FC="https://www.riziv.fgov.be/nl/pagina/privacy-statement-for-the-mobile-application-myhealth",LC="Report the problem",VC="Don't report",zC="The problem has been reported",jC="Data not available",BC="Action not authorized",HC="Close",dfe={VIDIS_0035:LE,VIDIS_0050:VE,VIDIS_0090:zE,VIDIS_0121:jE,VIDIS_0122:BE,VIDIS_0123:HE,VIDIS_0124:$E,VIDIS_0125:qE,VIDIS_0126:UE,VIDIS_0131:GE,VIDIS_0132:YE,VIDIS_0133:WE,VIDIS_0134:KE,VIDIS_0135:ZE,VIDIS_0136:XE,VIDIS_0190:QE,VIDIS_0210:JE,VIDIS_0211:eC,VIDIS_0230:tC,VIDIS_0290:iC,VIDIS_0330:aC,VIDIS_0435:nC,VIDIS_0440:rC,VIDIS_5000:oC,VIDIS_7000:sC,VIDIS_3150:lC,VIDIS_3090:cC,VIDIS_3140:dC,VIDIS_3100:uC,VIDIS_3120:hC,VIDIS_0400:pC,VIDIS_3030:mC,VIDIS_0100:fC,VIDIS_0120:gC,VIDIS_0110:vC,VIDIS_0200:yC,VIDIS_0340:bC,VIDIS_0341:_C,VIDIS_04001:xC,prescriptionList:wC,general:SC,"no-access":kC,myHealth:EC,myHealthUrl:CC,network_error:DC,invalid_date_format:IC,"status-message-title":AC,"status-message-content":OC,"has-hidden-prescriptions":TC,"report-message-title":NC,"report-message-explanation":RC,"report-message-content":MC,"report-message-term-use":PC,"report-message-link":FC,"report-message-report-button":LC,"report-message-ignore-button":VC,"report-message-confirm-toast":zC,"data-not-available-title":jC,"action-not-authorized-title":BC,"action-not-authorized-close-button":HC},$C={};Ae($C,{VIDIS_0035:()=>qC,VIDIS_0050:()=>UC,VIDIS_0090:()=>GC,VIDIS_0100:()=>wD,VIDIS_0110:()=>kD,VIDIS_0120:()=>SD,VIDIS_0121:()=>YC,VIDIS_0122:()=>WC,VIDIS_0123:()=>KC,VIDIS_0124:()=>ZC,VIDIS_0125:()=>XC,VIDIS_0126:()=>QC,VIDIS_0131:()=>JC,VIDIS_0132:()=>eD,VIDIS_0133:()=>tD,VIDIS_0134:()=>iD,VIDIS_0135:()=>aD,VIDIS_0136:()=>nD,VIDIS_0190:()=>rD,VIDIS_0200:()=>ED,VIDIS_0210:()=>oD,VIDIS_0211:()=>sD,VIDIS_0230:()=>lD,VIDIS_0290:()=>cD,VIDIS_0330:()=>dD,VIDIS_0340:()=>CD,VIDIS_0341:()=>DD,VIDIS_0400:()=>_D,VIDIS_04001:()=>ID,VIDIS_0435:()=>uD,VIDIS_0440:()=>hD,VIDIS_3030:()=>xD,VIDIS_3090:()=>gD,VIDIS_3100:()=>yD,VIDIS_3120:()=>bD,VIDIS_3140:()=>vD,VIDIS_3150:()=>fD,VIDIS_5000:()=>pD,VIDIS_7000:()=>mD,"action-not-authorized-close-button":()=>KD,"action-not-authorized-title":()=>WD,"data-not-available-title":()=>YD,default:()=>ufe,general:()=>OD,"has-hidden-prescriptions":()=>VD,invalid_date_format:()=>PD,myHealth:()=>ND,myHealthUrl:()=>RD,network_error:()=>MD,"no-access":()=>TD,prescriptionList:()=>AD,"report-message-confirm-toast":()=>GD,"report-message-content":()=>BD,"report-message-explanation":()=>jD,"report-message-ignore-button":()=>UD,"report-message-link":()=>$D,"report-message-report-button":()=>qD,"report-message-term-use":()=>HD,"report-message-title":()=>zD,"status-message-content":()=>LD,"status-message-title":()=>FD});var qC="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",UC="Le NISS du patient est manquant. (VIDIS_0050)",GC="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",YC="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",WC="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",KC="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",ZC="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",XC="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",QC="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",JC="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",eD="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",tD="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",iD="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",aD="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",nD="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",rD="Le NISS du patient n’est pas valide. (VIDIS_0190)",oD="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",sD="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",lD="L’opération n’est pas valide. (VIDIS_0230)",cD="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",dD="Votre niveau d’authentification ne vous permet pas d’accéder à cette page. Veuillez vous connecter avec un autre moyen d’authentification (itsme, eID ou code de sécurité envoyé par e-mail ou via app). (VIDIS_0330)",uD="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",hD="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",pD="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",mD="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",fD="Aucun mandat trouvé entre le patient et le mandataire.",gD="L’ordonnance est expirée.",vD="Les réservations doivent être faites auprès de la même pharmacie que celle pour laquelle vous avez défini votre visi-flag. Vous pouvez également laisser le visi-flag vide ou ouvert.",yD="Le visi-flag doit être défini pour la même pharmacie que celle auprès de laquelle vous avez réservé.",bD="Le patient dans la session est différent de celui dans la demande.",_D="L’utilisateur n’est pas autorisé à effectuer la requête.",xD="Aucun mandat trouvé entre le patient et le mandataire.",wD="Opération non autorisée.",SD="Aucune relation thérapeutique entre le demandeur et le patient.",kD="Aucun consentement au partage des données de santé.",ED="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient",CD="Vous n’êtes pas autorisé à consulter les données de ce patient parce que votre visa n’est pas actif. Veuillez prendre contact avec le SPF Santé publique à l’adresse e-mail suivante : visa@health.belgium.be",DD="Vous n’êtes pas autorisé à consulter les données de ce patient. - Soit votre visa n’est pas actif. Veuillez prendre contact avec le SPF Santé publique via l’adresse e-mail suivante : visa@health.belgium.be - Soit le numéro INAMI de la pharmacie n’est pas valide. Veuillez dans ce cas contacter l’INAMI à l’adresse e-mail dossierpharma@riziv-inami.fgov.be",ID="Votre requête est invalide. Veuillez réessayer plus tard.",AD="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",OD="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",TD="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",ND="Revenir au portail MaSanté",RD="https://wwwint.masante.belgique.be/#/",MD="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",PD="Le format de date est invalide.",FD="Service temporairement indisponible",LD=`Nous rencontrons actuellement un problème de connexion au serveur.
|
|
57
|
+
Veuillez réessayer plus tard.`,VD="Le patient a masqué une ou plusieurs prescriptions.",zD="Problème technique",jD="Veuillez réessayer plus tard.",BD="Aidez-nous à identifier et résoudre le problème. En le signalant vous acceptez nos ",HD="conditions d'utilisation",$D="https://www.riziv.fgov.be/fr/page/declaration-de-confidentialite-application-mobile-masante",qD="Signaler le problème",UD="Ignorer",GD="Le problème a été signalé",YD="Données non disponibles",WD="Action non autorisée",KD="Fermer",ufe={VIDIS_0035:qC,VIDIS_0050:UC,VIDIS_0090:GC,VIDIS_0121:YC,VIDIS_0122:WC,VIDIS_0123:KC,VIDIS_0124:ZC,VIDIS_0125:XC,VIDIS_0126:QC,VIDIS_0131:JC,VIDIS_0132:eD,VIDIS_0133:tD,VIDIS_0134:iD,VIDIS_0135:aD,VIDIS_0136:nD,VIDIS_0190:rD,VIDIS_0210:oD,VIDIS_0211:sD,VIDIS_0230:lD,VIDIS_0290:cD,VIDIS_0330:dD,VIDIS_0435:uD,VIDIS_0440:hD,VIDIS_5000:pD,VIDIS_7000:mD,VIDIS_3150:fD,VIDIS_3090:gD,VIDIS_3140:vD,VIDIS_3100:yD,VIDIS_3120:bD,VIDIS_0400:_D,VIDIS_3030:xD,VIDIS_0100:wD,VIDIS_0120:SD,VIDIS_0110:kD,VIDIS_0200:ED,VIDIS_0340:CD,VIDIS_0341:DD,VIDIS_04001:ID,prescriptionList:AD,general:OD,"no-access":TD,myHealth:ND,myHealthUrl:RD,network_error:MD,invalid_date_format:PD,"status-message-title":FD,"status-message-content":LD,"has-hidden-prescriptions":VD,"report-message-title":zD,"report-message-explanation":jD,"report-message-content":BD,"report-message-term-use":HD,"report-message-link":$D,"report-message-report-button":qD,"report-message-ignore-button":UD,"report-message-confirm-toast":GD,"data-not-available-title":YD,"action-not-authorized-title":WD,"action-not-authorized-close-button":KD},ZD={};Ae(ZD,{VIDIS_0035:()=>XD,VIDIS_0050:()=>QD,VIDIS_0090:()=>JD,VIDIS_0100:()=>AI,VIDIS_0110:()=>TI,VIDIS_0120:()=>OI,VIDIS_0121:()=>eI,VIDIS_0122:()=>tI,VIDIS_0123:()=>iI,VIDIS_0124:()=>aI,VIDIS_0125:()=>nI,VIDIS_0126:()=>rI,VIDIS_0131:()=>oI,VIDIS_0132:()=>sI,VIDIS_0133:()=>lI,VIDIS_0134:()=>cI,VIDIS_0135:()=>dI,VIDIS_0136:()=>uI,VIDIS_0190:()=>hI,VIDIS_0200:()=>NI,VIDIS_0210:()=>pI,VIDIS_0211:()=>mI,VIDIS_0230:()=>fI,VIDIS_0290:()=>gI,VIDIS_0330:()=>vI,VIDIS_0340:()=>RI,VIDIS_0341:()=>MI,VIDIS_0400:()=>DI,VIDIS_04001:()=>PI,VIDIS_0435:()=>yI,VIDIS_0440:()=>bI,VIDIS_3030:()=>II,VIDIS_3090:()=>SI,VIDIS_3100:()=>EI,VIDIS_3120:()=>CI,VIDIS_3140:()=>kI,VIDIS_3150:()=>wI,VIDIS_5000:()=>_I,VIDIS_7000:()=>xI,"action-not-authorized-close-button":()=>i2,"action-not-authorized-title":()=>t2,"data-not-available-title":()=>e2,default:()=>hfe,general:()=>LI,"has-hidden-prescriptions":()=>UI,invalid_date_format:()=>HI,myHealth:()=>zI,myHealthUrl:()=>jI,network_error:()=>BI,"no-access":()=>VI,prescriptionList:()=>FI,"report-message-confirm-toast":()=>JI,"report-message-content":()=>WI,"report-message-explanation":()=>YI,"report-message-ignore-button":()=>QI,"report-message-link":()=>ZI,"report-message-report-button":()=>XI,"report-message-term-use":()=>KI,"report-message-title":()=>GI,"status-message-content":()=>qI,"status-message-title":()=>$I});var XD="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",QD="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",JD="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",eI="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",tI="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",iI="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",aI="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",nI="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",rI="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",oI="Het raadplegen van de gegevens van een Brusselse patiënt is momenteel niet toegestaan.",sI="Het raadplegen van de gegevens van een Waalse patiënt is momenteel niet toegestaan.",lI="Het raadplegen van de gegevens van een Brussels kind door een ouder is momenteel niet toegestaan.",cI="Het raadplegen van de gegevens van een Waals kind door een ouder is momenteel niet toegestaan.",dI="Het raadplegen van de gegevens van een Brusselse patiënt door een gemachtigde is momenteel niet toegestaan.",uI="Het raadplegen van de gegevens van een Waalse patiënt door een gemachtigde is momenteel niet toegestaan.",hI="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",pI="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",mI="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",fI="Het verzoek is ongeldig. (VIDIS_0230)",gI="Gebruikersrol moet burger zijn. (VIDIS_0290)",vI="Uw authenticatieniveau is onvoldoende om toegang te krijgen tot deze pagina. Gelieve u op een andere manier te authenticeren (itsme, eID of een beveiligingscode verstuurd via email of een app). (VIDIS_0330)",yI="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",bI="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",_I="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",xI="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",wI="Geen mandaat gevonden tussen patiënt en mandataris.",SI="Voorschrift is verlopen.",kI="Reservaties moeten gebeuren bij dezelfde apotheek als waar de visivlag is ingesteld om medicatie te kunnen afhalen. U kunt de visivlag ook leeg of open laten.",EI="De visivlag moet ingesteld zijn op dezelfde apotheek als waar u gereserveerd heeft.",CI="De patiënt in de sessie is anders dan de patiënt in de aanvraag.",DI="De gebruiker is niet gemachtigd om de aanvraag te doen.",II="Geen mandaat gevonden tussen patiënt en mandataris.",AI="Bewerking is niet toegestaan.",OI="Er bestaat geen therapeutische relatie tussen aanvrager en patiënt.",TI="Er is geen toestemming om gezondheidsgegevens te delen.",NI="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt.",RI="U bent niet bevoegd om de gegevens van deze patiënt te bekijken omdat uw visum niet actief is. Gelieve contact op te nemen met de FOD Volksgezondheid via het e-mailadres visa@health.fgov.be",MI="U bent niet bevoegd om de gegevens van deze patiënt te bekijken omdat - ofwel uw visum niet actief is. Gelieve contact op te nemen met de FOD Volksgezondheid via het e-mailadres visa@health.fgov.be - ofwel het RIZIV nummer van de apotheek niet geldig is. Gelieve contact op te nemen met het RIZIV via het e-mailadres dossierpharma@riziv-inami.fgov.be",PI="Uw verzoek is ongeldig. Probeer later opnieuw.",FI="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",LI="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",VI="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",zI="Terug naar het MijnGezondheid portaal",jI="http://wwwint.mijngezondheid.belgie.be/",BI="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",HI="Ongeldig datumformaat.",$I="Service tijdelijk niet beschikbaar",qI=`Er is momenteel een probleem met de verbinding met de server.
|
|
58
|
+
Probeer het later nog eens.`,UI="De patiënt heeft 1 of meerdere voorschriften verborgen.",GI="Technisch probleem",YI="Probeer het later opnieuw.",WI="Help ons het probleem te identificeren en op te lossen. Door het te melden gaat u akkoord met onze ",KI="gebruiksvoorwaarden",ZI="https://www.riziv.fgov.be/nl/pagina/privacyverklaring-mobiele-applicatie-mijngezondheid",XI="Probleem melden",QI="Niet melden",JI="Het probleem is gemeld",e2="Gegevens niet beschikbaar",t2="Actie niet toegestaan",i2="Sluiten",hfe={VIDIS_0035:XD,VIDIS_0050:QD,VIDIS_0090:JD,VIDIS_0121:eI,VIDIS_0122:tI,VIDIS_0123:iI,VIDIS_0124:aI,VIDIS_0125:nI,VIDIS_0126:rI,VIDIS_0131:oI,VIDIS_0132:sI,VIDIS_0133:lI,VIDIS_0134:cI,VIDIS_0135:dI,VIDIS_0136:uI,VIDIS_0190:hI,VIDIS_0210:pI,VIDIS_0211:mI,VIDIS_0230:fI,VIDIS_0290:gI,VIDIS_0330:vI,VIDIS_0435:yI,VIDIS_0440:bI,VIDIS_5000:_I,VIDIS_7000:xI,VIDIS_3150:wI,VIDIS_3090:SI,VIDIS_3140:kI,VIDIS_3100:EI,VIDIS_3120:CI,VIDIS_0400:DI,VIDIS_3030:II,VIDIS_0100:AI,VIDIS_0120:OI,VIDIS_0110:TI,VIDIS_0200:NI,VIDIS_0340:RI,VIDIS_0341:MI,VIDIS_04001:PI,prescriptionList:FI,general:LI,"no-access":VI,myHealth:zI,myHealthUrl:jI,network_error:BI,invalid_date_format:HI,"status-message-title":$I,"status-message-content":qI,"has-hidden-prescriptions":UI,"report-message-title":GI,"report-message-explanation":YI,"report-message-content":WI,"report-message-term-use":KI,"report-message-link":ZI,"report-message-report-button":XI,"report-message-ignore-button":QI,"report-message-confirm-toast":JI,"data-not-available-title":e2,"action-not-authorized-title":t2,"action-not-authorized-close-button":i2},pfe={nl:ZD,fr:$C,de:Ak,en:FE},a2={};Ae(a2,{close:()=>n2,default:()=>mfe,downloadLeaflet:()=>r2,file:()=>o2});var n2="Schließen",r2="Download Packungsbeilage (pdf)",o2="feile",mfe={close:n2,downloadLeaflet:r2,file:o2},s2={};Ae(s2,{close:()=>l2,default:()=>ffe,downloadLeaflet:()=>c2,file:()=>d2});var l2="Close",c2="Download leaflet (pdf)",d2="file",ffe={close:l2,downloadLeaflet:c2,file:d2},u2={};Ae(u2,{close:()=>h2,default:()=>gfe,downloadLeaflet:()=>p2,file:()=>m2});var h2="Fermer",p2="Télécharger la notice (pdf)",m2="fichier",gfe={close:h2,downloadLeaflet:p2,file:m2},f2={};Ae(f2,{close:()=>g2,default:()=>vfe,downloadLeaflet:()=>v2,file:()=>y2});var g2="Sluiten",v2="Download bijsluiter (pdf)",y2="bestand",vfe={close:g2,downloadLeaflet:v2,file:y2},yfe={nl:f2,fr:u2,de:a2,en:s2},b2={};Ae(b2,{default:()=>bfe,firstPage:()=>_2,itemsPerPage:()=>k2,lastPage:()=>x2,nextPage:()=>w2,prevPage:()=>S2});var _2="Erste Seite",x2="Letzte Seite",w2="Nächste Seite",S2="Vorherige Seite",k2="Anzahl pro Seite",bfe={firstPage:_2,lastPage:x2,nextPage:w2,prevPage:S2,itemsPerPage:k2},E2={};Ae(E2,{default:()=>_fe,firstPage:()=>C2,itemsPerPage:()=>O2,lastPage:()=>D2,nextPage:()=>I2,prevPage:()=>A2});var C2="First page",D2="Last page",I2="Next page",A2="Previous page",O2="Number per page",_fe={firstPage:C2,lastPage:D2,nextPage:I2,prevPage:A2,itemsPerPage:O2},T2={};Ae(T2,{default:()=>xfe,firstPage:()=>N2,itemsPerPage:()=>F2,lastPage:()=>R2,nextPage:()=>M2,prevPage:()=>P2});var N2="Première page",R2="Dernière page",M2="Page suivante",P2="Page précédente",F2="Nombre par page",xfe={firstPage:N2,lastPage:R2,nextPage:M2,prevPage:P2,itemsPerPage:F2},L2={};Ae(L2,{default:()=>wfe,firstPage:()=>V2,itemsPerPage:()=>H2,lastPage:()=>z2,nextPage:()=>j2,prevPage:()=>B2});var V2="Eerste pagina",z2="Laatste pagina",j2="Volgende pagina",B2="Vorige pagina",H2="Aantal per pagina",wfe={firstPage:V2,lastPage:z2,nextPage:j2,prevPage:B2,itemsPerPage:H2},Sfe={nl:L2,fr:T2,de:b2,en:E2},$2={};Ae($2,{afterbreakfast:()=>q2,afterdinner:()=>U2,afterlunch:()=>G2,aftermeal:()=>Y2,afternoon:()=>W2,beforebreakfast:()=>K2,beforedinner:()=>Z2,beforelunch:()=>X2,betweenbreakfastandlunch:()=>Q2,betweendinnerandsleep:()=>J2,betweenlunchanddinner:()=>eA,betweenmeals:()=>tA,breakfast:()=>iA,default:()=>kfe,dinner:()=>aA,duringbreakfast:()=>nA,duringdinner:()=>rA,duringlunch:()=>oA,evening:()=>sA,lunch:()=>lA,morning:()=>cA,night:()=>dA,thehourofsleep:()=>uA});var q2="nach dem Frühstück",U2="nach dem Abendessen",G2="nach dem Mittagessen",Y2="nach dem Essen",W2="Nachmittag",K2="vor dem Frühstück",Z2="vor dem Abendessen",X2="vor dem Mittagessen",Q2="zwischen Frühstück und Mittagessen",J2="zwischen Abendessen und Nachtruhe",eA="zwischen Mittagessen und Abendessen",tA="zwischen den Mahlzeiten",iA="Frühstück",aA="Abendessen",nA="zum Frühstück",rA="zum Abendessen",oA="zum Mittagessen",sA="Abend",lA="Mittagessen",cA="Vormittag",dA="Nacht",uA="Nachtruhe",kfe={afterbreakfast:q2,afterdinner:U2,afterlunch:G2,aftermeal:Y2,afternoon:W2,beforebreakfast:K2,beforedinner:Z2,beforelunch:X2,betweenbreakfastandlunch:Q2,betweendinnerandsleep:J2,betweenlunchanddinner:eA,betweenmeals:tA,breakfast:iA,dinner:aA,duringbreakfast:nA,duringdinner:rA,duringlunch:oA,evening:sA,lunch:lA,morning:cA,night:dA,thehourofsleep:uA},hA={};Ae(hA,{afterbreakfast:()=>pA,afterdinner:()=>mA,afterlunch:()=>fA,aftermeal:()=>gA,afternoon:()=>vA,beforebreakfast:()=>yA,beforedinner:()=>bA,beforelunch:()=>_A,betweenbreakfastandlunch:()=>xA,betweendinnerandsleep:()=>wA,betweenlunchanddinner:()=>SA,betweenmeals:()=>kA,breakfast:()=>EA,default:()=>Efe,dinner:()=>CA,duringbreakfast:()=>DA,duringdinner:()=>IA,duringlunch:()=>AA,evening:()=>OA,lunch:()=>TA,morning:()=>NA,night:()=>RA,thehourofsleep:()=>MA});var pA="after breakfast",mA="after dinner",fA="after lunch",gA="after meal",vA="afternoon",yA="before breakfast",bA="before dinner",_A="before lunch",xA="between breakfast and lunch",wA="between dinner and the hour of sleep",SA="between lunch and dinner",kA="between meals",EA="breakfast",CA="dinner",DA="during breakfast",IA="during dinner",AA="during lunch",OA="evening",TA="lunch",NA="morning",RA="night",MA="the hour of sleep",Efe={afterbreakfast:pA,afterdinner:mA,afterlunch:fA,aftermeal:gA,afternoon:vA,beforebreakfast:yA,beforedinner:bA,beforelunch:_A,betweenbreakfastandlunch:xA,betweendinnerandsleep:wA,betweenlunchanddinner:SA,betweenmeals:kA,breakfast:EA,dinner:CA,duringbreakfast:DA,duringdinner:IA,duringlunch:AA,evening:OA,lunch:TA,morning:NA,night:RA,thehourofsleep:MA},PA={};Ae(PA,{afterbreakfast:()=>FA,afterdinner:()=>LA,afterlunch:()=>VA,aftermeal:()=>zA,afternoon:()=>jA,beforebreakfast:()=>BA,beforedinner:()=>HA,beforelunch:()=>$A,betweenbreakfastandlunch:()=>qA,betweendinnerandsleep:()=>UA,betweenlunchanddinner:()=>GA,betweenmeals:()=>YA,breakfast:()=>WA,default:()=>Cfe,dinner:()=>KA,duringbreakfast:()=>ZA,duringdinner:()=>XA,duringlunch:()=>QA,evening:()=>JA,lunch:()=>eO,morning:()=>tO,night:()=>iO,thehourofsleep:()=>aO});var FA="après le petit-déjeuner",LA="après le repas du soir",VA="après le repas du midi",zA="après le repas",jA="après-midi",BA="avant le petit-déjeuner",HA="avant le repas du soir",$A="avant le repas du midi",qA="entre le petit-déjeuner et le repas du midi",UA="entre le repas du soir et l’heure du coucher",GA="entre le repas du midi et le repas du soir",YA="entre les repas",WA="petit-déjeuner",KA="repas du soir",ZA="pendant le petit-déjeuner",XA="pendant le repas du soir",QA="pendant le repas du midi",JA="soir",eO="repas du midi",tO="matin",iO="nuit",aO="heure du coucher",Cfe={afterbreakfast:FA,afterdinner:LA,afterlunch:VA,aftermeal:zA,afternoon:jA,beforebreakfast:BA,beforedinner:HA,beforelunch:$A,betweenbreakfastandlunch:qA,betweendinnerandsleep:UA,betweenlunchanddinner:GA,betweenmeals:YA,breakfast:WA,dinner:KA,duringbreakfast:ZA,duringdinner:XA,duringlunch:QA,evening:JA,lunch:eO,morning:tO,night:iO,thehourofsleep:aO},nO={};Ae(nO,{afterbreakfast:()=>rO,afterdinner:()=>oO,afterlunch:()=>sO,aftermeal:()=>lO,afternoon:()=>cO,beforebreakfast:()=>dO,beforedinner:()=>uO,beforelunch:()=>hO,betweenbreakfastandlunch:()=>pO,betweendinnerandsleep:()=>mO,betweenlunchanddinner:()=>fO,betweenmeals:()=>gO,breakfast:()=>vO,default:()=>Dfe,dinner:()=>yO,duringbreakfast:()=>bO,duringdinner:()=>_O,duringlunch:()=>xO,evening:()=>wO,lunch:()=>SO,morning:()=>kO,night:()=>EO,thehourofsleep:()=>CO});var rO="na het ontbijt",oO="na het avondmaal",sO="na het middagmaal",lO="na de maaltijd",cO="namiddag",dO="voor het ontbijt",uO="voor het avondmaal",hO="voor het middagmaal",pO="tussen het ontbijt en het middagmaal",mO="tussen het avondmaal en het slapen gaan",fO="tussen het middagmaal en het avondmaal",gO="tussen de maaltijden",vO="ontbijt",yO="avondmaal",bO="tijdens het ontbijt",_O="tijdens het avondmaal",xO="tijdens het middagmaal",wO="'s avonds",SO="middagmaal",kO="'s ochtends",EO="'s nachts",CO="voor het slapen gaan",Dfe={afterbreakfast:rO,afterdinner:oO,afterlunch:sO,aftermeal:lO,afternoon:cO,beforebreakfast:dO,beforedinner:uO,beforelunch:hO,betweenbreakfastandlunch:pO,betweendinnerandsleep:mO,betweenlunchanddinner:fO,betweenmeals:gO,breakfast:vO,dinner:yO,duringbreakfast:bO,duringdinner:_O,duringlunch:xO,evening:wO,lunch:SO,morning:kO,night:EO,thehourofsleep:CO},Ife={nl:nO,fr:PA,de:$2,en:hA},DO={};Ae(DO,{ambulance_driver:()=>IO,ambulance_first_aid:()=>AO,ambulance_rescuer:()=>OO,application:()=>TO,applied_psychology_bachelor:()=>NO,audician:()=>RO,audiologist:()=>MO,biologist_pharmacist:()=>PO,care_giver:()=>FO,certificateholder:()=>LO,citizen:()=>VO,clinical_orthopedic_pedagogue:()=>zO,clinical_psychologist:()=>jO,default:()=>Afe,dental_hygienist:()=>BO,dentist:()=>HO,deptalgology:()=>$O,deptanatomopathology:()=>qO,deptanesthesiology:()=>UO,deptbacteriology:()=>GO,deptcardiacsurgery:()=>YO,deptcardiology:()=>WO,deptchildandadolescentpsychiatry:()=>KO,deptdentistry:()=>ZO,deptdermatology:()=>XO,deptdiabetology:()=>QO,deptdietetics:()=>JO,deptemergency:()=>eT,deptendocrinology:()=>tT,deptgastroenterology:()=>iT,deptgeneralpractice:()=>aT,deptgenetics:()=>nT,deptgeriatry:()=>rT,deptgynecology:()=>oT,depthandsurgery:()=>sT,depthematology:()=>lT,deptinfectiousdisease:()=>cT,deptintensivecare:()=>dT,deptkinesitherapy:()=>uT,deptlaboratory:()=>hT,deptmajorburns:()=>pT,deptmaxillofacialsurgery:()=>mT,deptmedicine:()=>fT,deptmolecularbiology:()=>gT,deptneonatalogy:()=>vT,deptnephrology:()=>yT,deptneurology:()=>bT,deptneurosurgery:()=>_T,deptnte:()=>xT,deptnuclear:()=>wT,deptnursing:()=>ST,deptnutritiondietetics:()=>kT,deptobstetrics:()=>ET,deptoccupationaltherapy:()=>CT,deptoncology:()=>DT,deptophtalmology:()=>IT,deptorthopedy:()=>AT,deptpalliativecare:()=>OT,deptpediatricintensivecare:()=>TT,deptpediatricsurgery:()=>NT,deptpediatry:()=>RT,deptpharmacy:()=>MT,deptphysicalmedecine:()=>PT,deptphysiotherapy:()=>FT,deptplasticandreparatorysurgery:()=>LT,deptpneumology:()=>VT,deptpodiatry:()=>zT,deptpodology:()=>jT,deptpsychiatry:()=>BT,deptpsychogeriatry:()=>HT,deptpsychology:()=>$T,deptradiology:()=>qT,deptradiotherapy:()=>UT,deptrevalidation:()=>GT,deptrheumatology:()=>YT,deptrhumatology:()=>WT,deptsenology:()=>KT,deptsocialservice:()=>ZT,deptspeechtherapy:()=>XT,deptsportsmedecine:()=>QT,deptstomatology:()=>JT,deptsurgery:()=>eN,deptthoracicsurgery:()=>tN,depttoxicology:()=>iN,depttropicalmedecine:()=>aN,depturology:()=>nN,deptvascularsurgery:()=>rN,deptvisceraldigestiveabdominalsurgery:()=>oN,diabete_equipment_supplier:()=>sN,dietician:()=>lN,doctor:()=>cN,family_science_bachelor:()=>dN,gerontology_master:()=>uN,groupofnurses:()=>hN,groupofphysiciansdifferentaddress:()=>pN,groupofphysicianssameaddress:()=>mN,guardpost:()=>fN,hub:()=>gN,imaging_technologist:()=>vN,implantprovider:()=>yN,lab_technologist:()=>bN,logopedist:()=>_N,midwife:()=>xN,nurse:()=>wN,occupational_therapist:()=>SN,optician:()=>kN,orghospital:()=>EN,orginsurance:()=>CN,orglaboratory:()=>DN,orgpharmacy:()=>IN,orgpharmacyinvoicingoffice:()=>AN,orgpolyclinic:()=>ON,orgpractice:()=>TN,orgprevention:()=>NN,orgprimaryhealthcarecenter:()=>RN,orgpsychiatriccarehome:()=>MN,orgpublichealth:()=>PN,orgretirementhome:()=>FN,orgrevalidationcenter:()=>LN,orgshelteredliving:()=>VN,orthopedagogist_master:()=>zN,orthopedist:()=>jN,orthoptist:()=>BN,orthotist:()=>HN,patient:()=>$N,pediatric_nurse:()=>qN,persadministrative:()=>UN,persambulancefirstaid:()=>GN,persappliedpsychbachelor:()=>YN,persaudician:()=>WN,persaudiologist:()=>KN,persbandagistorthosiologist:()=>ZN,persbiologist:()=>XN,perscaregiver:()=>QN,persclinicalorthopedagogist:()=>JN,persclinicalpsychologist:()=>eR,persdentist:()=>tR,persdietician:()=>iR,perseducator:()=>aR,persfamilysciencebachelor:()=>nR,persgerontologymaster:()=>rR,perslogopedist:()=>oR,persmidwife:()=>sR,persmobilityimprover:()=>lR,persnurse:()=>cR,persoccupationaltherapist:()=>dR,persoptician:()=>uR,persoptometrist:()=>hR,persoraldentalhygienist:()=>pR,persorthopedagogistmaster:()=>mR,persorthopedist:()=>fR,persorthoptist:()=>gR,persorthotist:()=>vR,persparamedical:()=>yR,perspatientdriver:()=>bR,perspharmacist:()=>_R,perspharmacistclinicalbiologist:()=>xR,perspharmacyassistant:()=>wR,persphysician:()=>SR,persphysiotherapist:()=>kR,perspodologist:()=>ER,perspracticalnurse:()=>CR,persprosthesiologist:()=>DR,perspsychologist:()=>IR,perspsychomotortherapymaster:()=>AR,persreadaptationbachelor:()=>OR,persshoetechnologist:()=>TR,perssocialworker:()=>NR,perstechnician:()=>RR,perstrussmaker:()=>MR,pharmacist:()=>PR,pharmacist_assistant:()=>FR,physician:()=>LR,physiotherapist:()=>VR,podologist:()=>zR,practical_nurse:()=>jR,prosthetist:()=>BR,psychologist:()=>HR,psychomotor_therapy_master:()=>$R,readaptaion_bachelor:()=>qR,social_worker:()=>UR,specialized_educator:()=>GR,truss_maker:()=>YR});var IO="Rettungswagenfahrer",AO="Rettungssanitäter",OO="Rettungssanitäter",TO="Softwareapplikation",NO="Bachelor der angewandten Psychologie",RO="Hörgeräteakustiker",MO="Audiologe",PO="Fachapotheker für klinische Chemie",FO="Pflegekräfte",LO="Zertifikatinhaber",VO="Bürger",zO="Klinischer Heilpädagoge",jO="Klinischer Psychologe",BO="Dentalhygieniker",HO="Zahnarzt",$O="Algologie",qO="pathologische Anatomie",UO="Anästhesiologie",GO="Bakteriologie",YO="Herzchirurgie",WO="Kardiologie",KO="Kinder-und Jugendpsychiatrie",ZO="Zahnheilkunde",XO="Dermatologie",QO="Diabetologie",JO="Diätetik",eT="Notaufnahme",tT="Endokrinologie",iT="Gastroenterologie",aT="Allgemeinmedizin",nT="Genetik",rT="Geriatrie",oT="Gynäkologie",sT="Handchirurgie",lT="Hämatologie",cT="Infektionskrankheit",dT="Intensivmedizin",uT="Physiotherapie",hT="Labordienst/-abteilung einer Einrichtung",pT="Schwerbrandverletztenzentrum",mT="Mund-Kiefer-Gesichtschirurgie",fT="Innere Medizin",gT="Molekularbiologie",vT="Neonatologie",yT="Nephrologie",bT="Neurologie",_T="Neurologie",xT="Hals-Nasen-Ohren-Heilkunde (HNO)",wT="Nuklearmedizin",ST="Krankenpflege",kT="Diätetik",ET="Geburtshilfe",CT="Ergotherapie",DT="Onkologie",IT="Augenheilkunde",AT="Orthopädie",OT="Palliativpflege",TT="Kinder-Intensivstation",NT="Kinderchirurgie",RT="Pädiatrie",MT="Apothekendienst/-abteilung einer Einrichtung",PT="physikalische Medizin",FT="Physiotherapie",LT="plastische Chirurgie und rekonstruktive Chirurgie",VT="Pneumologie",zT="Podiatrie",jT="",BT="Psychiatrie",HT="Psychogeriatrie",$T="Psychologie",qT="Radiologie",UT="Strahlentherapie",GT="Rehabilitation",YT="Rheumatologie",WT="",KT="Senologie",ZT="Sozialdienst",XT="Logopädie",QT="Sportmedizin",JT="Stomatologie",eN="Chirurgie",tN="Thoraxchirurgie",iN="Toxikologie",aN="Tropenmedizin",nN="Urologie",rN="Vaskuläre Chirurgie",oN="Viszeralchirurgie/Abdominalchirurgie/Bauchchirurgie",sN="Lieferant von Material für Diabetesselbstverwaltung ",lN="Diätassistent",cN="Arzt",dN="Bachelor der Familienwissenschaften",uN="Master der Gerontologie",hN="Krankenpflegeverband",pN="Zusammenschluss von Ärzten, unterschiedliche Adresse",mN="Zusammenschluss von Ärzten, gleiche Adresse",fN="Schwesternstützpunkt",gN="Hub",vN="Technologe im bildgebenden Diagnoseverfahren",yN="Lieferant von Implantaten",bN="Labortechniker",_N="Logopäde",xN="Hebamme",wN="Fachkraft für Krankenpflege",SN="Ergotherapeut",kN="Optiker",EN="Krankenhaus",CN="Versicherung",DN="Unabhängiges Labor",IN="Unabhängige Apotheke",AN="Rechnungstelle für Apotheken",ON="Poliklinik",TN="Praxis",NN="Präventionsdienst",RN="Gesundheits- und Sozialzentrum",MN="psychiatrische Klinik",PN="Gesundheitsbehörde",FN="Altenheim",LN="Reha-Klinik",VN="Initiative für begleitetes Wohnen",zN="Master der Heilpädagogik",jN="Orthopäde",BN="Orthoptist-Optometrist",HN="Orthopädietechniker",$N="Patient",qN="Kinderkrankenschwester",UN="Büroangestellter",GN="Rettungswagen",YN="Bachelor in angewandter Psychologie",WN="Hörgeräteakustiker",KN="Audiologe",ZN="Bandagist Orthosiologe (Orthopädietechniker)",XN="medizinischer Labortechniker",QN="informelle Pflegeperson",JN="Klinischer Heilpädagoge",eR="Klinischer Psychologe",tR="Zahnarzt",iR="Diätassistent",aR="Erzieher",nR="Bachelor in Familienwissenschaften",rR="Master in Gerontologie",oR="Logopäde",sR="Hebamme",lR="Mobilitätsverbesserer (Orthopädietechniker)",cR="Krankenpfleger",dR="Ergotherapeut",uR="Optiker",hR="Optometrist",pR="Dentalhygieniker",mR="Master in Heilpädagogik",fR="Orthopädist",gR="Orthoptist",vR="Orthopädietechniker/Prothesenbauer",yR="medizinische Hilfskraft",bR="Fahrdienst",_R="Apotheker",xR="Fachapotheker für klinische Chemie",wR="Apothekenhelfer",SR="Arzt",kR="Physiotherapeut",ER="Podologe",CR="Pfleger",DR="Orthopädietechniker (Orthopädietechniker)",IR="Psychologe",AR="Master in Psychomotorik",OR="Bachelor in Rehabilitation",TR="Schuhtechniker (Orthopädietechniker)",NR="Sozialarbeiter",RR="Techniker für medizinische Bildgebung",MR="Bandagist",PR="Apotheker",FR="Pharmazeutisch-technischer Assistent ",LR="Arzt",VR="Physiotherapeut",zR="Podologe",jR="Pflegehelfer",BR="Prothesenhersteller",HR="Psychologe",$R="Master der psychomotorischen Therapie",qR="Bachelor der Rehabilitationswissenschaften",UR="Sozialassistent",GR="Bachelor der Erziehungswissenschaften",YR="Bandagist",Afe={ambulance_driver:IO,ambulance_first_aid:AO,ambulance_rescuer:OO,application:TO,applied_psychology_bachelor:NO,audician:RO,audiologist:MO,biologist_pharmacist:PO,care_giver:FO,certificateholder:LO,citizen:VO,clinical_orthopedic_pedagogue:zO,clinical_psychologist:jO,dental_hygienist:BO,dentist:HO,deptalgology:$O,deptanatomopathology:qO,deptanesthesiology:UO,deptbacteriology:GO,deptcardiacsurgery:YO,deptcardiology:WO,deptchildandadolescentpsychiatry:KO,deptdentistry:ZO,deptdermatology:XO,deptdiabetology:QO,deptdietetics:JO,deptemergency:eT,deptendocrinology:tT,deptgastroenterology:iT,deptgeneralpractice:aT,deptgenetics:nT,deptgeriatry:rT,deptgynecology:oT,depthandsurgery:sT,depthematology:lT,deptinfectiousdisease:cT,deptintensivecare:dT,deptkinesitherapy:uT,deptlaboratory:hT,deptmajorburns:pT,deptmaxillofacialsurgery:mT,deptmedicine:fT,deptmolecularbiology:gT,deptneonatalogy:vT,deptnephrology:yT,deptneurology:bT,deptneurosurgery:_T,deptnte:xT,deptnuclear:wT,deptnursing:ST,deptnutritiondietetics:kT,deptobstetrics:ET,deptoccupationaltherapy:CT,deptoncology:DT,deptophtalmology:IT,deptorthopedy:AT,deptpalliativecare:OT,deptpediatricintensivecare:TT,deptpediatricsurgery:NT,deptpediatry:RT,deptpharmacy:MT,deptphysicalmedecine:PT,deptphysiotherapy:FT,deptplasticandreparatorysurgery:LT,deptpneumology:VT,deptpodiatry:zT,deptpodology:jT,deptpsychiatry:BT,deptpsychogeriatry:HT,deptpsychology:$T,deptradiology:qT,deptradiotherapy:UT,deptrevalidation:GT,deptrheumatology:YT,deptrhumatology:WT,deptsenology:KT,deptsocialservice:ZT,deptspeechtherapy:XT,deptsportsmedecine:QT,deptstomatology:JT,deptsurgery:eN,deptthoracicsurgery:tN,depttoxicology:iN,depttropicalmedecine:aN,depturology:nN,deptvascularsurgery:rN,deptvisceraldigestiveabdominalsurgery:oN,diabete_equipment_supplier:sN,dietician:lN,doctor:cN,family_science_bachelor:dN,gerontology_master:uN,groupofnurses:hN,groupofphysiciansdifferentaddress:pN,groupofphysicianssameaddress:mN,guardpost:fN,hub:gN,imaging_technologist:vN,implantprovider:yN,lab_technologist:bN,logopedist:_N,midwife:xN,nurse:wN,occupational_therapist:SN,optician:kN,orghospital:EN,orginsurance:CN,orglaboratory:DN,orgpharmacy:IN,orgpharmacyinvoicingoffice:AN,orgpolyclinic:ON,orgpractice:TN,orgprevention:NN,orgprimaryhealthcarecenter:RN,orgpsychiatriccarehome:MN,orgpublichealth:PN,orgretirementhome:FN,orgrevalidationcenter:LN,orgshelteredliving:VN,orthopedagogist_master:zN,orthopedist:jN,orthoptist:BN,orthotist:HN,patient:$N,pediatric_nurse:qN,persadministrative:UN,persambulancefirstaid:GN,persappliedpsychbachelor:YN,persaudician:WN,persaudiologist:KN,persbandagistorthosiologist:ZN,persbiologist:XN,perscaregiver:QN,persclinicalorthopedagogist:JN,persclinicalpsychologist:eR,persdentist:tR,persdietician:iR,perseducator:aR,persfamilysciencebachelor:nR,persgerontologymaster:rR,perslogopedist:oR,persmidwife:sR,persmobilityimprover:lR,persnurse:cR,persoccupationaltherapist:dR,persoptician:uR,persoptometrist:hR,persoraldentalhygienist:pR,persorthopedagogistmaster:mR,persorthopedist:fR,persorthoptist:gR,persorthotist:vR,persparamedical:yR,perspatientdriver:bR,perspharmacist:_R,perspharmacistclinicalbiologist:xR,perspharmacyassistant:wR,persphysician:SR,persphysiotherapist:kR,perspodologist:ER,perspracticalnurse:CR,persprosthesiologist:DR,perspsychologist:IR,perspsychomotortherapymaster:AR,persreadaptationbachelor:OR,persshoetechnologist:TR,perssocialworker:NR,perstechnician:RR,perstrussmaker:MR,pharmacist:PR,pharmacist_assistant:FR,physician:LR,physiotherapist:VR,podologist:zR,practical_nurse:jR,prosthetist:BR,psychologist:HR,psychomotor_therapy_master:$R,readaptaion_bachelor:qR,social_worker:UR,specialized_educator:GR,truss_maker:YR},WR={};Ae(WR,{ambulance_driver:()=>KR,ambulance_first_aid:()=>ZR,ambulance_rescuer:()=>XR,application:()=>QR,applied_psychology_bachelor:()=>JR,audician:()=>eM,audiologist:()=>tM,biologist_pharmacist:()=>iM,care_giver:()=>aM,certificateholder:()=>nM,citizen:()=>rM,clinical_orthopedic_pedagogue:()=>oM,clinical_psychologist:()=>sM,default:()=>Ofe,dental_hygienist:()=>lM,dentist:()=>cM,deptalgology:()=>dM,deptanatomopathology:()=>uM,deptanesthesiology:()=>hM,deptbacteriology:()=>pM,deptcardiacsurgery:()=>mM,deptcardiology:()=>fM,deptchildandadolescentpsychiatry:()=>gM,deptdentistry:()=>vM,deptdermatology:()=>yM,deptdiabetology:()=>bM,deptdietetics:()=>_M,deptemergency:()=>xM,deptendocrinology:()=>wM,deptgastroenterology:()=>SM,deptgeneralpractice:()=>kM,deptgenetics:()=>EM,deptgeriatry:()=>CM,deptgynecology:()=>DM,depthandsurgery:()=>IM,depthematology:()=>AM,deptinfectiousdisease:()=>OM,deptintensivecare:()=>TM,deptkinesitherapy:()=>NM,deptlaboratory:()=>RM,deptmajorburns:()=>MM,deptmaxillofacialsurgery:()=>PM,deptmedicine:()=>FM,deptmolecularbiology:()=>LM,deptneonatalogy:()=>VM,deptnephrology:()=>zM,deptneurology:()=>jM,deptneurosurgery:()=>BM,deptnte:()=>HM,deptnuclear:()=>$M,deptnursing:()=>qM,deptnutritiondietetics:()=>UM,deptobstetrics:()=>GM,deptoccupationaltherapy:()=>YM,deptoncology:()=>WM,deptophtalmology:()=>KM,deptorthopedy:()=>ZM,deptpalliativecare:()=>XM,deptpediatricintensivecare:()=>QM,deptpediatricsurgery:()=>JM,deptpediatry:()=>eP,deptpharmacy:()=>tP,deptphysicalmedecine:()=>iP,deptphysiotherapy:()=>aP,deptplasticandreparatorysurgery:()=>nP,deptpneumology:()=>rP,deptpodiatry:()=>oP,deptpodology:()=>sP,deptpsychiatry:()=>lP,deptpsychogeriatry:()=>cP,deptpsychology:()=>dP,deptradiology:()=>uP,deptradiotherapy:()=>hP,deptrevalidation:()=>pP,deptrheumatology:()=>mP,deptrhumatology:()=>fP,deptsenology:()=>gP,deptsocialservice:()=>vP,deptspeechtherapy:()=>yP,deptsportsmedecine:()=>bP,deptstomatology:()=>_P,deptsurgery:()=>xP,deptthoracicsurgery:()=>wP,depttoxicology:()=>SP,depttropicalmedecine:()=>kP,depturology:()=>EP,deptvascularsurgery:()=>CP,deptvisceraldigestiveabdominalsurgery:()=>DP,diabete_equipment_supplier:()=>IP,dietician:()=>AP,doctor:()=>OP,family_science_bachelor:()=>TP,gerontology_master:()=>NP,groupofnurses:()=>RP,groupofphysiciansdifferentaddress:()=>MP,groupofphysicianssameaddress:()=>PP,guardpost:()=>FP,hub:()=>LP,imaging_technologist:()=>VP,implantprovider:()=>zP,lab_technologist:()=>jP,logopedist:()=>BP,midwife:()=>HP,nurse:()=>$P,occupational_therapist:()=>qP,optician:()=>UP,orghospital:()=>GP,orginsurance:()=>YP,orglaboratory:()=>WP,orgpharmacy:()=>KP,orgpharmacyinvoicingoffice:()=>ZP,orgpolyclinic:()=>XP,orgpractice:()=>QP,orgprevention:()=>JP,orgprimaryhealthcarecenter:()=>eF,orgpsychiatriccarehome:()=>tF,orgpublichealth:()=>iF,orgretirementhome:()=>aF,orgrevalidationcenter:()=>nF,orgshelteredliving:()=>rF,orthopedagogist_master:()=>oF,orthopedist:()=>sF,orthoptist:()=>lF,orthotist:()=>cF,patient:()=>dF,pediatric_nurse:()=>uF,persadministrative:()=>hF,persambulancefirstaid:()=>pF,persappliedpsychbachelor:()=>mF,persaudician:()=>fF,persaudiologist:()=>gF,persbandagistorthosiologist:()=>vF,persbiologist:()=>yF,perscaregiver:()=>bF,persclinicalorthopedagogist:()=>_F,persclinicalpsychologist:()=>xF,persdentist:()=>wF,persdietician:()=>SF,perseducator:()=>kF,persfamilysciencebachelor:()=>EF,persgerontologymaster:()=>CF,perslogopedist:()=>DF,persmidwife:()=>IF,persmobilityimprover:()=>AF,persnurse:()=>OF,persoccupationaltherapist:()=>TF,persoptician:()=>NF,persoptometrist:()=>RF,persoraldentalhygienist:()=>MF,persorthopedagogistmaster:()=>PF,persorthopedist:()=>FF,persorthoptist:()=>LF,persorthotist:()=>VF,persparamedical:()=>zF,perspatientdriver:()=>jF,perspharmacist:()=>BF,perspharmacistclinicalbiologist:()=>HF,perspharmacyassistant:()=>$F,persphysician:()=>qF,persphysiotherapist:()=>UF,perspodologist:()=>GF,perspracticalnurse:()=>YF,persprosthesiologist:()=>WF,perspsychologist:()=>KF,perspsychomotortherapymaster:()=>ZF,persreadaptationbachelor:()=>XF,persshoetechnologist:()=>QF,perssocialworker:()=>JF,perstechnician:()=>eL,perstrussmaker:()=>tL,pharmacist:()=>iL,pharmacist_assistant:()=>aL,physician:()=>nL,physiotherapist:()=>rL,podologist:()=>oL,practical_nurse:()=>sL,prosthetist:()=>lL,psychologist:()=>cL,psychomotor_therapy_master:()=>dL,readaptaion_bachelor:()=>uL,social_worker:()=>hL,specialized_educator:()=>pL,truss_maker:()=>mL});var KR="Ambulance Driver",ZR="Ambulance First Aider",XR="Ambulance Rescuer",QR="Software application",JR="Bachelor in Applied Psychology",eM="Audician",tM="Audiologist",iM="Biologist Pharmacist",aM="Caregiver",nM="Certificate holder",rM="Citizen",oM="Clinical Orthopedic Pedagogue",sM="Clinical Psychologist",lM="Dental Hygienist",cM="Dentist",dM="Algology",uM="Anatomopathology",hM="Anesthesiology",pM="Bacteriology",mM="Cardiac surgery",fM="Cardiology",gM="Child and adolescent psychiatry",vM="Dentistry",yM="Dermatology",bM="Diabetology",_M="Dietetics",xM="Emergency",wM="Endocrinology",SM="Gastroenterology",kM="General practice",EM="Genetics",CM="Geriatry",DM="Gynecology",IM="Hand surgery",AM="Hematology",OM="Infectious disease",TM="Intensive care",NM="Kinesitherapy",RM="Laboratory service or department within an organisation",MM="Major burns",PM="Maxillofacial surgery",FM="Internal medecine",LM="Molecular biology",VM="Neonatalogy",zM="Nephrology",jM="Neurology",BM="Neurology",HM="Nose-throat-ear",$M="Nuclear",qM="Nursing",UM="Nutritional dietetics",GM="Obstetrics",YM="Occupational therapy",WM="Oncology",KM="Ophthalmology",ZM="Orthopedy",XM="Palliative care",QM="Pediatric intensive care",JM="Pediatric surgery",eP="Pediatry",tP="Pharmacy Service/Department within an organization",iP="Physical medecine",aP="Physiotherapy",nP="Plastic and reparatory surgery",rP="Pneumology",oP="Podiatry",sP="Podiatry",lP="Psychiatry",cP="Psychogeriatry",dP="Psychology",uP="Radiology",hP="Radiotherapy",pP="Revalidation",mP="Rheumatology",fP="Rhumatology",gP="Senology",vP="Social service",yP="Speech therapy",bP="Sports medecine",_P="Stomatology",xP="Surgery",wP="Thoracic surgery",SP="Toxicology",kP="Tropical medecine",EP="Urology",CP="Vascular surgery",DP="Visceral digestive abdominal surgery",IP="Diabetes Management Equipment Supplier",AP="Dietitian",OP="Doctor",TP="Bachelor in Family Science",NP="Master in Gerontology",RP="Group of nurses",MP="Group of physicians different address",PP="Group of physicians same address",FP="Guard post",LP="Hub",VP="Medical Imaging Technologist",zP="Implant Provider",jP="Laboratory Technologist",BP="Logopedist",HP="Midwife",$P="Nurse",qP="Occupational Therapist",UP="Optician",GP="Hospital",YP="Insurance",WP="Independent laboratory",KP="Independent pharmacy",ZP="Pharmacy invoicing office",XP="Polyclinic",QP="Practice organisation",JP="Prevention Service",eF="Primary health care center",tF="Psychiatric care home",iF="Public health organisation",aF="Retirementhome",nF="Revalidation center",rF="Sheltered living",oF="Master's in Orthopedagogy",sF="Orthopedist",lF="Orthoptist-Optometrist",cF="Orthotist",dF="Patient",uF="Pediatric Nurse",hF="Administrative",pF="Ambulance first aid",mF="Bachelor in Applied psychology",fF="Audician",gF="Audiologist",vF="Bandagist orthosiologist (orthopedic technologist)",yF="Medical laboratory technician",bF="Informal Caregiver",_F="Clinical orthopedagogist",xF="Clinical psychologist",wF="Dentist",SF="Dietician",kF="Educator",EF="Bachelor in Family sciences",CF="Master in Gerontological sciences",DF="Logopedist",IF="Midwife",AF="Mobility improver (orthopedic technologist)",OF="Nurse",TF="Occupational therapist",NF="Optician",RF="Optometrist",MF="Oral Dental Hygienist",PF="Master of orthopedagogist",FF="Orthopedist",LF="Orthoptist",VF="Orthotist/Prosthetist",zF="Paramedical staff",jF="Patient Transporter (non-urgent)",BF="Pharmacist",HF="Pharmacist-clinical biologist",$F="Pharmacy assistant",qF="Physician",UF="Physiotherapist",GF="Podiologist",YF="Practical nurse",WF="prosthesiologist (orthopedic technologist)",KF="Psychologist",ZF="Master in Psychomotor Therapy",XF="Bachelor in Physiotherapy and Rehabilitation",QF="shoe technologist (orthopedic technologist)",JF="Social worker",eL="Medical Imaging Technician",tL="Truss maker",iL="Pharmacist",aL="Pharmaceutical Technician Assistant",nL="Physician",rL="Physiotherapist",oL="Podiatrist",sL="Practical Nurse",lL="Prosthetist",cL="Clinical Psychologist",dL="Master's in Psychomotor Therapy",uL="Bachelor in Rehabilitation",hL="Social Worker",pL="Specialized Educator",mL="Truss Maker",Ofe={ambulance_driver:KR,ambulance_first_aid:ZR,ambulance_rescuer:XR,application:QR,applied_psychology_bachelor:JR,audician:eM,audiologist:tM,biologist_pharmacist:iM,care_giver:aM,certificateholder:nM,citizen:rM,clinical_orthopedic_pedagogue:oM,clinical_psychologist:sM,dental_hygienist:lM,dentist:cM,deptalgology:dM,deptanatomopathology:uM,deptanesthesiology:hM,deptbacteriology:pM,deptcardiacsurgery:mM,deptcardiology:fM,deptchildandadolescentpsychiatry:gM,deptdentistry:vM,deptdermatology:yM,deptdiabetology:bM,deptdietetics:_M,deptemergency:xM,deptendocrinology:wM,deptgastroenterology:SM,deptgeneralpractice:kM,deptgenetics:EM,deptgeriatry:CM,deptgynecology:DM,depthandsurgery:IM,depthematology:AM,deptinfectiousdisease:OM,deptintensivecare:TM,deptkinesitherapy:NM,deptlaboratory:RM,deptmajorburns:MM,deptmaxillofacialsurgery:PM,deptmedicine:FM,deptmolecularbiology:LM,deptneonatalogy:VM,deptnephrology:zM,deptneurology:jM,deptneurosurgery:BM,deptnte:HM,deptnuclear:$M,deptnursing:qM,deptnutritiondietetics:UM,deptobstetrics:GM,deptoccupationaltherapy:YM,deptoncology:WM,deptophtalmology:KM,deptorthopedy:ZM,deptpalliativecare:XM,deptpediatricintensivecare:QM,deptpediatricsurgery:JM,deptpediatry:eP,deptpharmacy:tP,deptphysicalmedecine:iP,deptphysiotherapy:aP,deptplasticandreparatorysurgery:nP,deptpneumology:rP,deptpodiatry:oP,deptpodology:sP,deptpsychiatry:lP,deptpsychogeriatry:cP,deptpsychology:dP,deptradiology:uP,deptradiotherapy:hP,deptrevalidation:pP,deptrheumatology:mP,deptrhumatology:fP,deptsenology:gP,deptsocialservice:vP,deptspeechtherapy:yP,deptsportsmedecine:bP,deptstomatology:_P,deptsurgery:xP,deptthoracicsurgery:wP,depttoxicology:SP,depttropicalmedecine:kP,depturology:EP,deptvascularsurgery:CP,deptvisceraldigestiveabdominalsurgery:DP,diabete_equipment_supplier:IP,dietician:AP,doctor:OP,family_science_bachelor:TP,gerontology_master:NP,groupofnurses:RP,groupofphysiciansdifferentaddress:MP,groupofphysicianssameaddress:PP,guardpost:FP,hub:LP,imaging_technologist:VP,implantprovider:zP,lab_technologist:jP,logopedist:BP,midwife:HP,nurse:$P,occupational_therapist:qP,optician:UP,orghospital:GP,orginsurance:YP,orglaboratory:WP,orgpharmacy:KP,orgpharmacyinvoicingoffice:ZP,orgpolyclinic:XP,orgpractice:QP,orgprevention:JP,orgprimaryhealthcarecenter:eF,orgpsychiatriccarehome:tF,orgpublichealth:iF,orgretirementhome:aF,orgrevalidationcenter:nF,orgshelteredliving:rF,orthopedagogist_master:oF,orthopedist:sF,orthoptist:lF,orthotist:cF,patient:dF,pediatric_nurse:uF,persadministrative:hF,persambulancefirstaid:pF,persappliedpsychbachelor:mF,persaudician:fF,persaudiologist:gF,persbandagistorthosiologist:vF,persbiologist:yF,perscaregiver:bF,persclinicalorthopedagogist:_F,persclinicalpsychologist:xF,persdentist:wF,persdietician:SF,perseducator:kF,persfamilysciencebachelor:EF,persgerontologymaster:CF,perslogopedist:DF,persmidwife:IF,persmobilityimprover:AF,persnurse:OF,persoccupationaltherapist:TF,persoptician:NF,persoptometrist:RF,persoraldentalhygienist:MF,persorthopedagogistmaster:PF,persorthopedist:FF,persorthoptist:LF,persorthotist:VF,persparamedical:zF,perspatientdriver:jF,perspharmacist:BF,perspharmacistclinicalbiologist:HF,perspharmacyassistant:$F,persphysician:qF,persphysiotherapist:UF,perspodologist:GF,perspracticalnurse:YF,persprosthesiologist:WF,perspsychologist:KF,perspsychomotortherapymaster:ZF,persreadaptationbachelor:XF,persshoetechnologist:QF,perssocialworker:JF,perstechnician:eL,perstrussmaker:tL,pharmacist:iL,pharmacist_assistant:aL,physician:nL,physiotherapist:rL,podologist:oL,practical_nurse:sL,prosthetist:lL,psychologist:cL,psychomotor_therapy_master:dL,readaptaion_bachelor:uL,social_worker:hL,specialized_educator:pL,truss_maker:mL},fL={};Ae(fL,{ambulance_driver:()=>gL,ambulance_first_aid:()=>vL,ambulance_rescuer:()=>yL,application:()=>bL,applied_psychology_bachelor:()=>_L,audician:()=>xL,audiologist:()=>wL,biologist_pharmacist:()=>SL,care_giver:()=>kL,certificateholder:()=>EL,citizen:()=>CL,clinical_orthopedic_pedagogue:()=>DL,clinical_psychologist:()=>IL,default:()=>Tfe,dental_hygienist:()=>AL,dentist:()=>OL,deptalgology:()=>TL,deptanatomopathology:()=>NL,deptanesthesiology:()=>RL,deptbacteriology:()=>ML,deptcardiacsurgery:()=>PL,deptcardiology:()=>FL,deptchildandadolescentpsychiatry:()=>LL,deptdentistry:()=>VL,deptdermatology:()=>zL,deptdiabetology:()=>jL,deptdietetics:()=>BL,deptemergency:()=>HL,deptendocrinology:()=>$L,deptgastroenterology:()=>qL,deptgeneralpractice:()=>UL,deptgenetics:()=>GL,deptgeriatry:()=>YL,deptgynecology:()=>WL,depthandsurgery:()=>KL,depthematology:()=>ZL,deptinfectiousdisease:()=>XL,deptintensivecare:()=>QL,deptkinesitherapy:()=>JL,deptlaboratory:()=>eV,deptmajorburns:()=>tV,deptmaxillofacialsurgery:()=>iV,deptmedicine:()=>aV,deptmolecularbiology:()=>nV,deptneonatalogy:()=>rV,deptnephrology:()=>oV,deptneurology:()=>sV,deptneurosurgery:()=>lV,deptnte:()=>cV,deptnuclear:()=>dV,deptnursing:()=>uV,deptnutritiondietetics:()=>hV,deptobstetrics:()=>pV,deptoccupationaltherapy:()=>mV,deptoncology:()=>fV,deptophtalmology:()=>gV,deptorthopedy:()=>vV,deptpalliativecare:()=>yV,deptpediatricintensivecare:()=>bV,deptpediatricsurgery:()=>_V,deptpediatry:()=>xV,deptpharmacy:()=>wV,deptphysicalmedecine:()=>SV,deptphysiotherapy:()=>kV,deptplasticandreparatorysurgery:()=>EV,deptpneumology:()=>CV,deptpodiatry:()=>DV,deptpodology:()=>IV,deptpsychiatry:()=>AV,deptpsychogeriatry:()=>OV,deptpsychology:()=>TV,deptradiology:()=>NV,deptradiotherapy:()=>RV,deptrevalidation:()=>MV,deptrheumatology:()=>PV,deptrhumatology:()=>FV,deptsenology:()=>LV,deptsocialservice:()=>VV,deptspeechtherapy:()=>zV,deptsportsmedecine:()=>jV,deptstomatology:()=>BV,deptsurgery:()=>HV,deptthoracicsurgery:()=>$V,depttoxicology:()=>qV,depttropicalmedecine:()=>UV,depturology:()=>GV,deptvascularsurgery:()=>YV,deptvisceraldigestiveabdominalsurgery:()=>WV,diabete_equipment_supplier:()=>KV,dietician:()=>ZV,doctor:()=>XV,family_science_bachelor:()=>QV,gerontology_master:()=>JV,groupofnurses:()=>e3,groupofphysiciansdifferentaddress:()=>t3,groupofphysicianssameaddress:()=>i3,guardpost:()=>a3,hub:()=>n3,imaging_technologist:()=>r3,implantprovider:()=>o3,lab_technologist:()=>s3,logopedist:()=>l3,midwife:()=>c3,nurse:()=>d3,occupational_therapist:()=>u3,optician:()=>h3,orghospital:()=>p3,orginsurance:()=>m3,orglaboratory:()=>f3,orgpharmacy:()=>g3,orgpharmacyinvoicingoffice:()=>v3,orgpolyclinic:()=>y3,orgpractice:()=>b3,orgprevention:()=>_3,orgprimaryhealthcarecenter:()=>x3,orgpsychiatriccarehome:()=>w3,orgpublichealth:()=>S3,orgretirementhome:()=>k3,orgrevalidationcenter:()=>E3,orgshelteredliving:()=>C3,orthopedagogist_master:()=>D3,orthopedist:()=>I3,orthoptist:()=>A3,orthotist:()=>O3,patient:()=>T3,pediatric_nurse:()=>N3,persadministrative:()=>R3,persambulancefirstaid:()=>M3,persappliedpsychbachelor:()=>P3,persaudician:()=>F3,persaudiologist:()=>L3,persbandagistorthosiologist:()=>V3,persbiologist:()=>z3,perscaregiver:()=>j3,persclinicalorthopedagogist:()=>B3,persclinicalpsychologist:()=>H3,persdentist:()=>$3,persdietician:()=>q3,perseducator:()=>U3,persfamilysciencebachelor:()=>G3,persgerontologymaster:()=>Y3,perslogopedist:()=>W3,persmidwife:()=>K3,persmobilityimprover:()=>Z3,persnurse:()=>X3,persoccupationaltherapist:()=>Q3,persoptician:()=>J3,persoptometrist:()=>ez,persoraldentalhygienist:()=>tz,persorthopedagogistmaster:()=>iz,persorthopedist:()=>az,persorthoptist:()=>nz,persorthotist:()=>rz,persparamedical:()=>oz,perspatientdriver:()=>sz,perspharmacist:()=>lz,perspharmacistclinicalbiologist:()=>cz,perspharmacyassistant:()=>dz,persphysician:()=>uz,persphysiotherapist:()=>hz,perspodologist:()=>pz,perspracticalnurse:()=>mz,persprosthesiologist:()=>fz,perspsychologist:()=>gz,perspsychomotortherapymaster:()=>vz,persreadaptationbachelor:()=>yz,persshoetechnologist:()=>bz,perssocialworker:()=>_z,perstechnician:()=>xz,perstrussmaker:()=>wz,pharmacist:()=>Sz,pharmacist_assistant:()=>kz,physician:()=>Ez,physiotherapist:()=>Cz,podologist:()=>Dz,practical_nurse:()=>Iz,prosthetist:()=>Az,psychologist:()=>Oz,psychomotor_therapy_master:()=>Tz,readaptaion_bachelor:()=>Nz,social_worker:()=>Rz,specialized_educator:()=>Mz,truss_maker:()=>Pz});var gL="Ambulancier",vL="Ambulancier secouriste",yL="Ambulancier secouriste",bL="application logicielle",_L="Bachelier en psychologie appliquée",xL="Audicien",wL="Audiologue",SL="Pharmacien biologiste",kL="Personnel soignant",EL="Titulaire du certificat",CL="Citoyen",DL="Orthopédagogue clinicien",IL="Psychologue clinicien",AL="Hygiéniste bucco-dentaire",OL="Dentiste",TL="algologie",NL="anatomopathologie",RL="anesthésiologie",ML="bactériologie",PL="chirurgie cardiaque",FL="cardiologie",LL="psychiatrie de l’enfant et de l’adolescent",VL="dentisterie",zL="dermatologie",jL="diabétologie",BL="diététique",HL="services d’urgence",$L="endocrinologie",qL="gastroentérologie",UL="médecine générale",GL="génétique",YL="gériatrie",WL="gynécologie",KL="chirurgie de la main",ZL="hématologie",XL="maladie infectieuse",QL="soins intensifs",JL="kinésithérapie",eV="Service/Département laboratoire au sein d’une organisation",tV="grands brûlés",iV="chirurgie maxillo-faciale",aV="médecine interne",nV="biologie moléculaire",rV="néonatologie",oV="néphrologie",sV="neurologie",lV="neurologie",cV="oto-rhino-laryngologie",dV="médecine nucléaire",uV="soins infirmiers",hV="diététique nutritionnelle",pV="obstétrique",mV="ergothérapie",fV="oncologie",gV="ophtalmologie",vV="orthopédie",yV="soins palliatifs",bV="soins intensifs pédiatriques",_V="chirurgie pédiatrique",xV="pédiatrie",wV="Service/Département pharmacie au sein d’une organisation",SV="médecine physique",kV="physiothérapie",EV="chirurgie esthétique et réparatrice",CV="pneumologie",DV="podiatrie",IV="",AV="psychiatrie",OV="Psychogériatrie",TV="psychologie",NV="radiologie",RV="radiothérapie",MV="rééducation",PV="rhumatologie",FV="",LV="sénologie",VV="service social",zV="logopédie",jV="médecine des sports",BV="stomatologie",HV="chirurgie",$V="chirurgie thoracique",qV="toxicologie",UV="médecine tropicale",GV="urologie",YV="chirurgie vasculaire",WV="chirurgie abdominale, digestive et viscérale",KV="Fournisseur de matériel d’autogestion diabétique",ZV="Diététicien",XV="Médecin",QV="Bachelier en science de la famille",JV="Master en gérontologie",e3="Regroupement d’infirmiers",t3="Regroupement de médecins adresse différente",i3="regroupement de médecins même adresse",a3="poste de garde",n3="hub",r3="Technologue en imagerie médicale",o3="Dispensateur d’implants",s3="Technologue de labo",l3="Logopède",c3="Sage-femme",d3="Infirmier\\Infirmière",u3="Ergothérapeute",h3="Opticien",p3="hôpital",m3="assurance",f3="laboratoire indépendant",g3="Pharmacie indépendante",v3="office de tarification",y3="polyclinique",b3="cabinet",_3="Service de prévention",x3="Maison médicale",w3="maison de soins psychiatriques",S3="service public de santé",k3="maison de repos",E3="centre de revalidation",C3="initiative d’habitation protégée",D3="Master en Orthopédagogie",I3="Orthopédiste",A3="Orthoptiste-Optométriste",O3="Orthésiste",T3="Patient",N3="Puéricultrice",R3="personnel admistratif",M3="ambulance premier secours",P3="Bachelier en psychologie",F3="audicien",L3="audiologue",V3="orthosiologue bandagiste (technologue en orthopédie)",z3="technicien de laboratoire médical",j3="soignant informel",B3="Orthopédagogue clinicien",H3="Psychologue clinicien",$3="dentiste",q3="diététicien",U3="éducateur",G3="Bachelier en sciences de la famille",Y3="Master en gérontologie",W3="logopède",K3="sage-femme",Z3="améliorateur de mobilité (technologue en orthopédie)",X3="infirmier",Q3="ergothérapeute",J3="opticien",ez="optométriste",tz="Hygiéniste bucco-dentaire",iz="Master en orthopédagogie",az="orthopédiste",nz="orthoptiste",rz="Orthésiste/Prothésiste",oz="personnel paramédical",sz="Transporteur de patient (non urgent)",lz="pharmacien",cz="pharmacien-biologiste clinicien",dz="assistant en pharmacie",uz="médecin",hz="kinésithérapeute",pz="podologue",mz="aide-soignante",fz="prothésiste (technologue en orthopédie)",gz="psychologue",vz="Master en thérapie psychomotrice",yz="Bachelier en kinésithérapie et réadaptation",bz="technicien de chaussures (technologue en orthopédie)",_z="travailleur social",xz="Technicien d’imagerie médicale",wz="Bandagiste",Sz="Pharmacien",kz="Assistant Pharmaceutico-Technique",Ez="Médecin",Cz="Physiothérapeute",Dz="Podologue",Iz="Aide-soignant",Az="Prothésiste",Oz="Psychologue clinicien",Tz="Master en thérapie psychomotrice",Nz="Bachelier en réadaptation",Rz="Assistant social",Mz="Educateur spécialisé",Pz="Bandagiste",Tfe={ambulance_driver:gL,ambulance_first_aid:vL,ambulance_rescuer:yL,application:bL,applied_psychology_bachelor:_L,audician:xL,audiologist:wL,biologist_pharmacist:SL,care_giver:kL,certificateholder:EL,citizen:CL,clinical_orthopedic_pedagogue:DL,clinical_psychologist:IL,dental_hygienist:AL,dentist:OL,deptalgology:TL,deptanatomopathology:NL,deptanesthesiology:RL,deptbacteriology:ML,deptcardiacsurgery:PL,deptcardiology:FL,deptchildandadolescentpsychiatry:LL,deptdentistry:VL,deptdermatology:zL,deptdiabetology:jL,deptdietetics:BL,deptemergency:HL,deptendocrinology:$L,deptgastroenterology:qL,deptgeneralpractice:UL,deptgenetics:GL,deptgeriatry:YL,deptgynecology:WL,depthandsurgery:KL,depthematology:ZL,deptinfectiousdisease:XL,deptintensivecare:QL,deptkinesitherapy:JL,deptlaboratory:eV,deptmajorburns:tV,deptmaxillofacialsurgery:iV,deptmedicine:aV,deptmolecularbiology:nV,deptneonatalogy:rV,deptnephrology:oV,deptneurology:sV,deptneurosurgery:lV,deptnte:cV,deptnuclear:dV,deptnursing:uV,deptnutritiondietetics:hV,deptobstetrics:pV,deptoccupationaltherapy:mV,deptoncology:fV,deptophtalmology:gV,deptorthopedy:vV,deptpalliativecare:yV,deptpediatricintensivecare:bV,deptpediatricsurgery:_V,deptpediatry:xV,deptpharmacy:wV,deptphysicalmedecine:SV,deptphysiotherapy:kV,deptplasticandreparatorysurgery:EV,deptpneumology:CV,deptpodiatry:DV,deptpodology:IV,deptpsychiatry:AV,deptpsychogeriatry:OV,deptpsychology:TV,deptradiology:NV,deptradiotherapy:RV,deptrevalidation:MV,deptrheumatology:PV,deptrhumatology:FV,deptsenology:LV,deptsocialservice:VV,deptspeechtherapy:zV,deptsportsmedecine:jV,deptstomatology:BV,deptsurgery:HV,deptthoracicsurgery:$V,depttoxicology:qV,depttropicalmedecine:UV,depturology:GV,deptvascularsurgery:YV,deptvisceraldigestiveabdominalsurgery:WV,diabete_equipment_supplier:KV,dietician:ZV,doctor:XV,family_science_bachelor:QV,gerontology_master:JV,groupofnurses:e3,groupofphysiciansdifferentaddress:t3,groupofphysicianssameaddress:i3,guardpost:a3,hub:n3,imaging_technologist:r3,implantprovider:o3,lab_technologist:s3,logopedist:l3,midwife:c3,nurse:d3,occupational_therapist:u3,optician:h3,orghospital:p3,orginsurance:m3,orglaboratory:f3,orgpharmacy:g3,orgpharmacyinvoicingoffice:v3,orgpolyclinic:y3,orgpractice:b3,orgprevention:_3,orgprimaryhealthcarecenter:x3,orgpsychiatriccarehome:w3,orgpublichealth:S3,orgretirementhome:k3,orgrevalidationcenter:E3,orgshelteredliving:C3,orthopedagogist_master:D3,orthopedist:I3,orthoptist:A3,orthotist:O3,patient:T3,pediatric_nurse:N3,persadministrative:R3,persambulancefirstaid:M3,persappliedpsychbachelor:P3,persaudician:F3,persaudiologist:L3,persbandagistorthosiologist:V3,persbiologist:z3,perscaregiver:j3,persclinicalorthopedagogist:B3,persclinicalpsychologist:H3,persdentist:$3,persdietician:q3,perseducator:U3,persfamilysciencebachelor:G3,persgerontologymaster:Y3,perslogopedist:W3,persmidwife:K3,persmobilityimprover:Z3,persnurse:X3,persoccupationaltherapist:Q3,persoptician:J3,persoptometrist:ez,persoraldentalhygienist:tz,persorthopedagogistmaster:iz,persorthopedist:az,persorthoptist:nz,persorthotist:rz,persparamedical:oz,perspatientdriver:sz,perspharmacist:lz,perspharmacistclinicalbiologist:cz,perspharmacyassistant:dz,persphysician:uz,persphysiotherapist:hz,perspodologist:pz,perspracticalnurse:mz,persprosthesiologist:fz,perspsychologist:gz,perspsychomotortherapymaster:vz,persreadaptationbachelor:yz,persshoetechnologist:bz,perssocialworker:_z,perstechnician:xz,perstrussmaker:wz,pharmacist:Sz,pharmacist_assistant:kz,physician:Ez,physiotherapist:Cz,podologist:Dz,practical_nurse:Iz,prosthetist:Az,psychologist:Oz,psychomotor_therapy_master:Tz,readaptaion_bachelor:Nz,social_worker:Rz,specialized_educator:Mz,truss_maker:Pz},Fz={};Ae(Fz,{ambulance_driver:()=>Lz,ambulance_first_aid:()=>Vz,ambulance_rescuer:()=>zz,application:()=>jz,applied_psychology_bachelor:()=>Bz,audician:()=>Hz,audiologist:()=>$z,biologist_pharmacist:()=>qz,care_giver:()=>Uz,certificateholder:()=>Gz,citizen:()=>Yz,clinical_orthopedic_pedagogue:()=>Wz,clinical_psychologist:()=>Kz,default:()=>Nfe,dental_hygienist:()=>Zz,dentist:()=>Xz,deptalgology:()=>Qz,deptanatomopathology:()=>Jz,deptanesthesiology:()=>e5,deptbacteriology:()=>t5,deptcardiacsurgery:()=>i5,deptcardiology:()=>a5,deptchildandadolescentpsychiatry:()=>n5,deptdentistry:()=>r5,deptdermatology:()=>o5,deptdiabetology:()=>s5,deptdietetics:()=>l5,deptemergency:()=>c5,deptendocrinology:()=>d5,deptgastroenterology:()=>u5,deptgeneralpractice:()=>h5,deptgenetics:()=>p5,deptgeriatry:()=>m5,deptgynecology:()=>f5,depthandsurgery:()=>g5,depthematology:()=>v5,deptinfectiousdisease:()=>y5,deptintensivecare:()=>b5,deptkinesitherapy:()=>_5,deptlaboratory:()=>x5,deptmajorburns:()=>w5,deptmaxillofacialsurgery:()=>S5,deptmedicine:()=>k5,deptmolecularbiology:()=>E5,deptneonatalogy:()=>C5,deptnephrology:()=>D5,deptneurology:()=>I5,deptneurosurgery:()=>A5,deptnte:()=>O5,deptnuclear:()=>T5,deptnursing:()=>N5,deptnutritiondietetics:()=>R5,deptobstetrics:()=>M5,deptoccupationaltherapy:()=>P5,deptoncology:()=>F5,deptophtalmology:()=>L5,deptorthopedy:()=>V5,deptpalliativecare:()=>z5,deptpediatricintensivecare:()=>j5,deptpediatricsurgery:()=>B5,deptpediatry:()=>H5,deptpharmacy:()=>$5,deptphysicalmedecine:()=>q5,deptphysiotherapy:()=>U5,deptplasticandreparatorysurgery:()=>G5,deptpneumology:()=>Y5,deptpodiatry:()=>W5,deptpodology:()=>K5,deptpsychiatry:()=>Z5,deptpsychogeriatry:()=>X5,deptpsychology:()=>Q5,deptradiology:()=>J5,deptradiotherapy:()=>ej,deptrevalidation:()=>tj,deptrheumatology:()=>ij,deptsenology:()=>aj,deptsocialservice:()=>nj,deptspeechtherapy:()=>rj,deptsportsmedecine:()=>oj,deptstomatology:()=>sj,deptsurgery:()=>lj,deptthoracicsurgery:()=>cj,depttoxicology:()=>dj,depttropicalmedecine:()=>uj,depturology:()=>hj,deptvascularsurgery:()=>pj,deptvisceraldigestiveabdominalsurgery:()=>mj,diabete_equipment_supplier:()=>fj,dietician:()=>gj,doctor:()=>vj,family_science_bachelor:()=>yj,gerontology_master:()=>bj,groupofnurses:()=>_j,groupofphysiciansdifferentaddress:()=>xj,groupofphysicianssameaddress:()=>wj,guardpost:()=>Sj,hub:()=>kj,imaging_technologist:()=>Ej,implantprovider:()=>Cj,lab_technologist:()=>Dj,logopedist:()=>Ij,midwife:()=>Aj,nurse:()=>Oj,occupational_therapist:()=>Tj,optician:()=>Nj,orghospital:()=>Rj,orginsurance:()=>Mj,orglaboratory:()=>Pj,orgpharmacy:()=>Fj,orgpharmacyinvoicingoffice:()=>Lj,orgpolyclinic:()=>Vj,orgpractice:()=>zj,orgprevention:()=>jj,orgprimaryhealthcarecenter:()=>Bj,orgpsychiatriccarehome:()=>Hj,orgpublichealth:()=>$j,orgretirementhome:()=>qj,orgrevalidationcenter:()=>Uj,orgshelteredliving:()=>Gj,orthopedagogist_master:()=>Yj,orthopedist:()=>Wj,orthoptist:()=>Kj,orthotist:()=>Zj,patient:()=>Xj,pediatric_nurse:()=>Qj,persadministrative:()=>Jj,persambulancefirstaid:()=>eB,persappliedpsychbachelor:()=>tB,persaudician:()=>iB,persaudiologist:()=>aB,persbandagistorthosiologist:()=>nB,persbiologist:()=>rB,perscaregiver:()=>oB,persclinicalorthopedagogist:()=>sB,persclinicalpsychologist:()=>lB,persdentist:()=>cB,persdietician:()=>dB,perseducator:()=>uB,persfamilysciencebachelor:()=>hB,persgerontologymaster:()=>pB,perslogopedist:()=>mB,persmidwife:()=>fB,persmobilityimprover:()=>gB,persnurse:()=>vB,persoccupationaltherapist:()=>yB,persoptician:()=>bB,persoptometrist:()=>_B,persoraldentalhygienist:()=>xB,persorthopedagogistmaster:()=>wB,persorthopedist:()=>SB,persorthoptist:()=>kB,persorthotist:()=>EB,persparamedical:()=>CB,perspatientdriver:()=>DB,perspharmacist:()=>IB,perspharmacistclinicalbiologist:()=>AB,perspharmacyassistant:()=>OB,persphysician:()=>TB,persphysiotherapist:()=>NB,perspodologist:()=>RB,perspracticalnurse:()=>MB,persprosthesiologist:()=>PB,perspsychologist:()=>FB,perspsychomotortherapymaster:()=>LB,persreadaptationbachelor:()=>VB,persshoetechnologist:()=>zB,perssocialworker:()=>jB,perstechnician:()=>BB,perstrussmaker:()=>HB,pharmacist:()=>$B,pharmacist_assistant:()=>qB,physician:()=>UB,physiotherapist:()=>GB,podologist:()=>YB,practical_nurse:()=>WB,prosthetist:()=>KB,psychologist:()=>ZB,psychomotor_therapy_master:()=>XB,readaptaion_bachelor:()=>QB,social_worker:()=>JB,specialized_educator:()=>e4,truss_maker:()=>t4});var Lz="Ambulancebestuurder",Vz="Ambulancier eerste hulp",zz="Amublancier eerste hulp",jz="softwaretoepassing",Bz="Bachelor toegepaste psychologie",Hz="Audicien",$z="Audioloog",qz="Apotheker-bioloog",Uz="Verzorgingspersoneel",Gz="Houder van certificaat",Yz="Burger",Wz="Klinische orthopedagoog",Kz="Klinische psycholoog",Zz="Mondhygiënist",Xz="Tandarts",Qz="algologie",Jz="anatomo-pathologie",e5="anesthesiologie",t5="bacteriologie",i5="hartchirurgie",a5="cardiologie",n5="kinder- en jeugdpsychiatrie",r5="tandheelkunde",o5="dermatologie",s5="diabetologie",l5="diëtetiek",c5="spoeddiensten",d5="endocrinologie/hormonenleer",u5="gastro-enterologie",h5="algemene geneeskunde",p5="genetica",m5="geriatrie",f5="gynaecologie",g5="handchirurgie",v5="hematologie",y5="infectieziekte",b5="intensieve zorgen",_5="kinesitherapie",x5="Laboratoriumdienst of -afdeling binnen een organisatie",w5="brandwondencentrum",S5="mond-, kaak- en aangezichtschirurgie",k5="interne geneeskunde",E5="moleculaire biologie",C5="neonatologie",D5="nefrologie",I5="neurologie",A5="neurologie",O5="oto-rhino-laryngologie",T5="nucleaire geneeskunde",N5="verpleegkunde",R5="diëtetiek",M5="verloskunde",P5="ergotherapie",F5="oncologie",L5="oftalmologie",V5="orthopedie",z5="palliatieve zorg",j5="intensieve zorg voor kinderen",B5="kinderchirurgie",H5="pediatrie",$5="Apotheekdienst of -afdeling binnen een organisatie",q5="fysische geneeskunde",U5="fysiotherapie",G5="plastische en reconstructieve chirurgie",Y5="pulmonologie",W5="podiatrie",K5="",Z5="psychiatrie",X5="Psychogeriatrie",Q5="psychologie",J5="radiologie",ej="radiotherapie",tj="revalidatie",ij="reumatologie",aj="senologie",nj="sociale dienst",rj="logopedie",oj="sportgeneeskunde",sj="stomatologie",lj="chirurgie",cj="thoraxchirurgie",dj="toxicologie",uj="tropische geneeskunde",hj="urologie",pj="vasculaire chirurgie",mj="digestieve/viscerale chirurgie/buikchirurgie",fj="Leverancier van materiaal voor diabetische zelfzorg ",gj="Diëtist",vj="Arts",yj="Bachelor gezinswetenschappen",bj="Master gerontologie",_j="Groepering van verplegers",xj="Groepering van artsen verschillend adres",wj="groepering van artsen zelfde adres",Sj="wachtpost",kj="hub",Ej="Technoloog medische beeldvorming",Cj="Leverancier implantaten",Dj="Laboratoriumtechnoloog",Ij="Logopedist",Aj="Vroedvrouw",Oj="verpleegkundige",Tj="Ergotherapeut",Nj="Opticien",Rj="ziekenhuis",Mj="verzekering",Pj="Onafhankelijk laboratorium",Fj="Onafhankelijke apotheek",Lj="Facturatie kantoor apotheek",Vj="polikliniek",zj="praktijk",jj="Preventiedienst",Bj="medisch huis",Hj="psychiatrisch verzorgingstehuis",$j="openbare gezondheidsdienst",qj="woonzorgcentrum",Uj="revalidatiecentrum",Gj="initiatief voor beschut wonen",Yj="Master orthopedagogie",Wj="Orthopedist",Kj="Orthoptist-optometrist",Zj="Orthesist",Xj="Patiënt",Qj="Kinderverzorgsters",Jj="administratief medewerker",eB="ambulance eerste hulp",tB="Bachelor in de toegepaste psychologie",iB="audicien",aB="audioloog",nB="Bandagist orthosioloog (orthopedisch technoloog)",rB="medisch laboratoriumtechnoloog",oB="mantelzorger",sB="Klinisch orthopedagoog",lB="Klinisch psycholoog",cB="tandarts",dB="diëtist",uB="opvoeder",hB="Bachelor in de gezinswetenschappen",pB="Master in de gerontologie",mB="logopedist",fB="vroedvrouw",gB="mobiliteitsverbeteraar (orthopedisch technoloog)",vB="verpleegkundige",yB="ergotherapeut",bB="opticien",_B="optometrist",xB="Mondhygiënist",wB="Master in de orthopedagogie",SB="orthopedist",kB="orthoptist",EB="Orthopedisch technicus",CB="paramedisch personeel",DB="Ziekenvervoerder (niet urgent)",IB="apotheker",AB="apotheker-klinisch bioloog",OB="apothekersassistent",TB="arts",NB="kinesitherapeut",RB="podologist",MB="verzorgende",PB="prothesemaker (orthopedisch technoloog)",FB="psycholoog",LB="Master in de psychomotorische therapie",VB="Bachelor in de readaptatiewetenschappen",zB="schoentechnicus (orthopedisch technoloog)",jB="maatschappelijk werker",BB="Technicus medische beeldvorming",HB="Bandagist",$B="Apotheker",qB="Farmaceutisch-technisch assistent",UB="Arts",GB="Fysiotherapeut",YB="Podoloog",WB="Zorgkundige",KB="Prothesist",ZB="Psycholoog",XB="Master psychomotorische therapie",QB="Bachelor readaptatiewetenschappen",JB="Sociaal assistent",e4="Bachelor opvoedkunde",t4="Bandagist",Nfe={ambulance_driver:Lz,ambulance_first_aid:Vz,ambulance_rescuer:zz,application:jz,applied_psychology_bachelor:Bz,audician:Hz,audiologist:$z,biologist_pharmacist:qz,care_giver:Uz,certificateholder:Gz,citizen:Yz,clinical_orthopedic_pedagogue:Wz,clinical_psychologist:Kz,dental_hygienist:Zz,dentist:Xz,deptalgology:Qz,deptanatomopathology:Jz,deptanesthesiology:e5,deptbacteriology:t5,deptcardiacsurgery:i5,deptcardiology:a5,deptchildandadolescentpsychiatry:n5,deptdentistry:r5,deptdermatology:o5,deptdiabetology:s5,deptdietetics:l5,deptemergency:c5,deptendocrinology:d5,deptgastroenterology:u5,deptgeneralpractice:h5,deptgenetics:p5,deptgeriatry:m5,deptgynecology:f5,depthandsurgery:g5,depthematology:v5,deptinfectiousdisease:y5,deptintensivecare:b5,deptkinesitherapy:_5,deptlaboratory:x5,deptmajorburns:w5,deptmaxillofacialsurgery:S5,deptmedicine:k5,deptmolecularbiology:E5,deptneonatalogy:C5,deptnephrology:D5,deptneurology:I5,deptneurosurgery:A5,deptnte:O5,deptnuclear:T5,deptnursing:N5,deptnutritiondietetics:R5,deptobstetrics:M5,deptoccupationaltherapy:P5,deptoncology:F5,deptophtalmology:L5,deptorthopedy:V5,deptpalliativecare:z5,deptpediatricintensivecare:j5,deptpediatricsurgery:B5,deptpediatry:H5,deptpharmacy:$5,deptphysicalmedecine:q5,deptphysiotherapy:U5,deptplasticandreparatorysurgery:G5,deptpneumology:Y5,deptpodiatry:W5,deptpodology:K5,deptpsychiatry:Z5,deptpsychogeriatry:X5,deptpsychology:Q5,deptradiology:J5,deptradiotherapy:ej,deptrevalidation:tj,deptrheumatology:ij,deptsenology:aj,deptsocialservice:nj,deptspeechtherapy:rj,deptsportsmedecine:oj,deptstomatology:sj,deptsurgery:lj,deptthoracicsurgery:cj,depttoxicology:dj,depttropicalmedecine:uj,depturology:hj,deptvascularsurgery:pj,deptvisceraldigestiveabdominalsurgery:mj,diabete_equipment_supplier:fj,dietician:gj,doctor:vj,family_science_bachelor:yj,gerontology_master:bj,groupofnurses:_j,groupofphysiciansdifferentaddress:xj,groupofphysicianssameaddress:wj,guardpost:Sj,hub:kj,imaging_technologist:Ej,implantprovider:Cj,lab_technologist:Dj,logopedist:Ij,midwife:Aj,nurse:Oj,occupational_therapist:Tj,optician:Nj,orghospital:Rj,orginsurance:Mj,orglaboratory:Pj,orgpharmacy:Fj,orgpharmacyinvoicingoffice:Lj,orgpolyclinic:Vj,orgpractice:zj,orgprevention:jj,orgprimaryhealthcarecenter:Bj,orgpsychiatriccarehome:Hj,orgpublichealth:$j,orgretirementhome:qj,orgrevalidationcenter:Uj,orgshelteredliving:Gj,orthopedagogist_master:Yj,orthopedist:Wj,orthoptist:Kj,orthotist:Zj,patient:Xj,pediatric_nurse:Qj,persadministrative:Jj,persambulancefirstaid:eB,persappliedpsychbachelor:tB,persaudician:iB,persaudiologist:aB,persbandagistorthosiologist:nB,persbiologist:rB,perscaregiver:oB,persclinicalorthopedagogist:sB,persclinicalpsychologist:lB,persdentist:cB,persdietician:dB,perseducator:uB,persfamilysciencebachelor:hB,persgerontologymaster:pB,perslogopedist:mB,persmidwife:fB,persmobilityimprover:gB,persnurse:vB,persoccupationaltherapist:yB,persoptician:bB,persoptometrist:_B,persoraldentalhygienist:xB,persorthopedagogistmaster:wB,persorthopedist:SB,persorthoptist:kB,persorthotist:EB,persparamedical:CB,perspatientdriver:DB,perspharmacist:IB,perspharmacistclinicalbiologist:AB,perspharmacyassistant:OB,persphysician:TB,persphysiotherapist:NB,perspodologist:RB,perspracticalnurse:MB,persprosthesiologist:PB,perspsychologist:FB,perspsychomotortherapymaster:LB,persreadaptationbachelor:VB,persshoetechnologist:zB,perssocialworker:jB,perstechnician:BB,perstrussmaker:HB,pharmacist:$B,pharmacist_assistant:qB,physician:UB,physiotherapist:GB,podologist:YB,practical_nurse:WB,prosthetist:KB,psychologist:ZB,psychomotor_therapy_master:XB,readaptaion_bachelor:QB,social_worker:JB,specialized_educator:e4,truss_maker:t4},Rfe={nl:Fz,fr:fL,de:DO,en:WR},i4={};Ae(i4,{"00001":()=>a4,"00002":()=>n4,"00003":()=>r4,"00004":()=>o4,"00005":()=>s4,"00006":()=>l4,"00007":()=>c4,"00008":()=>d4,"00009":()=>u4,"00010":()=>h4,"00011":()=>p4,"00012":()=>m4,"00013":()=>f4,"00014":()=>g4,"00015":()=>v4,"00016":()=>y4,"00017":()=>b4,"00018":()=>_4,"00019":()=>x4,"00020":()=>w4,"00021":()=>S4,"00022":()=>k4,"00023":()=>E4,"00024":()=>C4,"00025":()=>D4,"00026":()=>I4,"00027":()=>A4,"00028":()=>O4,"00029":()=>T4,"00030":()=>N4,"00031":()=>R4,"00032":()=>M4,"00033":()=>P4,"00034":()=>F4,"00035":()=>L4,"00036":()=>V4,"00037":()=>z4,"00038":()=>j4,"00039":()=>B4,"00040":()=>H4,"00041":()=>$4,"00042":()=>q4,"00043":()=>U4,"00044":()=>G4,"00045":()=>Y4,"00046":()=>W4,"00047":()=>K4,"00048":()=>Z4,"00049":()=>X4,"00050":()=>Q4,"00051":()=>J4,"00052":()=>e9,"00053":()=>t9,"00054":()=>i9,"00055":()=>a9,"00056":()=>n9,"00057":()=>r9,"00058":()=>o9,"00059":()=>s9,"00060":()=>l9,"00061":()=>c9,"00062":()=>d9,"00063":()=>u9,"00064":()=>h9,"00065":()=>p9,"00066":()=>m9,"00067":()=>f9,"00068":()=>g9,"00069":()=>v9,"00070":()=>y9,"00071":()=>b9,"00072":()=>_9,"00073":()=>x9,"both-ears":()=>w9,"both-eyes":()=>S9,"both-nostrils":()=>k9,"cutaneous-injection":()=>E9,default:()=>Mfe,derm:()=>C9,"dermal-injection":()=>D9,"ear-left":()=>I9,"ear-right":()=>A9,"eye-left":()=>O9,"eye-right":()=>T9,hyperdermoclyse:()=>N9,icut:()=>R9,ider:()=>M9,larter:()=>P9,"nose-left":()=>F9,"nose-right":()=>L9,oft:()=>V9,transdermal:()=>z9,"vitreal-injection":()=>j9});var a4="ins Ohr",n4="auf die Haut",r4="derm./rect",o4="derm./vag.",s4="Injektion außerhalb der Hirnhaut",l4="e.dur./i.thec./lokal",c4="p.dur./lokal",d4="in die Luftröhre",u4="in den Gebärmutterhals einführen",h4="Injektion in eine Arterie",p4="Injektion in den Penis",m4="Injektion in die Haut",f4="Injektion in einen Muskel",g4="i.m./i.thec./p.dur./s.c.",v4="i.m./i.v.",y4="i.m./i.v./inf.",b4="i.m./i.v./inf./e.dur./s.c.",_4="i.m./i.v./inf./i.arter./i.thec.",x4="i.m./i.v./perf./i.artér./lokal/s.c.",w4="i.m./i.v./inf./i.thec.",S4="i.m./i.v./inf./rect.",k4="i.m./i.v./inf./s.c.",E4="i.m./i.v./inhal.",C4="i.m./i.v./lokal",D4="i.m./i.v./or.",I4="i.m./i.v./rect",A4="i.m./i.v./s.c.",O4="i.m./inf.",T4="i.m./perf./lokal",N4="i.m./lokal",R4="i.m./lokal/rect.",M4="i.m./s.c.",P4="Injektion ins Rückenmark",F4="in die Gebärmutter einführen",L4="Injektion in eine Vene",V4="i.v./p.dur./lokal",z4="i.v./i.arter./i.ves.",j4="i.v./inf.",B4="i.v./perf./p.dur.",H4="i.v./inf./i.arter.",$4="i.v./inf./i.thec./s.c.",q4="i.v./inf./inhal.",U4="i.v./inf./s.c.",G4="i.v./s.c.",Y4="in die Harnblase",W4="Infusion",K4="perf./i.ves.",Z4="perf./s.c.",X4="Inhalation",Q4="inhal./nas./lokal",J4="Injektion",e9="auf die Lippen",t9="lokal",i9="auf die Schleimhaut",a9="in die Nase",n9="in die Augen",r9="opht./auric.",o9="opht./auric./nas.",s9="opht./auric./nas./lokal",l9="einnehmen",c9="or./orofar./derm.",d9="or./rect.",u9="or./s.l.",h9="durch den Mund",p9="orofar./derm.",m9="durch Mund und Nase",f9="rektal",g9="Spritze unter die Haut",v9="s.c./i.derm.",y9="unter die Zunge",b9="auf die Zähne",_9="in den Harnleiter",x9="vaginal",w9="beide Ohren",S9="beide Augen",k9="beide Nasenlöcher",E9="kutane Injektion",C9="dermatologisch",D9="dermale Injektion",I9="linkes Ohr",A9="rechtes Ohr",O9="linkes Auge",T9="rechtes Auge",N9="Hyperdermoklyse",R9="intrakutan",M9="intradermal",P9="intraarteriell",F9="linke Nase",L9="rechte Nase",V9="ophthalmologisch",z9="transdermal",j9="vitreale Injektion",Mfe={"00001":a4,"00002":n4,"00003":r4,"00004":o4,"00005":s4,"00006":l4,"00007":c4,"00008":d4,"00009":u4,"00010":h4,"00011":p4,"00012":m4,"00013":f4,"00014":g4,"00015":v4,"00016":y4,"00017":b4,"00018":_4,"00019":x4,"00020":w4,"00021":S4,"00022":k4,"00023":E4,"00024":C4,"00025":D4,"00026":I4,"00027":A4,"00028":O4,"00029":T4,"00030":N4,"00031":R4,"00032":M4,"00033":P4,"00034":F4,"00035":L4,"00036":V4,"00037":z4,"00038":j4,"00039":B4,"00040":H4,"00041":$4,"00042":q4,"00043":U4,"00044":G4,"00045":Y4,"00046":W4,"00047":K4,"00048":Z4,"00049":X4,"00050":Q4,"00051":J4,"00052":e9,"00053":t9,"00054":i9,"00055":a9,"00056":n9,"00057":r9,"00058":o9,"00059":s9,"00060":l9,"00061":c9,"00062":d9,"00063":u9,"00064":h9,"00065":p9,"00066":m9,"00067":f9,"00068":g9,"00069":v9,"00070":y9,"00071":b9,"00072":_9,"00073":x9,"both-ears":w9,"both-eyes":S9,"both-nostrils":k9,"cutaneous-injection":E9,derm:C9,"dermal-injection":D9,"ear-left":I9,"ear-right":A9,"eye-left":O9,"eye-right":T9,hyperdermoclyse:N9,icut:R9,ider:M9,larter:P9,"nose-left":F9,"nose-right":L9,oft:V9,transdermal:z9,"vitreal-injection":j9},B9={};Ae(B9,{"00001":()=>H9,"00002":()=>$9,"00003":()=>q9,"00004":()=>U9,"00005":()=>G9,"00006":()=>Y9,"00007":()=>W9,"00008":()=>K9,"00009":()=>Z9,"00010":()=>X9,"00011":()=>Q9,"00012":()=>J9,"00013":()=>e7,"00014":()=>t7,"00015":()=>i7,"00016":()=>a7,"00017":()=>n7,"00018":()=>r7,"00019":()=>o7,"00020":()=>s7,"00021":()=>l7,"00022":()=>c7,"00023":()=>d7,"00024":()=>u7,"00025":()=>h7,"00026":()=>p7,"00027":()=>m7,"00028":()=>f7,"00029":()=>g7,"00030":()=>v7,"00031":()=>y7,"00032":()=>b7,"00033":()=>_7,"00034":()=>x7,"00035":()=>w7,"00036":()=>S7,"00037":()=>k7,"00038":()=>E7,"00039":()=>C7,"00040":()=>D7,"00041":()=>I7,"00042":()=>A7,"00043":()=>O7,"00044":()=>T7,"00045":()=>N7,"00046":()=>R7,"00047":()=>M7,"00048":()=>P7,"00049":()=>F7,"00050":()=>L7,"00051":()=>V7,"00052":()=>z7,"00053":()=>j7,"00054":()=>B7,"00055":()=>H7,"00056":()=>$7,"00057":()=>q7,"00058":()=>U7,"00059":()=>G7,"00060":()=>Y7,"00061":()=>W7,"00062":()=>K7,"00063":()=>Z7,"00064":()=>X7,"00065":()=>Q7,"00066":()=>J7,"00067":()=>eH,"00068":()=>tH,"00069":()=>iH,"00070":()=>aH,"00071":()=>nH,"00072":()=>rH,"00073":()=>oH,"both-ears":()=>sH,"both-eyes":()=>lH,"both-nostrils":()=>cH,"cutaneous-injection":()=>dH,default:()=>Pfe,derm:()=>uH,"dermal-injection":()=>hH,"ear-left":()=>pH,"ear-right":()=>mH,"eye-left":()=>fH,"eye-right":()=>gH,hyperdermoclyse:()=>vH,icut:()=>yH,ider:()=>bH,larter:()=>_H,"nose-left":()=>xH,"nose-right":()=>wH,oft:()=>SH,transdermal:()=>kH,"vitreal-injection":()=>EH});var H9="auric.",$9="derm.",q9="derm./rect",U9="derm./vag.",G9="e.dur.",Y9="e.dur./i.thec./local",W9="e.dur./local",K9="e.trach.",Z9="endocerv.",X9="i.arter.",Q9="i.cavern.",J9="i.derm.",e7="i.m.",t7="i.m./i.thec./e.dur./s.c.",i7="i.m./i.v.",a7="i.m./i.v./inf.",n7="i.m./i.v./inf./e.dur./s.c.",r7="i.m./i.v./inf./i.arter./i.thec.",o7="i.m./i.v./perf./i.artér./local/s.c.",s7="i.m./i.v./inf./i.thec.",l7="i.m./i.v./inf./rect.",c7="i.m./i.v./inf./s.c.",d7="i.m./i.v./inhal.",u7="i.m./i.v./local",h7="i.m./i.v./or.",p7="i.m./i.v./rect",m7="i.m./i.v./s.c.",f7="i.m./inf.",g7="i.m./perf./local",v7="i.m./local",y7="i.m./local/rect.",b7="i.m./s.c.",_7="i.thec.",x7="i.ut.",w7="i.v.",S7="i.v./p.dur./local",k7="i.v./i.arter./i.ves.",E7="i.v./inf.",C7="i.v./perf./p.dur.",D7="i.v./perf./i.artér.",I7="i.v./perf./i.théc./s.c.",A7="i.v./perf./inhal.",O7="i.v./perf./s.c.",T7="i.v./s.c.",N7="i.ves.",R7="perf.",M7="perf./i.ves.",P7="perf./s.c.",F7="inhal.",L7="inhal./nas./local",V7="inj.",z7="lip",j7="local",B7="muc.",H7="nas.",$7="opht.",q7="opht./auric.",U7="opht./auric./nas.",G7="opht./auric./nas./local",Y7="or.",W7="or./bucco-phar./derm.",K7="or./rect.",Z7="or./s.l.",X7="bucco-phar.",Q7="bucco-phar./derm.",J7="bucco-phar./nas.",eH="rect.",tH="s.c.",iH="s.c./i.derm.",aH="s.l.",nH="teeth",rH="urethr.",oH="vag.",sH="both ears",lH="both eyes",cH="both nostrils",dH="cutaneous injection",uH="dermatologically",hH="dermal injection",pH="ear left",mH="ear right",fH="eye left",gH="eye right",vH="hyperdermoclyse",yH="intracutaneous",bH="intradermally",_H="intra-arterial",xH="nose left",wH="nose right",SH="ophtalmological",kH="transdermal",EH="vitreal injection",Pfe={"00001":H9,"00002":$9,"00003":q9,"00004":U9,"00005":G9,"00006":Y9,"00007":W9,"00008":K9,"00009":Z9,"00010":X9,"00011":Q9,"00012":J9,"00013":e7,"00014":t7,"00015":i7,"00016":a7,"00017":n7,"00018":r7,"00019":o7,"00020":s7,"00021":l7,"00022":c7,"00023":d7,"00024":u7,"00025":h7,"00026":p7,"00027":m7,"00028":f7,"00029":g7,"00030":v7,"00031":y7,"00032":b7,"00033":_7,"00034":x7,"00035":w7,"00036":S7,"00037":k7,"00038":E7,"00039":C7,"00040":D7,"00041":I7,"00042":A7,"00043":O7,"00044":T7,"00045":N7,"00046":R7,"00047":M7,"00048":P7,"00049":F7,"00050":L7,"00051":V7,"00052":z7,"00053":j7,"00054":B7,"00055":H7,"00056":$7,"00057":q7,"00058":U7,"00059":G7,"00060":Y7,"00061":W7,"00062":K7,"00063":Z7,"00064":X7,"00065":Q7,"00066":J7,"00067":eH,"00068":tH,"00069":iH,"00070":aH,"00071":nH,"00072":rH,"00073":oH,"both-ears":sH,"both-eyes":lH,"both-nostrils":cH,"cutaneous-injection":dH,derm:uH,"dermal-injection":hH,"ear-left":pH,"ear-right":mH,"eye-left":fH,"eye-right":gH,hyperdermoclyse:vH,icut:yH,ider:bH,larter:_H,"nose-left":xH,"nose-right":wH,oft:SH,transdermal:kH,"vitreal-injection":EH},CH={};Ae(CH,{"00001":()=>DH,"00002":()=>IH,"00003":()=>AH,"00004":()=>OH,"00005":()=>TH,"00006":()=>NH,"00007":()=>RH,"00008":()=>MH,"00009":()=>PH,"00010":()=>FH,"00011":()=>LH,"00012":()=>VH,"00013":()=>zH,"00014":()=>jH,"00015":()=>BH,"00016":()=>HH,"00017":()=>$H,"00018":()=>qH,"00019":()=>UH,"00020":()=>GH,"00021":()=>YH,"00022":()=>WH,"00023":()=>KH,"00024":()=>ZH,"00025":()=>XH,"00026":()=>QH,"00027":()=>JH,"00028":()=>e6,"00029":()=>t6,"00030":()=>i6,"00031":()=>a6,"00032":()=>n6,"00033":()=>r6,"00034":()=>o6,"00035":()=>s6,"00036":()=>l6,"00037":()=>c6,"00038":()=>d6,"00039":()=>u6,"00040":()=>h6,"00041":()=>p6,"00042":()=>m6,"00043":()=>f6,"00044":()=>g6,"00045":()=>v6,"00046":()=>y6,"00047":()=>b6,"00048":()=>_6,"00049":()=>x6,"00050":()=>w6,"00051":()=>S6,"00052":()=>k6,"00053":()=>E6,"00054":()=>C6,"00055":()=>D6,"00056":()=>I6,"00057":()=>A6,"00058":()=>O6,"00059":()=>T6,"00060":()=>N6,"00061":()=>R6,"00062":()=>M6,"00063":()=>P6,"00064":()=>F6,"00065":()=>L6,"00066":()=>V6,"00067":()=>z6,"00068":()=>j6,"00069":()=>B6,"00070":()=>H6,"00071":()=>$6,"00072":()=>q6,"00073":()=>U6,"both-ears":()=>G6,"both-eyes":()=>Y6,"both-nostrils":()=>W6,"cutaneous-injection":()=>K6,default:()=>Ffe,derm:()=>Z6,"dermal-injection":()=>X6,"ear-left":()=>Q6,"ear-right":()=>J6,"eye-left":()=>e8,"eye-right":()=>t8,hyperdermoclyse:()=>i8,icut:()=>a8,ider:()=>n8,larter:()=>r8,"nose-left":()=>o8,"nose-right":()=>s8,oft:()=>l8,transdermal:()=>c8,"vitreal-injection":()=>d8});var DH="dans l’oreille",IH="sur la peau",AH="derm./rect",OH="derm./vag.",TH="injection en dehors de la méninge",NH="e.dur./i.théc./local",RH="e.dur./local",MH="dans la trachée",PH="introduire dans le col de l’utérus",FH="injection dans l’artère",LH="injection dans le pénis",VH="injection dans la peau",zH="injection dans un muscle",jH="i.m./i.théc./e.dur./s.c.",BH="i.m./i.v.",HH="i.m./i.v./perf.",$H="i.m./i.v./perf./e.dur./s.c.",qH="i.m./i.v./inf./i.arter./i.thec.",UH="i.m./i.v./perf./i.artér./local/s.c.",GH="i.m./i.v./inf./i.thec.",YH="i.m./i.v./perf./rect.",WH="i.m./i.v./perf./s.c.",KH="i.m./i.v./inhal.",ZH="i.m./i.v./local",XH="i.m./i.v./or.",QH="i.m./i.v./rect",JH="i.m./i.v./s.c.",e6="i.m./perf.",t6="i.m./perf./local",i6="i.m./local",a6="i.m./local/rect.",n6="i.m./s.c.",r6="injection dans la moelle épinière",o6="introduire dans l’utérus",s6="injection dans une veine",l6="i.v./p.dur./local",c6="i.v./i.arter./i.ves.",d6="i.v./perf.",u6="i.v./perf./p.dur.",h6="i.v./perf./i.artér.",p6="i.v./perf./i.théc./s.c.",m6="i.v./perf./inhal.",f6="i.v./perf./s.c.",g6="i.v./s.c.",v6="dans la vessie",y6="perfusion",b6="perf./i.vés.",_6="perf./s.c.",x6="inhalation",w6="inhal./nas./local",S6="injection",k6="lèvre",E6="local",C6="sur la muqueuse",D6="dans le nez",I6="dans les yeux",A6="opht./auric.",O6="opht./auric./nas.",T6="opht./auric./nas./local",N6="prendre/avaler",R6="or./bucco-phar./derm.",M6="or./rect.",P6="or./s.l.",F6="par la bouche",L6="bucco-phar./derm.",V6="par la bouche et dans le nez",z6="par voie rectale",j6="injection sous-cutanée",B6="s.c./i.derm.",H6="sous la langue",$6="sur les dents",q6="dans l’uretère",U6="par voie vaginale",G6="les deux oreilles",Y6="les deux yeux",W6="les deux narines",K6="injection cutanée",Z6="dermatologique",X6="injection dermique",Q6="oreille gauche",J6="oreille droite",e8="oeil gauche",t8="oeil droite",i8="hyperdermoclyse",a8="intracutané",n8="intradermique",r8="intra-artérielle",o8="nez gauche",s8="nez droite",l8="ophtalmologique",c8="transdermique",d8="injection vitrale",Ffe={"00001":DH,"00002":IH,"00003":AH,"00004":OH,"00005":TH,"00006":NH,"00007":RH,"00008":MH,"00009":PH,"00010":FH,"00011":LH,"00012":VH,"00013":zH,"00014":jH,"00015":BH,"00016":HH,"00017":$H,"00018":qH,"00019":UH,"00020":GH,"00021":YH,"00022":WH,"00023":KH,"00024":ZH,"00025":XH,"00026":QH,"00027":JH,"00028":e6,"00029":t6,"00030":i6,"00031":a6,"00032":n6,"00033":r6,"00034":o6,"00035":s6,"00036":l6,"00037":c6,"00038":d6,"00039":u6,"00040":h6,"00041":p6,"00042":m6,"00043":f6,"00044":g6,"00045":v6,"00046":y6,"00047":b6,"00048":_6,"00049":x6,"00050":w6,"00051":S6,"00052":k6,"00053":E6,"00054":C6,"00055":D6,"00056":I6,"00057":A6,"00058":O6,"00059":T6,"00060":N6,"00061":R6,"00062":M6,"00063":P6,"00064":F6,"00065":L6,"00066":V6,"00067":z6,"00068":j6,"00069":B6,"00070":H6,"00071":$6,"00072":q6,"00073":U6,"both-ears":G6,"both-eyes":Y6,"both-nostrils":W6,"cutaneous-injection":K6,derm:Z6,"dermal-injection":X6,"ear-left":Q6,"ear-right":J6,"eye-left":e8,"eye-right":t8,hyperdermoclyse:i8,icut:a8,ider:n8,larter:r8,"nose-left":o8,"nose-right":s8,oft:l8,transdermal:c8,"vitreal-injection":d8},u8={};Ae(u8,{"00001":()=>h8,"00002":()=>p8,"00003":()=>s$,"00004":()=>l$,"00005":()=>m8,"00006":()=>c$,"00007":()=>d$,"00008":()=>f8,"00009":()=>g8,"00010":()=>v8,"00011":()=>y8,"00012":()=>b8,"00013":()=>_8,"00014":()=>u$,"00015":()=>h$,"00016":()=>p$,"00017":()=>m$,"00018":()=>f$,"00019":()=>g$,"00020":()=>v$,"00021":()=>y$,"00022":()=>b$,"00023":()=>_$,"00024":()=>x$,"00025":()=>w$,"00026":()=>S$,"00027":()=>k$,"00028":()=>E$,"00029":()=>C$,"00030":()=>D$,"00031":()=>I$,"00032":()=>A$,"00033":()=>x8,"00034":()=>w8,"00035":()=>S8,"00036":()=>O$,"00037":()=>T$,"00038":()=>N$,"00039":()=>R$,"00040":()=>M$,"00041":()=>P$,"00042":()=>F$,"00043":()=>L$,"00044":()=>V$,"00045":()=>k8,"00046":()=>E8,"00047":()=>z$,"00048":()=>j$,"00049":()=>C8,"00050":()=>B$,"00051":()=>D8,"00052":()=>I8,"00053":()=>A8,"00054":()=>O8,"00055":()=>T8,"00056":()=>N8,"00057":()=>H$,"00058":()=>$$,"00059":()=>q$,"00060":()=>R8,"00061":()=>U$,"00062":()=>G$,"00063":()=>Y$,"00064":()=>M8,"00065":()=>W$,"00066":()=>P8,"00067":()=>F8,"00068":()=>L8,"00069":()=>K$,"00070":()=>V8,"00071":()=>z8,"00072":()=>j8,"00073":()=>B8,"both-ears":()=>a$,"both-eyes":()=>e$,"both-nostrils":()=>X8,"cutaneous-injection":()=>Y8,default:()=>Lfe,derm:()=>H8,"dermal-injection":()=>W8,"ear-left":()=>t$,"ear-right":()=>i$,"eye-left":()=>Q8,"eye-right":()=>J8,hyperdermoclyse:()=>o$,icut:()=>q8,ider:()=>U8,larter:()=>$8,"nose-left":()=>K8,"nose-right":()=>Z8,oft:()=>G8,transdermal:()=>r$,"vitreal-injection":()=>n$});var h8="in het oor",p8="op de huid",m8="inspuiting buiten het hersenvlies",f8="in de luchtpijp",g8="inbrengen in de baarmoederhals",v8="inspuiting in een slagader",y8="inspuiting in de penis",b8="inspuiting in de huid",_8="inspuiting in een spier",x8="inspuiting in het ruggenmerg",w8="inbrengen in de baarmoeder",S8="inspuiting in een ader",k8="in de urineblaas",E8="infuus",C8="inhalatie",D8="inspuiting",I8="op de lippen",A8="lokaal",O8="op het slijmvlies",T8="in de neus",N8="in de ogen",R8="innemen",M8="in de mond",P8="in de mond en in de neus",F8="anaal opsteken",L8="onderhuidse inspuiting",V8="onder de tong",z8="op de tanden",j8="in de urineleider",B8="vaginaal",H8="dermatologisch",$8="intra-arterieel",q8="intracutaan",U8="intradermaal",G8="oftalmologisch",Y8="cutane injectie",W8="dermale injectie",K8="neus links",Z8="neus rechts",X8="beide neusgaten",Q8="oog links",J8="oog rechts",e$="beide ogen",t$="oor links",i$="oor rechts",a$="beide oren",n$="vitreale injectie",r$="transdermaal",o$="hyperdermoclyse",s$="derm./rect",l$="derm./vag.",c$="e.dur./i.thec./lokaal",d$="e.dur./lokaal",u$="i.m./i.thec./p.dur./s.c.",h$="i.m./i.v.",p$="i.m./i.v./inf.",m$="i.m./i.v./inf./e.dur./s.c.",f$="i.m./i.v./inf./i.arter./i.thec.",g$="i.m./i.v./perf./i.artér./lokaal/s.c.",v$="i.m./i.v./inf./i.thec.",y$="i.m./i.v./inf./rect.",b$="i.m./i.v./inf./s.c.",_$="i.m./i.v./inhal.",x$="i.m./i.v./lokaal",w$="i.m./i.v./or.",S$="i.m./i.v./rect",k$="i.m./i.v./s.c.",E$="i.m./inf.",C$="i.m./perf./lokaal",D$="i.m./lokaal",I$="i.m./lokaal/rect.",A$="i.m./s.c.",O$="i.v./p.dur./lokaal",T$="i.v./i.arter./i.ves.",N$="i.v./inf.",R$="i.v./perf./p.dur.",M$="i.v./inf./i.arter.",P$="i.v./inf./i.thec./s.c.",F$="i.v./inf./inhal.",L$="i.v./inf./s.c.",V$="i.v./s.c.",z$="perf./i.ves.",j$="perf./s.c.",B$="inhal./nas./lokaal",H$="oft./auric.",$$="oft./auric./nas.",q$="oft./auric./nas./lokaal",U$="or./orofar./derm.",G$="or./rect.",Y$="or./s.l.",W$="orofar./derm.",K$="s.c./i.derm.",Lfe={"00001":h8,"00002":p8,"00005":m8,"00008":f8,"00009":g8,"00010":v8,"00011":y8,"00012":b8,"00013":_8,"00033":x8,"00034":w8,"00035":S8,"00045":k8,"00046":E8,"00049":C8,"00051":D8,"00052":I8,"00053":A8,"00054":O8,"00055":T8,"00056":N8,"00060":R8,"00064":M8,"00066":P8,"00067":F8,"00068":L8,"00070":V8,"00071":z8,"00072":j8,"00073":B8,derm:H8,larter:$8,icut:q8,ider:U8,oft:G8,"cutaneous-injection":Y8,"dermal-injection":W8,"nose-left":K8,"nose-right":Z8,"both-nostrils":X8,"eye-left":Q8,"eye-right":J8,"both-eyes":e$,"ear-left":t$,"ear-right":i$,"both-ears":a$,"vitreal-injection":n$,transdermal:r$,hyperdermoclyse:o$,"00003":s$,"00004":l$,"00006":c$,"00007":d$,"00014":u$,"00015":h$,"00016":p$,"00017":m$,"00018":f$,"00019":g$,"00020":v$,"00021":y$,"00022":b$,"00023":_$,"00024":x$,"00025":w$,"00026":S$,"00027":k$,"00028":E$,"00029":C$,"00030":D$,"00031":I$,"00032":A$,"00036":O$,"00037":T$,"00038":N$,"00039":R$,"00040":M$,"00041":P$,"00042":F$,"00043":L$,"00044":V$,"00047":z$,"00048":j$,"00050":B$,"00057":H$,"00058":$$,"00059":q$,"00061":U$,"00062":G$,"00063":Y$,"00065":W$,"00069":K$},Vfe={nl:u8,fr:CH,de:i4,en:B9},Z$={};Ae(Z$,{default:()=>zfe,rsb:()=>J$,rsw:()=>Q$,vitalink:()=>X$});var X$="Vitalink",Q$="Réseau Santé Wallon",J$="Brüsseler Gesundheitsnetzwerk",zfe={vitalink:X$,rsw:Q$,rsb:J$},eq={};Ae(eq,{default:()=>jfe,rsb:()=>aq,rsw:()=>iq,vitalink:()=>tq});var tq="Vitalink",iq="Réseau Santé Wallon",aq="Brussels Health Network",jfe={vitalink:tq,rsw:iq,rsb:aq},nq={};Ae(nq,{default:()=>Bfe,rsb:()=>sq,rsw:()=>oq,vitalink:()=>rq});var rq="Vitalink",oq="Réseau Santé Wallon",sq="Réseau Santé Bruxellois",Bfe={vitalink:rq,rsw:oq,rsb:sq},lq={};Ae(lq,{default:()=>Hfe,rsb:()=>uq,rsw:()=>dq,vitalink:()=>cq});var cq="Vitalink",dq="Réseau Santé Wallon",uq="Brusselse Gezondheidsnetwerk",Hfe={vitalink:cq,rsw:dq,rsb:uq},$fe={nl:lq,fr:nq,de:Z$,en:eq},hq={};Ae(hq,{alphabetical:()=>wq,author:()=>fq,date:()=>gq,default:()=>qfe,expiration:()=>xq,medicationName:()=>pq,role:()=>vq,sort:()=>_q,"sorting-ascendant":()=>yq,"sorting-descendent":()=>bq,validityDate:()=>mq});var pq="Arzneimittel",mq="Ablaufdatum",fq="Verfasser",gq="Datum",vq="Benutzerrolle",yq="Aufsteigend sortieren",bq="Absteigend sortieren",_q="Sortieren",xq={asc:"läuft zuerst ab",desc:"läuft zuletzt ab"},wq={asc:"Medikamentenname (A→Z)",desc:"Medikamentenname (Z→A)"},qfe={medicationName:pq,validityDate:mq,author:fq,date:gq,role:vq,"sorting-ascendant":yq,"sorting-descendent":bq,sort:_q,expiration:xq,alphabetical:wq},Sq={};Ae(Sq,{alphabetical:()=>Rq,author:()=>Iq,date:()=>Aq,default:()=>Ufe,expiration:()=>Nq,medicationName:()=>kq,role:()=>Oq,sort:()=>Tq,"sorting-ascendant":()=>Cq,"sorting-descendent":()=>Dq,validityDate:()=>Eq});var kq="Drug",Eq="Validity",Cq="Sort by ascending order",Dq="Sort by descending order",Iq="Author",Aq="Date",Oq="Role",Tq="Sort by",Nq={asc:"expires first",desc:"expires last"},Rq={asc:"medication name (A→Z)",desc:"medication name (Z→A)"},Ufe={medicationName:kq,validityDate:Eq,"sorting-ascendant":Cq,"sorting-descendent":Dq,author:Iq,date:Aq,role:Oq,sort:Tq,expiration:Nq,alphabetical:Rq},Mq={};Ae(Mq,{alphabetical:()=>qq,author:()=>Lq,date:()=>Vq,default:()=>Gfe,expiration:()=>$q,medicationName:()=>Pq,role:()=>zq,sort:()=>Hq,"sorting-ascendant":()=>jq,"sorting-descendent":()=>Bq,validityDate:()=>Fq});var Pq="Médicament",Fq="Validité",Lq="Auteur",Vq="Date",zq="Qualité",jq="Trier par ordre croissant",Bq="Trier par ordre décroissant",Hq="Trier",$q={asc:"expire en premier",desc:"expire en dernier"},qq={asc:"nom du médicament (A→Z)",desc:"nom du médicament (Z→A)"},Gfe={medicationName:Pq,validityDate:Fq,author:Lq,date:Vq,role:zq,"sorting-ascendant":jq,"sorting-descendent":Bq,sort:Hq,expiration:$q,alphabetical:qq},Uq={};Ae(Uq,{alphabetical:()=>tU,author:()=>Wq,date:()=>Kq,default:()=>Yfe,expiration:()=>eU,medicationName:()=>Gq,role:()=>Zq,sort:()=>Jq,"sorting-ascendant":()=>Xq,"sorting-descendent":()=>Qq,validityDate:()=>Yq});var Gq="Geneesmiddel",Yq="Geldigheid",Wq="Auteur",Kq="Datum",Zq="Rol",Xq="Oplopend sorteren",Qq="Aflopend sorteren",Jq="Sorteren",eU={asc:"vervalt eerst",desc:"vervalt laatst"},tU={asc:"medicatienaam (A→Z)",desc:"medicatienaam (Z→A)"},Yfe={medicationName:Gq,validityDate:Yq,author:Wq,date:Kq,role:Zq,"sorting-ascendant":Xq,"sorting-descendent":Qq,sort:Jq,expiration:eU,alphabetical:tU},Wfe={nl:Uq,fr:Mq,de:hq,en:Sq},iU={};Ae(iU,{antibiotherapy:()=>dU,default:()=>Kfe,dentalcare:()=>hU,diabetes:()=>aU,infectiology:()=>uU,medication:()=>nU,movement:()=>rU,nutrition:()=>oU,oncology:()=>cU,pregnancy:()=>pU,renalinsufficiency:()=>sU,woundcare:()=>lU});var aU="Diabetes",nU="Medikation",rU="Bewegung",oU="Ernährung",sU="Nierinsuffizienz",lU="Wundversorgung",cU="Onkologie",dU="Antibiotikatherapie",uU="Infektiologie",hU="Zahnpflege",pU="Schwangerschaft",Kfe={diabetes:aU,medication:nU,movement:rU,nutrition:oU,renalinsufficiency:sU,woundcare:lU,oncology:cU,antibiotherapy:dU,infectiology:uU,dentalcare:hU,pregnancy:pU},mU={};Ae(mU,{antibiotherapy:()=>wU,default:()=>Zfe,dentalcare:()=>kU,diabetes:()=>fU,infectiology:()=>SU,medication:()=>gU,movement:()=>vU,nutrition:()=>yU,oncology:()=>xU,pregnancy:()=>EU,renalinsufficiency:()=>bU,woundcare:()=>_U});var fU="Diabetes",gU="Medication",vU="Movement",yU="Nutrition",bU="Renal Insufficiency",_U="Wound Care",xU="Oncology",wU="Antibiotic Therapy",SU="Infectiology",kU="Dental Care",EU="Pregnancy",Zfe={diabetes:fU,medication:gU,movement:vU,nutrition:yU,renalinsufficiency:bU,woundcare:_U,oncology:xU,antibiotherapy:wU,infectiology:SU,dentalcare:kU,pregnancy:EU},CU={};Ae(CU,{antibiotherapy:()=>MU,default:()=>Xfe,dentalcare:()=>FU,diabetes:()=>DU,infectiology:()=>PU,medication:()=>IU,movement:()=>AU,nutrition:()=>OU,oncology:()=>RU,pregnancy:()=>LU,renalinsufficiency:()=>TU,woundcare:()=>NU});var DU="Diabète",IU="Médication",AU="Mouvement",OU="Nutrition",TU="Insuffisante rénale",NU="Soins de plaie",RU="Oncologie",MU="Antibiothérapie",PU="Infectiologie",FU="Soins dentaires",LU="Grossesse",Xfe={diabetes:DU,medication:IU,movement:AU,nutrition:OU,renalinsufficiency:TU,woundcare:NU,oncology:RU,antibiotherapy:MU,infectiology:PU,dentalcare:FU,pregnancy:LU},VU={};Ae(VU,{antibiotherapy:()=>GU,default:()=>Qfe,dentalcare:()=>WU,diabetes:()=>zU,infectiology:()=>YU,medication:()=>jU,movement:()=>BU,nutrition:()=>HU,oncology:()=>UU,pregnancy:()=>KU,renalinsufficiency:()=>$U,woundcare:()=>qU});var zU="Diabetes",jU="Medicatie",BU="Beweging",HU="Voeding",$U="Nierinsufficiëntie",qU="Wondzorg",UU="Oncologie",GU="Antibiotherapie",YU="Infectiologie",WU="Tandheelkundige zorgen",KU="Zwangerschap",Qfe={diabetes:zU,medication:jU,movement:BU,nutrition:HU,renalinsufficiency:$U,woundcare:qU,oncology:UU,antibiotherapy:GU,infectiology:YU,dentalcare:WU,pregnancy:KU},Jfe={nl:VU,fr:CU,de:iU,en:mU},ZU={};Ae(ZU,{"add-note-dialog":()=>XU,"add-note-error":()=>QU,cancel:()=>JU,confirm:()=>eG,default:()=>ege,"delete-dialog":()=>dG,disclaimer:()=>uG,filters:()=>tG,history:()=>iG,noDiaryNotes:()=>aG,noNote:()=>nG,noteDetailsDialog:()=>rG,readContent:()=>sG,readmore:()=>oG,sorting:()=>lG,table:()=>cG});var XU={cancel:"Abbrechen","character-counter":"maximale Zeichenanzahl",confirm:"Bestätigen",logout:"Abmelden","error-note-not-added":"Die Notiz konnte nicht hinzugefügt werden.","field-description":"Notiz",title:"Notiz hinzufügen","file-size-error":"Eine oder mehrere ausgewählte Dateien sind zu groß. Die maximale Dateigröße beträgt 6 MB.","file-upload-button":"Zur Auswahl","file-upload-title":"Anhang","file-info":"Erlaubte Formate: jpeg / jpg / pdf / png / tiff . Maximale Größe: 6 MB",warning:`Bitte beachten: <br>Über diese Anwendung ist es derzeit nicht möglich, Journalnotizen bei "Réseau Santé Wallon" und "Réseau Santé Bruxellois" zu löschen oder zu erstellen.<br>Wenn Sie also eine neue Notiz erstellen, wird diese in der flämischen Gesundheitssafe 'Vitalink' gespeichert.<br>Wir hoffen, Ihnen in Kürze alle Optionen anbieten zu können.`},QU={VIDIS_0410:"Ihr Text überschreitet die zulässige Länge von 319 Zeichen. (VIDIS_0410)",VIDIS_0415:"Eine oder mehrere ausgewählte Dateien sind zu groß. Die maximale Dateigröße beträgt 6 MB. (VIDIS_0415)",VIDIS_0420:"Der Typ einer Ihrer Dateien wird nicht unterstützt. Erlaubte Formate: jpeg/jpg/png/tiff. (VIDIS_0420)",VIDIS_0425:"Die Anzahl der Anhänge überschreitet das zulässige Limit",VIDIS_1000:"Diese version der notiz ist nicht mehr verfügbar. Bitte aktualisieren Sie die seite. (VIDIS_1000)",VIDIS_1005:"Sie sind nicht berechtigt, diese notiz zu ändern (VIDIS_1005)",default:"Die Notiz konnte nicht hinzugefügt werden."},JU="Abbrechen",eG="Bestätigen",tG={author:"Verfasser",clearfilters:"Filter löschen",date:"Datum",errFrom:"Das Anfangsdatum muss vor dem Enddatum liegen",errUntil:"Das Enddatum muss nach dem Anfangsdatum liegen",filter:"Filter",from:"Von",nonefound:"Keine Einträge gefunden.",role:"Benutzerrolle",until:"Bis",annex:"Nur mit Anhängen",deleteSelection:"Selektion löschen",tags:"Schüsselwörter"},iG="Historisch",aG="Es sind keine gemeinsamen Journalnotizen verfügbar",nG={part1:"Eine Journalnotiz kann mit einem Tagebucheintrag verglichen werden, auf den Sie und Ihre Gesundheitsdienstleister Zugriff haben. Journalnotizen enthalten gemeinsame Informationen über einen Patienten und ermöglichen eine bessere Zusammenarbeit zwischen den an der Behandlung Beteiligten, einschließlich des Patienten.",part2:"Derzeit stehen für Sie noch keine Journalnotizen zur Verfügung. Wenn Sie eine neue Journalnotiz erstellen möchten, klicken Sie auf die Schaltfläche {addNote}.",part3:"Bitte beachten",part4:'Über diese Anwendung ist es derzeit nicht möglich, Journalnotizen bei "Réseau Santé Wallon" und "Réseau Santé Bruxellois" zu löschen oder zu erstellen.',part5:"Wenn Sie also eine neue Notiz erstellen, wird diese in der flämischen Gesundheitssafe 'Vitalink' gespeichert.",part6:"Wir hoffen, Ihnen in Kürze alle Optionen anbieten zu können."},rG={author:"Verfasser",date:"Datum",note:"Notiz",role:"Benutzerrolle"},oG="Weiterlesen",sG="Lesen Sie die Notiz",lG={numberPerPage:"Anzahl pro Seite","sorting-title":"Sortieren"},cG={addNote:"Eintrag hinzufügen",author:"Verfasser",date:"Datum",next:"Nächster",note:"Notiz",attachment:"{count, plural, one{Anhang} other{Anhänge}}",readMore:"Weiterlesen",role:"Benutzerrolle",error:"Leider war es nicht möglich, die Details der Notiz wiederzufinden. Versuchen Sie es erneut?",views:{full:"Vollständige Liste",active:"Aktive",archived:"Archivierte"}},dG={title:"Archivieren diese Journalnotiz",message:"Möchten Sie diese Journalnotiz archivieren?",confirm:"Archivieren diese Journalnotiz",cancel:"Abbrechen"},uG="Die Tagebuchnotizen werden von Ihrem Pflegeteam verwaltet und über Vitalink, Réseau Santé Wallon (RSW) und Réseau santé Bruxellois (RSB) geteilt.",ege={"add-note-dialog":XU,"add-note-error":QU,cancel:JU,confirm:eG,filters:tG,history:iG,noDiaryNotes:aG,noNote:nG,noteDetailsDialog:rG,readmore:oG,readContent:sG,sorting:lG,table:cG,"delete-dialog":dG,disclaimer:uG},hG={};Ae(hG,{"add-note-dialog":()=>pG,"add-note-error":()=>mG,cancel:()=>fG,confirm:()=>gG,default:()=>tge,"delete-dialog":()=>CG,disclaimer:()=>DG,filters:()=>vG,history:()=>yG,noDiaryNotes:()=>bG,noNote:()=>_G,noteDetailsDialog:()=>xG,readContent:()=>SG,readmore:()=>wG,sorting:()=>kG,table:()=>EG});var pG={cancel:"Cancel","character-counter":"maximum characters",confirm:"Confirm",logout:"Log out","error-note-not-added":"The note could not be added.","field-description":"Note",title:"Add a note","file-size-error":"One or more selected files are too large. The maximum file size is 6 MB.","file-upload-button":"Select","file-upload-title":"Attachment","file-info":"Allowed formats: jpeg / jpg / pdf / png / tiff. Maximum size: 6 MB",warning:'Warning: <br>Currently, it is not possible to delete or create journal notes in the "Réseau Santé Wallon" and the "Brussels Health Network" through this application.<br>Therefore, if you create a new note, it will be stored in the Flemish vault "Vitalink".<br>We hope to offer all options soon.'},mG={VIDIS_0410:"Your text exceeds the allowed length of 319 characters. (VIDIS_0410)",VIDIS_0415:"One or more selected files are too large. The maximum file size is 6 MB. (VIDIS_0415)",VIDIS_0420:"The type of one of your files is not supported. Allowed formats: jpeg / jpg / png / tiff. (VIDIS_0420)",VIDIS_0425:"The number of attachments exceeds the allowed limit",VIDIS_1000:"This version of the note is no longer available. Please refresh the page. (VIDIS_1000)",VIDIS_1005:"You are not authorized to modify this note (VIDIS_1005)",default:"The note could not be added."},fG="Cancel",gG="Confirm",vG={author:"Author",clearfilters:"Clear filters",date:"Date",errFrom:"The start date must be earlier than the end date",errUntil:"The end date must be later than the start date",filter:"Filter",from:"From",nonefound:"No results found.",role:"Role",until:"Until",annex:"Only with attachments",deleteSelection:"Delete selection",tags:"Keywords"},yG="History",bG="There are no shared diary notes available",_G={part1:"A diary note can be compared to a journal entry that you and your care providers have access to. Diary notes contain shared information about a patient and facilitate better cooperation between the parties involved in the treatment, including the patient.",part2:"Currently, there are no diary notes available to you. If you wish to create one, click the button {addNote}.",part3:"Warning",part4:'Currently, it is not possible to delete or create diary notes in the "Réseau Santé Wallon" and the "Brussels Health Network" through this application.',part5:'Therefore, if you create a new note, it will be stored in the Flemish vault "Vitalink".',part6:"We hope to offer all options soon."},xG={author:"Author",date:"Date",note:"Note",role:"Role"},wG="Read more",SG="Read the note",kG={numberPerPage:"Number per page","sorting-title":"Sort"},EG={addNote:"Add a note",author:"Author",date:"Date",next:"Next",note:"Note",attachment:"{count, plural, one{Attachment} other{Attachments}}",readMore:"Read more",role:"Role",error:"Unfortunately, the details of the note could not be retrieved. Do you want to try again?",views:{full:"Full list",active:"Active",archived:"Archived"}},CG={title:"Archive this diary note",message:"Do you want to archive this diary note ?",confirm:"Archive this diary note",cancel:"Cancel"},DG="The journal notes are managed by your care team and shared via Vitalink, Réseau Santé Wallon (RSW), and Réseau Santé Bruxellois (RSB).",tge={"add-note-dialog":pG,"add-note-error":mG,cancel:fG,confirm:gG,filters:vG,history:yG,noDiaryNotes:bG,noNote:_G,noteDetailsDialog:xG,readmore:wG,readContent:SG,sorting:kG,table:EG,"delete-dialog":CG,disclaimer:DG},IG={};Ae(IG,{"add-note-dialog":()=>AG,"add-note-error":()=>OG,cancel:()=>TG,confirm:()=>NG,default:()=>ige,"delete-dialog":()=>HG,disclaimer:()=>$G,filters:()=>RG,history:()=>MG,noDiaryNotes:()=>PG,noNote:()=>FG,noteDetailsDialog:()=>LG,readContent:()=>zG,readmore:()=>VG,sorting:()=>jG,table:()=>BG});var AG={cancel:"Annuler","character-counter":"caractères maximum",confirm:"Confirmer",logout:"Me déconnecter","error-note-not-added":"La note n’a pas pu être ajoutée.","field-description":"Note",title:"Ajouter une note","file-size-error":"Un ou plusieurs fichiers sélectionnés sont trop volumineux. La taille maximale du fichier est de 6 MB.","file-upload-button":"Sélectionner","file-upload-title":"Pièce jointe","file-info":"Formats autorisés : jpeg / jpg / pdf / png / tiff . Taille maximale : 6 MB",warning:`Attention : <br> Par cette application, il n'est actuellement pas possible de supprimer ou de créer des notes de journal au "Réseau Santé Wallon" et au "Réseau Santé Bruxellois".<br> Par conséquent, si vous créez une nouvelle note, elle sera stockée dans le coffre-fort flamand "Vitalink".<br>Nous espérons cependant pouvoir vous offrir toutes les options bientôt.`},OG={VIDIS_0410:"Votre texte dépasse la longueur autorisée de 319 caractères. (VIDIS_0410)",VIDIS_0415:"Un ou plusieurs fichiers sélectionnés sont trop volumineux. La taille maximale du fichier est de 6 Mo. (VIDIS_0415)",VIDIS_0420:"Le type de l'un de vos fichiers n'est pas supportée. Formats autorisés: jpeg / jpg / png / tiff. (VIDIS_0420)",VIDIS_0425:"Le nombre de pièces jointes dépasse la limite autorisée",VIDIS_1000:"Cette version de la note n'est plus disponible. Veuillez rafraichir la page. (VIDIS_1000)",VIDIS_1005:"Vous n'êtes pas autorisé à modifier cette note (VIDIS_1005)",default:"La note n’a pas pu être ajoutée."},TG="Annuler",NG="Confirmer",RG={author:"Auteur",clearfilters:"Vider les filtres",date:"Date",errFrom:"La date de début doit être antérieure à la date de fin",errUntil:"La date de fin doit être postérieure à la date de début",filter:"Filtre",from:"De",nonefound:"Aucun résultat trouvé.",role:"Qualité",until:"Jusqu’au",annex:"Uniquement avec annexes",deleteSelection:"Effacer la sélection",tags:"Mots-clés"},MG="Historique",PG="Il n’y a pas de notes de journal partagées disponibles",FG={part1:"Une note de journal peut être comparée à une entrée de journal à laquelle vous et vos prestataires de soins avez accès. Les notes de journal contiennent des informations partagées sur un patient et permettent une meilleure coopération entre les acteurs engagés dans le traitement, y compris le patient.",part2:"Il n’y a actuellement aucune note de journal à votre disposition. Si vous souhaitez en créer une, cliquez sur le bouton {addNote}.",part3:"Attention",part4:`Par cette application, il n'est actuellement pas possible de supprimer ou de créer des notes de journal au "Réseau Santé Wallon" et au "Réseau Santé Bruxellois".`,part5:'Par conséquent, si vous créez une nouvelle note, elle sera stockée dans le coffre-fort flamand "Vitalink".',part6:"Nous espérons cependant pouvoir vous offrir toutes les options bientôt."},LG={author:"Auteur",date:"Date",note:"Note",role:"Qualité"},VG="Lire la suite",zG="Lire la note",jG={numberPerPage:"Nombre par page","sorting-title":"Tri"},BG={addNote:"Ajouter une note",author:"Auteur",date:"Date",next:"Suivant",note:"Note",attachment:"{count, plural, one{Pièce jointe} other{Pièces jointes}}",readMore:"Lire la suite",role:"Qualité",error:"Malheureusement, il n’a pas été possible de récupérer les détails de la note. Essayez-vous à nouveau?",views:{full:"Toute la liste",active:"Active(s)",archived:"Archivée(s)"}},HG={title:"Archiver cette note de journal",message:"Voulez-vous archiver cette note de journal?",confirm:"Archiver cette note de journal",cancel:"Annuler"},$G="Les notes de journal sont gérées par votre équipe de soins et sont partagées via Vitalink, Réseau Santé Wallon (RSW) et Réseau santé Bruxellois (RSB).",ige={"add-note-dialog":AG,"add-note-error":OG,cancel:TG,confirm:NG,filters:RG,history:MG,noDiaryNotes:PG,noNote:FG,noteDetailsDialog:LG,readmore:VG,readContent:zG,sorting:jG,table:BG,"delete-dialog":HG,disclaimer:$G},qG={};Ae(qG,{"add-note-dialog":()=>UG,"add-note-error":()=>GG,cancel:()=>YG,confirm:()=>WG,default:()=>age,"delete-dialog":()=>nY,disclaimer:()=>rY,filters:()=>KG,history:()=>ZG,noDiaryNotes:()=>XG,noNote:()=>QG,noteDetailsDialog:()=>JG,readContent:()=>tY,readmore:()=>eY,sorting:()=>iY,table:()=>aY});var UG={cancel:"Annuleren","character-counter":"maximum aantal tekens",confirm:"Bevestigen",logout:"Afmelden","error-note-not-added":"De notitie kon niet worden toegevoegd.","field-description":"Notitie",title:"Notitie toevoegen","file-size-error":"Een of meer geselecteerde bestanden zijn te groot. De maximale bestandsgrootte is 6 MB.","file-upload-button":"Selecteer","file-upload-title":"Bijlage","file-info":"Toegestane formaten: jpeg / jpg / pdf / png / tiff . Maximale bestandsgrootte: 6 MB",warning:"Opgelet: <br>Via deze applicatie is het momenteel niet mogelijk om journaalnotities bij 'Réseau Santé Wallon’ en ‘Réseau Santé Bruxellois' te verwijderen of aan te maken.<br>Indien u een nieuwe notitie aanmaakt, zal die bijgevolg worden opgeslagen bij de Vlaamse gezondheidskluis 'Vitalink'.<br>We hopen u binnenkort wel alle mogelijkheden te kunnen aanbieden."},GG={VIDIS_0410:"Uw tekst overschrijdt de toegestane lengte van 319 tekens. (VIDIS_0410)",VIDIS_0415:"Een of meer geselecteerde bestanden zijn te groot. De maximale bestandsgrootte is 6 MB. (VIDIS_0415)",VIDIS_0420:"Het type van een van uw bestanden wordt niet ondersteund. Toegestane formaten: jpeg/jpg/png/tiff. (VIDIS_0420)",VIDIS_0425:"Het aantal bijlagen overschrijdt de toegestane grens",VIDIS_1000:"Deze versie van de notitie is niet langer beschikbaar. Gelieve de pagina te vernieuwen. (VIDIS_1000)",VIDIS_1005:"U bent niet bevoegd om deze notitie te wijzigen. (VIDIS_1005)",default:"De notitie kon niet worden toegevoegd."},YG="Annuleren",WG="Bevestigen",KG={author:"Auteur",clearfilters:"Verwijder filters",date:"Datum",errFrom:"De begindatum moet voor de einddatum liggen",errUntil:"De einddatum moet na de begindatum liggen",filter:"Filter",from:"Van",nonefound:"Geen resultaten gevonden.",role:"Rol",until:"Tot",annex:"Enkel met bijlagen",deleteSelection:"Selectie verwijderen",tags:"Sleutelwoorden"},ZG="Historiek",XG="Er zijn geen gedeelde journaalnota's beschikbaar",QG={part1:"Een journaalnotitie kan u vergelijken met een aantekening in een dagboek waartoe u en uw zorgverleners toegang hebben. Journaalnotities bevatten gedeelde informatie over een patiënt en zorgen voor een betere samenwerking tussen degenen die bij de behandeling betrokken zijn, inclusief de patiënt.",part2:"Momenteel zijn er nog geen journaalnotities voor u beschikbaar. Indien u er een wenst aan te maken, klik dan op de knop {addNote}.",part3:"Opgelet",part4:"Via deze applicatie is het momenteel niet mogelijk om journaalnotities bij 'Réseau Santé Wallon’ en ‘Réseau Santé Bruxellois' te verwijderen of aan te maken.",part5:"Indien u een nieuwe notitie aanmaakt, zal die bijgevolg worden opgeslagen bij de Vlaamse gezondheidskluis 'Vitalink'.",part6:"We hopen u binnenkort wel alle mogelijkheden te kunnen aanbieden."},JG={author:"Auteur",date:"Datum",note:"Nota",role:"Rol"},eY="Lees meer",tY="Lees de nota",iY={numberPerPage:"Aantal per pagina","sorting-title":"Sortering"},aY={addNote:"Nota toevoegen",author:"Auteur",date:"Datum",next:"Volgende",note:"Nota",attachment:"{count, plural, one{Bijlage} other{Bijlagen}}",readMore:"Lees verder",role:"Rol",error:"Het is jammer genoeg niet gelukt de details van de nota op te halen. Probeert u het even opnieuw?",views:{full:"Volledige lijst",active:"Actief",archived:"Gearchiveerde"}},nY={title:"Archiveren journaalnotitie",message:"Wilt U deze journaalnotitie archiveren?",confirm:"Archiveren journaalnotitie",cancel:"Annuleren"},rY="De journaalnota's worden beheerd door uw zorgteam en wordt gedeeld via Vitalink, Réseau Santé Wallon (RSW) en Réseau santé Bruxellois (RSB).",age={"add-note-dialog":UG,"add-note-error":GG,cancel:YG,confirm:WG,filters:KG,history:ZG,noDiaryNotes:XG,noNote:QG,noteDetailsDialog:JG,readmore:eY,readContent:tY,sorting:iY,table:aY,"delete-dialog":nY,disclaimer:rY},nge={nl:qG,fr:IG,de:ZU,en:hG},rge=class extends el{getTranslation(e){return yt({commons:Qe(Q({},yfe[e]),{matPaginator:Sfe[e],days:lfe[e],errors:pfe[e],roles:Rfe[e],safes:$fe[e],period:Ife[e],routes:Vfe[e],sortDropdown:Wfe[e],tags:Jfe[e]}),diaryNotesPage:nge[e]})}},Ye=function(e){return e[e.State=0]="State",e[e.Transition=1]="Transition",e[e.Sequence=2]="Sequence",e[e.Group=3]="Group",e[e.Animate=4]="Animate",e[e.Keyframes=5]="Keyframes",e[e.Style=6]="Style",e[e.Trigger=7]="Trigger",e[e.Reference=8]="Reference",e[e.AnimateChild=9]="AnimateChild",e[e.AnimateRef=10]="AnimateRef",e[e.Query=11]="Query",e[e.Stagger=12]="Stagger",e}(Ye||{}),ln="*";function oge(e,t=null){return{type:Ye.Sequence,steps:e,options:t}}function By(e){return{type:Ye.Style,styles:e,offset:null}}var Is=class{constructor(e=0,t=0){o(this,"_onDoneFns",[]);o(this,"_onStartFns",[]);o(this,"_onDestroyFns",[]);o(this,"_originalOnDoneFns",[]);o(this,"_originalOnStartFns",[]);o(this,"_started",!1);o(this,"_destroyed",!1);o(this,"_finished",!1);o(this,"_position",0);o(this,"parentPlayer",null);o(this,"totalTime");this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(e){this._position=this.totalTime?e*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},oY=class{constructor(e){o(this,"_onDoneFns",[]);o(this,"_onStartFns",[]);o(this,"_finished",!1);o(this,"_started",!1);o(this,"_destroyed",!1);o(this,"_onDestroyFns",[]);o(this,"parentPlayer",null);o(this,"totalTime",0);o(this,"players");this.players=e;let t=0,n=0,i=0,a=this.players.length;a==0?queueMicrotask(()=>this._onFinish()):this.players.forEach(r=>{r.onDone(()=>{++t==a&&this._onFinish()}),r.onDestroy(()=>{++n==a&&this._onDestroy()}),r.onStart(()=>{++i==a&&this._onStart()})}),this.totalTime=this.players.reduce((r,s)=>Math.max(r,s.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){let t=e*this.totalTime;this.players.forEach(n=>{let i=n.totalTime?Math.min(1,t/n.totalTime):1;n.setPosition(i)})}getPosition(){let e=this.players.reduce((t,n)=>t===null||n.totalTime>t.totalTime?n:t,null);return e!=null?e.getPosition():0}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){let t=e=="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},kf="!";function Hy(e){return new K(3e3,!1)}function sge(){return new K(3100,!1)}function lge(){return new K(3101,!1)}function cge(e){return new K(3001,!1)}function dge(e){return new K(3003,!1)}function uge(e){return new K(3004,!1)}function hge(e,t){return new K(3005,!1)}function pge(){return new K(3006,!1)}function mge(){return new K(3007,!1)}function fge(e,t){return new K(3008,!1)}function gge(e){return new K(3002,!1)}function vge(e,t,n,i,a){return new K(3010,!1)}function yge(){return new K(3011,!1)}function bge(){return new K(3012,!1)}function _ge(){return new K(3200,!1)}function xge(){return new K(3202,!1)}function wge(){return new K(3013,!1)}function Sge(e){return new K(3014,!1)}function kge(e){return new K(3015,!1)}function Ege(e){return new K(3016,!1)}function Cge(e,t){return new K(3404,!1)}function Dge(e){return new K(3502,!1)}function Ige(e){return new K(3503,!1)}function Age(){return new K(3300,!1)}function Oge(e){return new K(3504,!1)}function Tge(e){return new K(3301,!1)}function Nge(e,t){return new K(3302,!1)}function Rge(e){return new K(3303,!1)}function Mge(e,t){return new K(3400,!1)}function Pge(e){return new K(3401,!1)}function Fge(e){return new K(3402,!1)}function Lge(e,t){return new K(3505,!1)}function kn(e){switch(e.length){case 0:return new Is;case 1:return e[0];default:return new oY(e)}}function sY(e,t,n=new Map,i=new Map){let a=[],r=[],s=-1,l=null;if(t.forEach(c=>{let d=c.get("offset"),u=d==s,p=u&&l||new Map;c.forEach((v,f)=>{let x=f,w=v;if(f!=="offset")switch(x=e.normalizePropertyName(x,a),w){case kf:w=n.get(f);break;case ln:w=i.get(f);break;default:w=e.normalizeStyleValue(f,x,w,a);break}p.set(x,w)}),u||r.push(p),l=p,s=d}),a.length)throw Dge();return r}function Ef(e,t,n,i){switch(t){case"start":e.onStart(()=>i(n&&nh(n,"start",e)));break;case"done":e.onDone(()=>i(n&&nh(n,"done",e)));break;case"destroy":e.onDestroy(()=>i(n&&nh(n,"destroy",e)));break}}function nh(e,t,n){let i=n.totalTime,a=!!n.disabled,r=Cf(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,i??e.totalTime,a),s=e._data;return s!=null&&(r._data=s),r}function Cf(e,t,n,i,a="",r=0,s){return{element:e,triggerName:t,fromState:n,toState:i,phaseName:a,totalTime:r,disabled:!!s}}function ji(e,t,n){let i=e.get(t);return i||e.set(t,i=n),i}function $y(e){let t=e.indexOf(":"),n=e.substring(1,t),i=e.slice(t+1);return[n,i]}var Vge=typeof document>"u"?null:document.documentElement;function Df(e){let t=e.parentNode||e.host||null;return t===Vge?null:t}function zge(e){return e.substring(1,6)=="ebkit"}var Zn=null,qy=!1;function jge(e){Zn||(Zn=Bge()||{},qy=Zn.style?"WebkitAppearance"in Zn.style:!1);let t=!0;return Zn.style&&!zge(e)&&(t=e in Zn.style,!t&&qy&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Zn.style)),t}function Bge(){return typeof document<"u"?document.body:null}function lY(e,t){for(;t;){if(t===e)return!0;t=Df(t)}return!1}function cY(e,t,n){if(n)return Array.from(e.querySelectorAll(t));let i=e.querySelector(t);return i?[i]:[]}var Hge=1e3,dY="{{",$ge="}}",uY="ng-enter",bp="ng-leave",Yl="ng-trigger",ed=".ng-trigger",Uy="ng-animating",_p=".ng-animating";function tn(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:xp(parseFloat(t[1]),t[2])}function xp(e,t){switch(t){case"s":return e*Hge;default:return e}}function td(e,t,n){return e.hasOwnProperty("duration")?e:qge(e,t,n)}function qge(e,t,n){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,a,r=0,s="";if(typeof e=="string"){let l=e.match(i);if(l===null)return t.push(Hy()),{duration:0,delay:0,easing:""};a=xp(parseFloat(l[1]),l[2]);let c=l[3];c!=null&&(r=xp(parseFloat(c),l[4]));let d=l[5];d&&(s=d)}else a=e;if(!n){let l=!1,c=t.length;a<0&&(t.push(sge()),l=!0),r<0&&(t.push(lge()),l=!0),l&&t.splice(c,0,Hy())}return{duration:a,delay:r,easing:s}}function Uge(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function Aa(e,t,n){t.forEach((i,a)=>{let r=If(a);n&&!n.has(a)&&n.set(a,e.style[r]),e.style[r]=i})}function or(e,t){t.forEach((n,i)=>{let a=If(i);e.style[a]=""})}function Uo(e){return Array.isArray(e)?e.length==1?e[0]:oge(e):e}function Gge(e,t,n){let i=t.params||{},a=hY(e);a.length&&a.forEach(r=>{i.hasOwnProperty(r)||n.push(cge())})}var wp=new RegExp(`${dY}\\s*(.+?)\\s*${$ge}`,"g");function hY(e){let t=[];if(typeof e=="string"){let n;for(;n=wp.exec(e);)t.push(n[1]);wp.lastIndex=0}return t}function As(e,t,n){let i=`${e}`,a=i.replace(wp,(r,s)=>{let l=t[s];return l==null&&(n.push(dge()),l=""),l.toString()});return a==i?e:a}var Yge=/-+([a-z0-9])/g;function If(e){return e.replace(Yge,(...t)=>t[1].toUpperCase())}function Wge(e,t){return e===0||t===0}function Kge(e,t,n){if(n.size&&t.length){let i=t[0],a=[];if(n.forEach((r,s)=>{i.has(s)||a.push(s),i.set(s,r)}),a.length)for(let r=1;r<t.length;r++){let s=t[r];a.forEach(l=>s.set(l,Af(e,l)))}}return t}function zi(e,t,n){switch(t.type){case Ye.Trigger:return e.visitTrigger(t,n);case Ye.State:return e.visitState(t,n);case Ye.Transition:return e.visitTransition(t,n);case Ye.Sequence:return e.visitSequence(t,n);case Ye.Group:return e.visitGroup(t,n);case Ye.Animate:return e.visitAnimate(t,n);case Ye.Keyframes:return e.visitKeyframes(t,n);case Ye.Style:return e.visitStyle(t,n);case Ye.Reference:return e.visitReference(t,n);case Ye.AnimateChild:return e.visitAnimateChild(t,n);case Ye.AnimateRef:return e.visitAnimateRef(t,n);case Ye.Query:return e.visitQuery(t,n);case Ye.Stagger:return e.visitStagger(t,n);default:throw uge(t.type)}}function Af(e,t){return window.getComputedStyle(e)[t]}var Zge=(()=>{const t=class t{validateStyleProperty(i){return jge(i)}containsElement(i,a){return lY(i,a)}getParentElement(i){return Df(i)}query(i,a,r){return cY(i,a,r)}computeStyle(i,a,r){return r||""}animate(i,a,r,s,l,c=[],d){return new Is(r,s)}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),uh,pY=(uh=class{},o(uh,"NOOP",new Zge),uh),Of=class{},Xge=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Qge=class extends Of{normalizePropertyName(e,t){return If(e)}normalizeStyleValue(e,t,n,i){let a="",r=n.toString().trim();if(Xge.has(t)&&n!==0&&n!=="0")if(typeof n=="number")a="px";else{let s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&i.push(hge())}return r+a}},id="*";function Jge(e,t){let n=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(i=>eve(i,n,t)):n.push(e),n}function eve(e,t,n){if(e[0]==":"){let c=tve(e,n);if(typeof c=="function"){t.push(c);return}e=c}let i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return n.push(kge()),t;let a=i[1],r=i[2],s=i[3];t.push(Gy(a,s));let l=a==id&&s==id;r[0]=="<"&&!l&&t.push(Gy(s,a))}function tve(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(n,i)=>parseFloat(i)>parseFloat(n);case":decrement":return(n,i)=>parseFloat(i)<parseFloat(n);default:return t.push(Ege()),"* => *"}}var Wl=new Set(["true","1"]),Kl=new Set(["false","0"]);function Gy(e,t){let n=Wl.has(e)||Kl.has(e),i=Wl.has(t)||Kl.has(t);return(a,r)=>{let s=e==id||e==a,l=t==id||t==r;return!s&&n&&typeof a=="boolean"&&(s=a?Wl.has(e):Kl.has(e)),!l&&i&&typeof r=="boolean"&&(l=r?Wl.has(t):Kl.has(t)),s&&l}}var mY=":self",ive=new RegExp(`s*${mY}s*,?`,"g");function fY(e,t,n,i){return new ave(e).build(t,n,i)}var Yy="",ave=class{constructor(e){o(this,"_driver");this._driver=e}build(e,t,n){let i=new ove(t);return this._resetContextStyleTimingState(i),zi(this,Uo(e),i)}_resetContextStyleTimingState(e){e.currentQuerySelector=Yy,e.collectedStyles=new Map,e.collectedStyles.set(Yy,new Map),e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,i=t.depCount=0,a=[],r=[];return e.name.charAt(0)=="@"&&t.errors.push(pge()),e.definitions.forEach(s=>{if(this._resetContextStyleTimingState(t),s.type==Ye.State){let l=s,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,a.push(this.visitState(l,t))}),l.name=c}else if(s.type==Ye.Transition){let l=this.visitTransition(s,t);n+=l.queryCount,i+=l.depCount,r.push(l)}else t.errors.push(mge())}),{type:Ye.Trigger,name:e.name,states:a,transitions:r,queryCount:n,depCount:i,options:null}}visitState(e,t){let n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){let a=new Set,r=i||{};n.styles.forEach(s=>{s instanceof Map&&s.forEach(l=>{hY(l).forEach(c=>{r.hasOwnProperty(c)||a.add(c)})})}),a.size&&t.errors.push(fge(e.name,[...a.values()]))}return{type:Ye.State,name:e.name,style:n,options:i?{params:i}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let n=zi(this,Uo(e.animation),t),i=Jge(e.expr,t.errors);return{type:Ye.Transition,matchers:i,animation:n,queryCount:t.queryCount,depCount:t.depCount,options:Xn(e.options)}}visitSequence(e,t){return{type:Ye.Sequence,steps:e.steps.map(n=>zi(this,n,t)),options:Xn(e.options)}}visitGroup(e,t){let n=t.currentTime,i=0,a=e.steps.map(r=>{t.currentTime=n;let s=zi(this,r,t);return i=Math.max(i,t.currentTime),s});return t.currentTime=i,{type:Ye.Group,steps:a,options:Xn(e.options)}}visitAnimate(e,t){let n=lve(e.timings,t.errors);t.currentAnimateTimings=n;let i,a=e.styles?e.styles:By({});if(a.type==Ye.Keyframes)i=this.visitKeyframes(a,t);else{let r=e.styles,s=!1;if(!r){s=!0;let c={};n.easing&&(c.easing=n.easing),r=By(c)}t.currentTime+=n.duration+n.delay;let l=this.visitStyle(r,t);l.isEmptyStep=s,i=l}return t.currentAnimateTimings=null,{type:Ye.Animate,timings:n,style:i,options:null}}visitStyle(e,t){let n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){let n=[],i=Array.isArray(e.styles)?e.styles:[e.styles];for(let s of i)typeof s=="string"?s===ln?n.push(s):t.errors.push(gge()):n.push(new Map(Object.entries(s)));let a=!1,r=null;return n.forEach(s=>{if(s instanceof Map&&(s.has("easing")&&(r=s.get("easing"),s.delete("easing")),!a)){for(let l of s.values())if(l.toString().indexOf(dY)>=0){a=!0;break}}}),{type:Ye.Style,styles:n,easing:r,offset:e.offset,containsDynamicStyles:a,options:null}}_validateStyleAst(e,t){let n=t.currentAnimateTimings,i=t.currentTime,a=t.currentTime;n&&a>0&&(a-=n.duration+n.delay),e.styles.forEach(r=>{typeof r!="string"&&r.forEach((s,l)=>{let c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l),u=!0;d&&(a!=i&&a>=d.startTime&&i<=d.endTime&&(t.errors.push(vge(l,d.startTime,d.endTime)),u=!1),a=d.startTime),u&&c.set(l,{startTime:a,endTime:i}),t.options&&Gge(s,t.options,t.errors)})})}visitKeyframes(e,t){let n={type:Ye.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(yge()),n;let i=1,a=0,r=[],s=!1,l=!1,c=0,d=e.steps.map(E=>{let A=this._makeStyleAst(E,t),L=A.offset!=null?A.offset:sve(A.styles),M=0;return L!=null&&(a++,M=A.offset=L),l=l||M<0||M>1,s=s||M<c,c=M,r.push(M),A});l&&t.errors.push(bge()),s&&t.errors.push(_ge());let u=e.steps.length,p=0;a>0&&a<u?t.errors.push(xge()):a==0&&(p=i/(u-1));let v=u-1,f=t.currentTime,x=t.currentAnimateTimings,w=x.duration;return d.forEach((E,A)=>{let L=p>0?A==v?1:p*A:r[A],M=L*w;t.currentTime=f+x.delay+M,x.duration=M,this._validateStyleAst(E,t),E.offset=L,n.styles.push(E)}),n}visitReference(e,t){return{type:Ye.Reference,animation:zi(this,Uo(e.animation),t),options:Xn(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:Ye.AnimateChild,options:Xn(e.options)}}visitAnimateRef(e,t){return{type:Ye.AnimateRef,animation:this.visitReference(e.animation,t),options:Xn(e.options)}}visitQuery(e,t){let n=t.currentQuerySelector,i=e.options||{};t.queryCount++,t.currentQuery=e;let[a,r]=nve(e.selector);t.currentQuerySelector=n.length?n+" "+a:a,ji(t.collectedStyles,t.currentQuerySelector,new Map);let s=zi(this,Uo(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:Ye.Query,selector:a,limit:i.limit||0,optional:!!i.optional,includeSelf:r,animation:s,originalSelector:e.selector,options:Xn(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(wge());let n=e.timings==="full"?{duration:0,delay:0,easing:"full"}:td(e.timings,t.errors,!0);return{type:Ye.Stagger,animation:zi(this,Uo(e.animation),t),timings:n,options:null}}};function nve(e){let t=!!e.split(/\s*,\s*/).find(n=>n==mY);return t&&(e=e.replace(ive,"")),e=e.replace(/@\*/g,ed).replace(/@\w+/g,n=>ed+"-"+n.slice(1)).replace(/:animating/g,_p),[e,t]}function rve(e){return e?Q({},e):null}var ove=class{constructor(e){o(this,"errors");o(this,"queryCount",0);o(this,"depCount",0);o(this,"currentTransition",null);o(this,"currentQuery",null);o(this,"currentQuerySelector",null);o(this,"currentAnimateTimings",null);o(this,"currentTime",0);o(this,"collectedStyles",new Map);o(this,"options",null);o(this,"unsupportedCSSPropertiesFound",new Set);this.errors=e}};function sve(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(n=>{if(n instanceof Map&&n.has("offset")){let i=n;t=parseFloat(i.get("offset")),i.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let n=e;t=parseFloat(n.get("offset")),n.delete("offset")}return t}function lve(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let a=td(e,t).duration;return rh(a,0,"")}let n=e;if(n.split(/\s+/).some(a=>a.charAt(0)=="{"&&a.charAt(1)=="{")){let a=rh(0,0,"");return a.dynamic=!0,a.strValue=n,a}let i=td(n,t);return rh(i.duration,i.delay,i.easing)}function Xn(e){return e?(e=Q({},e),e.params&&(e.params=rve(e.params))):e={},e}function rh(e,t,n){return{duration:e,delay:t,easing:n}}function Tf(e,t,n,i,a,r,s=null,l=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:a,delay:r,totalTime:a+r,easing:s,subTimeline:l}}var Nf=class{constructor(){o(this,"_map",new Map)}get(e){return this._map.get(e)||[]}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},cve=1,dve=":enter",uve=new RegExp(dve,"g"),hve=":leave",pve=new RegExp(hve,"g");function gY(e,t,n,i,a,r=new Map,s=new Map,l,c,d=[]){return new mve().buildKeyframes(e,t,n,i,a,r,s,l,c,d)}var mve=class{buildKeyframes(e,t,n,i,a,r,s,l,c,d=[]){c=c||new Nf;let u=new fve(e,t,c,i,a,d,[]);u.options=l;let p=l.delay?tn(l.delay):0;u.currentTimeline.delayNextStep(p),u.currentTimeline.setStyles([r],null,u.errors,l),zi(this,n,u);let v=u.timelines.filter(f=>f.containsAnimation());if(v.length&&s.size){let f;for(let x=v.length-1;x>=0;x--){let w=v[x];if(w.element===t){f=w;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([s],null,u.errors,l)}return v.length?v.map(f=>f.buildKeyframes()):[Tf(t,[],[],[],0,p,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let n=t.subInstructions.get(t.element);if(n){let i=t.createSubContext(e.options),a=t.currentTimeline.currentTime,r=this._visitSubInstructions(n,i,i.options);a!=r&&t.transformIntoNewTimeline(r)}t.previousNode=e}visitAnimateRef(e,t){let n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,n),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,n){for(let i of e){let a=i==null?void 0:i.delay;if(a){let r=typeof a=="number"?a:tn(As(a,(i==null?void 0:i.params)??{},t.errors));n.delayNextStep(r)}}}_visitSubInstructions(e,t,n){let i=t.currentTimeline.currentTime,a=n.duration!=null?tn(n.duration):null,r=n.delay!=null?tn(n.delay):null;return a!==0&&e.forEach(s=>{let l=t.appendInstructionToTimeline(s,a,r);i=Math.max(i,l.duration+l.delay)}),i}visitReference(e,t){t.updateOptions(e.options,!0),zi(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let n=t.subContextCount,i=t,a=e.options;if(a&&(a.params||a.delay)&&(i=t.createSubContext(a),i.transformIntoNewTimeline(),a.delay!=null)){i.previousNode.type==Ye.Style&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=ad);let r=tn(a.delay);i.delayNextStep(r)}e.steps.length&&(e.steps.forEach(r=>zi(this,r,i)),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>n&&i.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let n=[],i=t.currentTimeline.currentTime,a=e.options&&e.options.delay?tn(e.options.delay):0;e.steps.forEach(r=>{let s=t.createSubContext(e.options);a&&s.delayNextStep(a),zi(this,r,s),i=Math.max(i,s.currentTimeline.currentTime),n.push(s.currentTimeline)}),n.forEach(r=>t.currentTimeline.mergeTimelineCollectedStyles(r)),t.transformIntoNewTimeline(i),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let n=e.strValue,i=t.params?As(n,t.params,t.errors):n;return td(i,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());let a=e.style;a.type==Ye.Keyframes?this.visitKeyframes(a,t):(t.incrementTime(n.duration),this.visitStyle(a,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.hasCurrentStyleProperties()&&n.forwardFrame();let a=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(a):n.setStyles(e.styles,a,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let n=t.currentAnimateTimings,i=t.currentTimeline.duration,a=n.duration,r=t.createSubContext().currentTimeline;r.easing=n.easing,e.styles.forEach(s=>{let l=s.offset||0;r.forwardTime(l*a),r.setStyles(s.styles,s.easing,t.errors,t.options),r.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(r),t.transformIntoNewTimeline(i+a),t.previousNode=e}visitQuery(e,t){let n=t.currentTimeline.currentTime,i=e.options||{},a=i.delay?tn(i.delay):0;a&&(t.previousNode.type===Ye.Style||n==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=ad);let r=n,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=s.length;let l=null;s.forEach((c,d)=>{t.currentQueryIndex=d;let u=t.createSubContext(e.options,c);a&&u.delayNextStep(a),c===t.element&&(l=u.currentTimeline),zi(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let p=u.currentTimeline.currentTime;r=Math.max(r,p)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(r),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let n=t.parentContext,i=t.currentTimeline,a=e.timings,r=Math.abs(a.duration),s=r*(t.currentQueryTotal-1),l=r*t.currentQueryIndex;switch(a.duration<0?"reverse":a.easing){case"reverse":l=s-l;break;case"full":l=n.currentStaggerTime;break}let c=t.currentTimeline;l&&c.delayNextStep(l);let d=c.currentTime;zi(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-d+(i.startTime-n.currentTimeline.startTime)}},ad={},fve=class vY{constructor(t,n,i,a,r,s,l,c){o(this,"_driver");o(this,"element");o(this,"subInstructions");o(this,"_enterClassName");o(this,"_leaveClassName");o(this,"errors");o(this,"timelines");o(this,"parentContext",null);o(this,"currentTimeline");o(this,"currentAnimateTimings",null);o(this,"previousNode",ad);o(this,"subContextCount",0);o(this,"options",{});o(this,"currentQueryIndex",0);o(this,"currentQueryTotal",0);o(this,"currentStaggerTime",0);this._driver=t,this.element=n,this.subInstructions=i,this._enterClassName=a,this._leaveClassName=r,this.errors=s,this.timelines=l,this.currentTimeline=c||new yY(this._driver,n,0),l.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,n){if(!t)return;let i=t,a=this.options;i.duration!=null&&(a.duration=tn(i.duration)),i.delay!=null&&(a.delay=tn(i.delay));let r=i.params;if(r){let s=a.params;s||(s=this.options.params={}),Object.keys(r).forEach(l=>{(!n||!s.hasOwnProperty(l))&&(s[l]=As(r[l],s,this.errors))})}}_copyOptions(){let t={};if(this.options){let n=this.options.params;if(n){let i=t.params={};Object.keys(n).forEach(a=>{i[a]=n[a]})}}return t}createSubContext(t=null,n,i){let a=n||this.element,r=new vY(this._driver,a,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(a,i||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(t),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(t){return this.previousNode=ad,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,n,i){let a={duration:n??t.duration,delay:this.currentTimeline.currentTime+(i??0)+t.delay,easing:""},r=new gve(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,a,t.stretchStartingKeyframe);return this.timelines.push(r),a}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,n,i,a,r,s){let l=[];if(a&&l.push(this.element),t.length>0){t=t.replace(uve,"."+this._enterClassName),t=t.replace(pve,"."+this._leaveClassName);let c=i!=1,d=this._driver.query(this.element,t,c);i!==0&&(d=i<0?d.slice(d.length+i,d.length):d.slice(0,i)),l.push(...d)}return!r&&l.length==0&&s.push(Sge()),l}},yY=class bY{constructor(t,n,i,a){o(this,"_driver");o(this,"element");o(this,"startTime");o(this,"_elementTimelineStylesLookup");o(this,"duration",0);o(this,"easing",null);o(this,"_previousKeyframe",new Map);o(this,"_currentKeyframe",new Map);o(this,"_keyframes",new Map);o(this,"_styleSummary",new Map);o(this,"_localTimelineStyles",new Map);o(this,"_globalTimelineStyles");o(this,"_pendingStyles",new Map);o(this,"_backFill",new Map);o(this,"_currentEmptyStepKeyframe",null);this._driver=t,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=a,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let n=this._keyframes.size===1&&this._pendingStyles.size;this.duration||n?(this.forwardTime(this.currentTime+t),n&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,n){return this.applyStylesToKeyframe(),new bY(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=cve,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,n){this._localTimelineStyles.set(t,n),this._globalTimelineStyles.set(t,n),this._styleSummary.set(t,{time:this.currentTime,value:n})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[n,i]of this._globalTimelineStyles)this._backFill.set(n,i||ln),this._currentKeyframe.set(n,ln);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,n,i,a){n&&this._previousKeyframe.set("easing",n);let r=a&&a.params||{},s=vve(t,this._globalTimelineStyles);for(let[l,c]of s){let d=As(c,r,i);this._pendingStyles.set(l,d),this._localTimelineStyles.has(l)||this._backFill.set(l,this._globalTimelineStyles.get(l)??ln),this._updateStyle(l,d)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,n)=>{this._currentKeyframe.set(n,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,n)=>{this._currentKeyframe.has(n)||this._currentKeyframe.set(n,t)}))}snapshotCurrentStyles(){for(let[t,n]of this._localTimelineStyles)this._pendingStyles.set(t,n),this._updateStyle(t,n)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let n in this._currentKeyframe)t.push(n);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((n,i)=>{let a=this._styleSummary.get(i);(!a||n.time>a.time)&&this._updateStyle(i,n.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,n=new Set,i=this._keyframes.size===1&&this.duration===0,a=[];this._keyframes.forEach((l,c)=>{let d=new Map([...this._backFill,...l]);d.forEach((u,p)=>{u===kf?t.add(p):u===ln&&n.add(p)}),i||d.set("offset",c/this.duration),a.push(d)});let r=[...t.values()],s=[...n.values()];if(i){let l=a[0],c=new Map(l);l.set("offset",0),c.set("offset",1),a=[l,c]}return Tf(this.element,a,r,s,this.duration,this.startTime,this.easing,!1)}},gve=class extends yY{constructor(t,n,i,a,r,s,l=!1){super(t,n,s.delay);o(this,"keyframes");o(this,"preStyleProps");o(this,"postStyleProps");o(this,"_stretchStartingKeyframe");o(this,"timings");this.keyframes=i,this.preStyleProps=a,this.postStyleProps=r,this._stretchStartingKeyframe=l,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let t=this.keyframes,{delay:n,duration:i,easing:a}=this.timings;if(this._stretchStartingKeyframe&&n){let r=[],s=i+n,l=n/s,c=new Map(t[0]);c.set("offset",0),r.push(c);let d=new Map(t[0]);d.set("offset",Wy(l)),r.push(d);let u=t.length-1;for(let p=1;p<=u;p++){let v=new Map(t[p]),f=v.get("offset"),x=n+f*i;v.set("offset",Wy(x/s)),r.push(v)}i=s,n=0,a="",t=r}return Tf(this.element,t,this.preStyleProps,this.postStyleProps,i,n,a,!0)}};function Wy(e,t=3){let n=Math.pow(10,t-1);return Math.round(e*n)/n}function vve(e,t){let n=new Map,i;return e.forEach(a=>{if(a==="*"){i??(i=t.keys());for(let r of i)n.set(r,ln)}else for(let[r,s]of a)n.set(r,s)}),n}function Ky(e,t,n,i,a,r,s,l,c,d,u,p,v){return{type:0,element:e,triggerName:t,isRemovalTransition:a,fromState:n,fromStyles:r,toState:i,toStyles:s,timelines:l,queriedElements:c,preStyleProps:d,postStyleProps:u,totalTime:p,errors:v}}var oh={},_Y=class{constructor(e,t,n){o(this,"_triggerName");o(this,"ast");o(this,"_stateStyles");this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,i){return yve(this.ast.matchers,e,t,n,i)}buildStyles(e,t,n){let i=this._stateStyles.get("*");return e!==void 0&&(i=this._stateStyles.get(e==null?void 0:e.toString())||i),i?i.buildStyles(t,n):new Map}build(e,t,n,i,a,r,s,l,c,d){var Jt;let u=[],p=this.ast.options&&this.ast.options.params||oh,v=s&&s.params||oh,f=this.buildStyles(n,v,u),x=l&&l.params||oh,w=this.buildStyles(i,x,u),E=new Set,A=new Map,L=new Map,M=i==="void",re={params:xY(x,p),delay:(Jt=this.ast.options)==null?void 0:Jt.delay},xe=d?[]:gY(e,t,this.ast.animation,a,r,f,w,re,c,u),Re=0;return xe.forEach(Ft=>{Re=Math.max(Ft.duration+Ft.delay,Re)}),u.length?Ky(t,this._triggerName,n,i,M,f,w,[],[],A,L,Re,u):(xe.forEach(Ft=>{let ft=Ft.element,Ut=ji(A,ft,new Set);Ft.preStyleProps.forEach(J=>Ut.add(J));let ne=ji(L,ft,new Set);Ft.postStyleProps.forEach(J=>ne.add(J)),ft!==t&&E.add(ft)}),Ky(t,this._triggerName,n,i,M,f,w,xe,[...E.values()],A,L,Re))}};function yve(e,t,n,i,a){return e.some(r=>r(t,n,i,a))}function xY(e,t){let n=Q({},t);return Object.entries(e).forEach(([i,a])=>{a!=null&&(n[i]=a)}),n}var bve=class{constructor(e,t,n){o(this,"styles");o(this,"defaultParams");o(this,"normalizer");this.styles=e,this.defaultParams=t,this.normalizer=n}buildStyles(e,t){let n=new Map,i=xY(e,this.defaultParams);return this.styles.styles.forEach(a=>{typeof a!="string"&&a.forEach((r,s)=>{r&&(r=As(r,i,t));let l=this.normalizer.normalizePropertyName(s,t);r=this.normalizer.normalizeStyleValue(s,l,r,t),n.set(s,r)})}),n}};function _ve(e,t,n){return new xve(e,t,n)}var xve=class{constructor(e,t,n){o(this,"name");o(this,"ast");o(this,"_normalizer");o(this,"transitionFactories",[]);o(this,"fallbackTransition");o(this,"states",new Map);this.name=e,this.ast=t,this._normalizer=n,t.states.forEach(i=>{let a=i.options&&i.options.params||{};this.states.set(i.name,new bve(i.style,a,n))}),Zy(this.states,"true","1"),Zy(this.states,"false","0"),t.transitions.forEach(i=>{this.transitionFactories.push(new _Y(e,i,this.states))}),this.fallbackTransition=wve(e,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,i){return this.transitionFactories.find(a=>a.match(e,t,n,i))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}};function wve(e,t,n){let i=[(s,l)=>!0],a={type:Ye.Sequence,steps:[],options:null},r={type:Ye.Transition,animation:a,matchers:i,options:null,queryCount:0,depCount:0};return new _Y(e,r,t)}function Zy(e,t,n){e.has(t)?e.has(n)||e.set(n,e.get(t)):e.has(n)&&e.set(t,e.get(n))}var Sve=new Nf,kve=class{constructor(e,t,n){o(this,"bodyNode");o(this,"_driver");o(this,"_normalizer");o(this,"_animations",new Map);o(this,"_playersById",new Map);o(this,"players",[]);this.bodyNode=e,this._driver=t,this._normalizer=n}register(e,t){let n=[],i=[],a=fY(this._driver,t,n,i);if(n.length)throw Ige();this._animations.set(e,a)}_buildPlayer(e,t,n){let i=e.element,a=sY(this._normalizer,e.keyframes,t,n);return this._driver.animate(i,a,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){let i=[],a=this._animations.get(e),r,s=new Map;if(a?(r=gY(this._driver,t,a,uY,bp,new Map,new Map,n,Sve,i),r.forEach(d=>{let u=ji(s,d.element,new Map);d.postStyleProps.forEach(p=>u.set(p,null))})):(i.push(Age()),r=[]),i.length)throw Oge();s.forEach((d,u)=>{d.forEach((p,v)=>{d.set(v,this._driver.computeStyle(u,v,ln))})});let l=r.map(d=>{let u=s.get(d.element);return this._buildPlayer(d,new Map,u)}),c=kn(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Tge();return t}listen(e,t,n,i){let a=Cf(t,"","","");return Ef(this._getPlayer(e),n,a,i),()=>{}}command(e,t,n,i){if(n=="register"){this.register(e,i[0]);return}if(n=="create"){let r=i[0]||{};this.create(e,t,r);return}let a=this._getPlayer(e);switch(n){case"play":a.play();break;case"pause":a.pause();break;case"reset":a.reset();break;case"restart":a.restart();break;case"finish":a.finish();break;case"init":a.init();break;case"setPosition":a.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e);break}}},Xy="ng-animate-queued",Eve=".ng-animate-queued",sh="ng-animate-disabled",Cve=".ng-animate-disabled",Dve="ng-star-inserted",Ive=".ng-star-inserted",Ave=[],wY={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ove={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ca="__ng_removed",Sp=class{constructor(e,t=""){o(this,"namespaceId");o(this,"value");o(this,"options");this.namespaceId=t;let n=e&&e.hasOwnProperty("value"),i=n?e.value:e;if(this.value=Mve(i),n){let a=e,{value:r}=a,s=kW(a,["value"]);this.options=s}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){let t=e.params;if(t){let n=this.options.params;Object.keys(t).forEach(i=>{n[i]==null&&(n[i]=t[i])})}}},is="void",lh=new Sp(is),Tve=class{constructor(e,t,n){o(this,"id");o(this,"hostElement");o(this,"_engine");o(this,"players",[]);o(this,"_triggers",new Map);o(this,"_queue",[]);o(this,"_elementListeners",new Map);o(this,"_hostClassName");this.id=e,this.hostElement=t,this._engine=n,this._hostClassName="ng-tns-"+e,Zi(t,this._hostClassName)}listen(e,t,n,i){if(!this._triggers.has(t))throw Nge();if(n==null||n.length==0)throw Rge();if(!Pve(n))throw Mge();let a=ji(this._elementListeners,e,[]),r={name:t,phase:n,callback:i};a.push(r);let s=ji(this._engine.statesByElement,e,new Map);return s.has(t)||(Zi(e,Yl),Zi(e,Yl+"-"+t),s.set(t,lh)),()=>{this._engine.afterFlush(()=>{let l=a.indexOf(r);l>=0&&a.splice(l,1),this._triggers.has(t)||s.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw Pge();return t}trigger(e,t,n,i=!0){let a=this._getTrigger(t),r=new kp(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Zi(e,Yl),Zi(e,Yl+"-"+t),this._engine.statesByElement.set(e,s=new Map));let l=s.get(t),c=new Sp(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),s.set(t,c),l||(l=lh),c.value!==is&&l.value===c.value){if(!Vve(l.params,c.params)){let v=[],f=a.matchStyles(l.value,l.params,v),x=a.matchStyles(c.value,c.params,v);v.length?this._engine.reportError(v):this._engine.afterFlush(()=>{or(e,f),Aa(e,x)})}return}let d=ji(this._engine.playersByElement,e,[]);d.forEach(v=>{v.namespaceId==this.id&&v.triggerName==t&&v.queued&&v.destroy()});let u=a.matchTransition(l.value,c.value,e,c.params),p=!1;if(!u){if(!i)return;u=a.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:u,fromState:l,toState:c,player:r,isFallbackTransition:p}),p||(Zi(e,Xy),r.onStart(()=>{Br(e,Xy)})),r.onDone(()=>{let v=this.players.indexOf(r);v>=0&&this.players.splice(v,1);let f=this._engine.playersByElement.get(e);if(f){let x=f.indexOf(r);x>=0&&f.splice(x,1)}}),this.players.push(r),d.push(r),r}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(i=>i.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(n=>n.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let n=this._engine.driver.query(e,ed,!0);n.forEach(i=>{if(i[ca])return;let a=this._engine.fetchNamespacesByElement(i);a.size?a.forEach(r=>r.triggerLeaveAnimation(i,t,!1,!0)):this.clearElementCache(i)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(i=>this.clearElementCache(i)))}triggerLeaveAnimation(e,t,n,i){let a=this._engine.statesByElement.get(e),r=new Map;if(a){let s=[];if(a.forEach((l,c)=>{if(r.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,is,i);d&&s.push(d)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,r),n&&kn(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),n=this._engine.statesByElement.get(e);if(t&&n){let i=new Set;t.forEach(a=>{let r=a.name;if(i.has(r))return;i.add(r);let s=this._triggers.get(r).fallbackTransition,l=n.get(r)||lh,c=new Sp(is),d=new kp(this.id,r,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:r,transition:s,fromState:l,toState:c,player:d,isFallbackTransition:!0})})}}removeNode(e,t){let n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let i=!1;if(n.totalAnimations){let a=n.players.length?n.playersByQueriedElement.get(e):[];if(a&&a.length)i=!0;else{let r=e;for(;r=r.parentNode;)if(n.statesByElement.get(r)){i=!0;break}}}if(this.prepareLeaveAnimationListeners(e),i)n.markElementAsRemoved(this.id,e,!1,t);else{let a=e[ca];(!a||a===wY)&&(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){Zi(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(n=>{let i=n.player;if(i.destroyed)return;let a=n.element,r=this._elementListeners.get(a);r&&r.forEach(s=>{if(s.name==n.triggerName){let l=Cf(a,n.triggerName,n.fromState.value,n.toState.value);l._data=e,Ef(n.player,s.phase,l,s.callback)}}),i.markedForDestroy?this._engine.afterFlush(()=>{i.destroy()}):t.push(n)}),this._queue=[],t.sort((n,i)=>{let a=n.transition.ast.depCount,r=i.transition.ast.depCount;return a==0||r==0?a-r:this._engine.driver.containsElement(n.element,i.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Nve=class{constructor(e,t,n){o(this,"bodyNode");o(this,"driver");o(this,"_normalizer");o(this,"players",[]);o(this,"newHostElements",new Map);o(this,"playersByElement",new Map);o(this,"playersByQueriedElement",new Map);o(this,"statesByElement",new Map);o(this,"disabledNodes",new Set);o(this,"totalAnimations",0);o(this,"totalQueuedPlayers",0);o(this,"_namespaceLookup",{});o(this,"_namespaceList",[]);o(this,"_flushFns",[]);o(this,"_whenQuietFns",[]);o(this,"namespacesByHostElement",new Map);o(this,"collectedEnterElements",[]);o(this,"collectedLeaveElements",[]);o(this,"onRemovalComplete",(e,t)=>{});this.bodyNode=e,this.driver=t,this._normalizer=n}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(n=>{n.queued&&e.push(n)})}),e}createNamespace(e,t){let n=new Tve(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){let n=this._namespaceList,i=this.namespacesByHostElement;if(n.length-1>=0){let a=!1,r=this.driver.getParentElement(t);for(;r;){let s=i.get(r);if(s){let l=n.indexOf(s);n.splice(l+1,0,e),a=!0;break}r=this.driver.getParentElement(r)}a||n.unshift(e)}else n.push(e);return i.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let n=this._fetchNamespace(e);this.namespacesByHostElement.delete(n.hostElement);let i=this._namespaceList.indexOf(n);i>=0&&this._namespaceList.splice(i,1),n.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,n=this.statesByElement.get(e);if(n){for(let i of n.values())if(i.namespaceId){let a=this._fetchNamespace(i.namespaceId);a&&t.add(a)}}return t}trigger(e,t,n,i){if(Zl(t)){let a=this._fetchNamespace(e);if(a)return a.trigger(t,n,i),!0}return!1}insertNode(e,t,n,i){if(!Zl(t))return;let a=t[ca];if(a&&a.setForRemoval){a.setForRemoval=!1,a.setForMove=!0;let r=this.collectedLeaveElements.indexOf(t);r>=0&&this.collectedLeaveElements.splice(r,1)}if(e){let r=this._fetchNamespace(e);r&&r.insertNode(t,n)}i&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Zi(e,sh)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Br(e,sh))}removeNode(e,t,n){if(Zl(t)){let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,n):this.markElementAsRemoved(e,t,!1,n);let a=this.namespacesByHostElement.get(t);a&&a.id!==e&&a.removeNode(t,n)}else this._onRemovalComplete(t,n)}markElementAsRemoved(e,t,n,i,a){this.collectedLeaveElements.push(t),t[ca]={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1,previousTriggersValues:a}}listen(e,t,n,i,a){return Zl(t)?this._fetchNamespace(e).listen(t,n,i,a):()=>{}}_buildInstruction(e,t,n,i,a){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,a)}destroyInnerAnimations(e){let t=this.driver.query(e,ed,!0);t.forEach(n=>this.destroyActiveAnimationsForElement(n)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,_p,!0),t.forEach(n=>this.finishActiveQueriedAnimationOnElement(n)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(n=>{n.queued?n.markedForDestroy=!0:n.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(n=>n.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return kn(this.players).onDone(()=>e());e()})}processLeaveNode(e){var n;let t=e[ca];if(t&&t.setForRemoval){if(e[ca]=wY,t.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(n=e.classList)!=null&&n.contains(sh)&&this.markElementAsDisabled(e,!1),this.driver.query(e,Cve,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((n,i)=>this._balanceNamespaceList(n,i)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++){let i=this.collectedEnterElements[n];Zi(i,Dve)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let n=[];try{t=this._flushAnimations(n,e)}finally{for(let i=0;i<n.length;i++)n[i]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++){let i=this.collectedLeaveElements[n];this.processLeaveNode(i)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(n=>n()),this._flushFns=[],this._whenQuietFns.length){let n=this._whenQuietFns;this._whenQuietFns=[],t.length?kn(t).onDone(()=>{n.forEach(i=>i())}):n.forEach(i=>i())}}reportError(e){throw Fge()}_flushAnimations(e,t){let n=new Nf,i=[],a=new Map,r=[],s=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(j=>{d.add(j);let G=this.driver.query(j,Eve,!0);for(let ie=0;ie<G.length;ie++)d.add(G[ie])});let u=this.bodyNode,p=Array.from(this.statesByElement.keys()),v=eb(p,this.collectedEnterElements),f=new Map,x=0;v.forEach((j,G)=>{let ie=uY+x++;f.set(G,ie),j.forEach($e=>Zi($e,ie))});let w=[],E=new Set,A=new Set;for(let j=0;j<this.collectedLeaveElements.length;j++){let G=this.collectedLeaveElements[j],ie=G[ca];ie&&ie.setForRemoval&&(w.push(G),E.add(G),ie.hasAnimation?this.driver.query(G,Ive,!0).forEach($e=>E.add($e)):A.add(G))}let L=new Map,M=eb(p,Array.from(E));M.forEach((j,G)=>{let ie=bp+x++;L.set(G,ie),j.forEach($e=>Zi($e,ie))}),e.push(()=>{v.forEach((j,G)=>{let ie=f.get(G);j.forEach($e=>Br($e,ie))}),M.forEach((j,G)=>{let ie=L.get(G);j.forEach($e=>Br($e,ie))}),w.forEach(j=>{this.processLeaveNode(j)})});let re=[],xe=[];for(let j=this._namespaceList.length-1;j>=0;j--)this._namespaceList[j].drainQueuedTransitions(t).forEach(G=>{let ie=G.player,$e=G.element;if(re.push(ie),this.collectedEnterElements.length){let gt=$e[ca];if(gt&>.setForMove){if(gt.previousTriggersValues&>.previousTriggersValues.has(G.triggerName)){let ui=gt.previousTriggersValues.get(G.triggerName),ei=this.statesByElement.get(G.element);if(ei&&ei.has(G.triggerName)){let xa=ei.get(G.triggerName);xa.value=ui,ei.set(G.triggerName,xa)}}ie.destroy();return}}let ht=!u||!this.driver.containsElement(u,$e),di=L.get($e),Ze=f.get($e),it=this._buildInstruction(G,n,Ze,di,ht);if(it.errors&&it.errors.length){xe.push(it);return}if(ht){ie.onStart(()=>or($e,it.fromStyles)),ie.onDestroy(()=>Aa($e,it.toStyles)),i.push(ie);return}if(G.isFallbackTransition){ie.onStart(()=>or($e,it.fromStyles)),ie.onDestroy(()=>Aa($e,it.toStyles)),i.push(ie);return}let Ot=[];it.timelines.forEach(gt=>{gt.stretchStartingKeyframe=!0,this.disabledNodes.has(gt.element)||Ot.push(gt)}),it.timelines=Ot,n.append($e,it.timelines);let ra={instruction:it,player:ie,element:$e};r.push(ra),it.queriedElements.forEach(gt=>ji(s,gt,[]).push(ie)),it.preStyleProps.forEach((gt,ui)=>{if(gt.size){let ei=l.get(ui);ei||l.set(ui,ei=new Set),gt.forEach((xa,yn)=>ei.add(yn))}}),it.postStyleProps.forEach((gt,ui)=>{let ei=c.get(ui);ei||c.set(ui,ei=new Set),gt.forEach((xa,yn)=>ei.add(yn))})});if(xe.length){let j=[];xe.forEach(G=>{j.push(Lge(G.triggerName,G.errors))}),re.forEach(G=>G.destroy()),this.reportError(j)}let Re=new Map,Jt=new Map;r.forEach(j=>{let G=j.element;n.has(G)&&(Jt.set(G,G),this._beforeAnimationBuild(j.player.namespaceId,j.instruction,Re))}),i.forEach(j=>{let G=j.element;this._getPreviousPlayers(G,!1,j.namespaceId,j.triggerName,null).forEach(ie=>{ji(Re,G,[]).push(ie),ie.destroy()})});let Ft=w.filter(j=>tb(j,l,c)),ft=new Map;Jy(ft,this.driver,A,c,ln).forEach(j=>{tb(j,l,c)&&Ft.push(j)});let Ut=new Map;v.forEach((j,G)=>{Jy(Ut,this.driver,new Set(j),l,kf)}),Ft.forEach(j=>{let G=ft.get(j),ie=Ut.get(j);ft.set(j,new Map([...(G==null?void 0:G.entries())??[],...(ie==null?void 0:ie.entries())??[]]))});let ne=[],J=[],Ve={};r.forEach(j=>{let{element:G,player:ie,instruction:$e}=j;if(n.has(G)){if(d.has(G)){ie.onDestroy(()=>Aa(G,$e.toStyles)),ie.disabled=!0,ie.overrideTotalTime($e.totalTime),i.push(ie);return}let ht=Ve;if(Jt.size>1){let Ze=G,it=[];for(;Ze=Ze.parentNode;){let Ot=Jt.get(Ze);if(Ot){ht=Ot;break}it.push(Ze)}it.forEach(Ot=>Jt.set(Ot,ht))}let di=this._buildAnimation(ie.namespaceId,$e,Re,a,Ut,ft);if(ie.setRealPlayer(di),ht===Ve)ne.push(ie);else{let Ze=this.playersByElement.get(ht);Ze&&Ze.length&&(ie.parentPlayer=kn(Ze)),i.push(ie)}}else or(G,$e.fromStyles),ie.onDestroy(()=>Aa(G,$e.toStyles)),J.push(ie),d.has(G)&&i.push(ie)}),J.forEach(j=>{let G=a.get(j.element);if(G&&G.length){let ie=kn(G);j.setRealPlayer(ie)}}),i.forEach(j=>{j.parentPlayer?j.syncPlayerEvents(j.parentPlayer):j.destroy()});for(let j=0;j<w.length;j++){let G=w[j],ie=G[ca];if(Br(G,bp),ie&&ie.hasAnimation)continue;let $e=[];if(s.size){let di=s.get(G);di&&di.length&&$e.push(...di);let Ze=this.driver.query(G,_p,!0);for(let it=0;it<Ze.length;it++){let Ot=s.get(Ze[it]);Ot&&Ot.length&&$e.push(...Ot)}}let ht=$e.filter(di=>!di.destroyed);ht.length?Fve(this,G,ht):this.processLeaveNode(G)}return w.length=0,ne.forEach(j=>{this.players.push(j),j.onDone(()=>{j.destroy();let G=this.players.indexOf(j);this.players.splice(G,1)}),j.play()}),ne}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,i,a){let r=[];if(t){let s=this.playersByQueriedElement.get(e);s&&(r=s)}else{let s=this.playersByElement.get(e);if(s){let l=!a||a==is;s.forEach(c=>{c.queued||!l&&c.triggerName!=i||r.push(c)})}}return(n||i)&&(r=r.filter(s=>!(n&&n!=s.namespaceId||i&&i!=s.triggerName))),r}_beforeAnimationBuild(e,t,n){let i=t.triggerName,a=t.element,r=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:i;for(let l of t.timelines){let c=l.element,d=c!==a,u=ji(n,c,[]);this._getPreviousPlayers(c,d,r,s,t.toState).forEach(p=>{let v=p.getRealPlayer();v.beforeDestroy&&v.beforeDestroy(),p.destroy(),u.push(p)})}or(a,t.fromStyles)}_buildAnimation(e,t,n,i,a,r){let s=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,p=t.timelines.map(f=>{let x=f.element;d.add(x);let w=x[ca];if(w&&w.removedBeforeQueried)return new Is(f.duration,f.delay);let E=x!==l,A=Lve((n.get(x)||Ave).map(Re=>Re.getRealPlayer())).filter(Re=>{let Jt=Re;return Jt.element?Jt.element===x:!1}),L=a.get(x),M=r.get(x),re=sY(this._normalizer,f.keyframes,L,M),xe=this._buildPlayer(f,re,A);if(f.subTimeline&&i&&u.add(x),E){let Re=new kp(e,s,x);Re.setRealPlayer(xe),c.push(Re)}return xe});c.forEach(f=>{ji(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>Rve(this.playersByQueriedElement,f.element,f))}),d.forEach(f=>Zi(f,Uy));let v=kn(p);return v.onDestroy(()=>{d.forEach(f=>Br(f,Uy)),Aa(l,t.toStyles)}),u.forEach(f=>{ji(i,f,[]).push(v)}),v}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new Is(e.duration,e.delay)}},kp=class{constructor(e,t,n){o(this,"namespaceId");o(this,"triggerName");o(this,"element");o(this,"_player",new Is);o(this,"_containsRealPlayer",!1);o(this,"_queuedCallbacks",new Map);o(this,"destroyed",!1);o(this,"parentPlayer",null);o(this,"markedForDestroy",!1);o(this,"disabled",!1);o(this,"queued",!0);o(this,"totalTime",0);this.namespaceId=e,this.triggerName=t,this.element=n}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,n)=>{t.forEach(i=>Ef(e,n,void 0,i))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){ji(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function Rve(e,t,n){let i=e.get(t);if(i){if(i.length){let a=i.indexOf(n);i.splice(a,1)}i.length==0&&e.delete(t)}return i}function Mve(e){return e??null}function Zl(e){return e&&e.nodeType===1}function Pve(e){return e=="start"||e=="done"}function Qy(e,t){let n=e.style.display;return e.style.display=t??"none",n}function Jy(e,t,n,i,a){let r=[];n.forEach(c=>r.push(Qy(c)));let s=[];i.forEach((c,d)=>{let u=new Map;c.forEach(p=>{let v=t.computeStyle(d,p,a);u.set(p,v),(!v||v.length==0)&&(d[ca]=Ove,s.push(d))}),e.set(d,u)});let l=0;return n.forEach(c=>Qy(c,r[l++])),s}function eb(e,t){let n=new Map;if(e.forEach(l=>n.set(l,[])),t.length==0)return n;let i=1,a=new Set(t),r=new Map;function s(l){if(!l)return i;let c=r.get(l);if(c)return c;let d=l.parentNode;return n.has(d)?c=d:a.has(d)?c=i:c=s(d),r.set(l,c),c}return t.forEach(l=>{let c=s(l);c!==i&&n.get(c).push(l)}),n}function Zi(e,t){var n;(n=e.classList)==null||n.add(t)}function Br(e,t){var n;(n=e.classList)==null||n.remove(t)}function Fve(e,t,n){kn(n).onDone(()=>e.processLeaveNode(t))}function Lve(e){let t=[];return SY(e,t),t}function SY(e,t){for(let n=0;n<e.length;n++){let i=e[n];i instanceof oY?SY(i.players,t):t.push(i)}}function Vve(e,t){let n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(let a=0;a<n.length;a++){let r=n[a];if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1}return!0}function tb(e,t,n){let i=n.get(e);if(!i)return!1;let a=t.get(e);return a?i.forEach(r=>a.add(r)):t.set(e,i),n.delete(e),!0}var Ep=class{constructor(e,t,n){o(this,"_driver");o(this,"_normalizer");o(this,"_transitionEngine");o(this,"_timelineEngine");o(this,"_triggerCache",{});o(this,"onRemovalComplete",(e,t)=>{});this._driver=t,this._normalizer=n,this._transitionEngine=new Nve(e.body,t,n),this._timelineEngine=new kve(e.body,t,n),this._transitionEngine.onRemovalComplete=(i,a)=>this.onRemovalComplete(i,a)}registerTrigger(e,t,n,i,a){let r=e+"-"+i,s=this._triggerCache[r];if(!s){let l=[],c=[],d=fY(this._driver,a,l,c);if(l.length)throw Cge();s=_ve(i,d,this._normalizer),this._triggerCache[r]=s}this._transitionEngine.registerTrigger(t,i,s)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,i){this._transitionEngine.insertNode(e,t,n,i)}onRemove(e,t,n){this._transitionEngine.removeNode(e,t,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,i){if(n.charAt(0)=="@"){let[a,r]=$y(n),s=i;this._timelineEngine.command(a,t,r,s)}else this._transitionEngine.trigger(e,t,n,i)}listen(e,t,n,i,a){if(n.charAt(0)=="@"){let[r,s]=$y(n);return this._timelineEngine.listen(r,t,s,a)}return this._transitionEngine.listen(e,t,n,i,a)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function zve(e,t){let n=null,i=null;return Array.isArray(t)&&t.length?(n=ch(t[0]),t.length>1&&(i=ch(t[t.length-1]))):t instanceof Map&&(n=ch(t)),n||i?new jve(e,n,i):null}var jve=(()=>{const t=class t{constructor(i,a,r){o(this,"_element");o(this,"_startStyles");o(this,"_endStyles");o(this,"_state",0);o(this,"_initialStyles");this._element=i,this._startStyles=a,this._endStyles=r;let s=t.initialStylesByElement.get(i);s||t.initialStylesByElement.set(i,s=new Map),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&Aa(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Aa(this._element,this._initialStyles),this._endStyles&&(Aa(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(or(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(or(this._element,this._endStyles),this._endStyles=null),Aa(this._element,this._initialStyles),this._state=3)}};o(t,"initialStylesByElement",new WeakMap);let e=t;return e})();function ch(e){let t=null;return e.forEach((n,i)=>{Bve(i)&&(t=t||new Map,t.set(i,n))}),t}function Bve(e){return e==="display"||e==="position"}var ib=class{constructor(e,t,n,i){o(this,"element");o(this,"keyframes");o(this,"options");o(this,"_specialStyles");o(this,"_onDoneFns",[]);o(this,"_onStartFns",[]);o(this,"_onDestroyFns",[]);o(this,"_duration");o(this,"_delay");o(this,"_initialized",!1);o(this,"_finished",!1);o(this,"_started",!1);o(this,"_destroyed",!1);o(this,"_finalKeyframe");o(this,"_originalOnDoneFns",[]);o(this,"_originalOnStartFns",[]);o(this,"domPlayer");o(this,"time",0);o(this,"parentPlayer",null);o(this,"currentSnapshot",new Map);this.element=e,this.keyframes=t,this.options=n,this._specialStyles=i,this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(n=>{t.push(Object.fromEntries(n))}),t}_triggerWebAnimation(e,t,n){return e.animate(this._convertKeyframesToObject(t),n)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,n)=>{n!=="offset"&&e.set(n,this._finished?t:Af(this.element,n))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(n=>n()),t.length=0}},Hve=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return lY(e,t)}getParentElement(e){return Df(e)}query(e,t,n){return cY(e,t,n)}computeStyle(e,t,n){return Af(e,t)}animate(e,t,n,i,a,r=[]){let s=i==0?"both":"forwards",l={duration:n,delay:i,fill:s};a&&(l.easing=a);let c=new Map,d=r.filter(v=>v instanceof ib);Wge(n,i)&&d.forEach(v=>{v.currentSnapshot.forEach((f,x)=>c.set(x,f))});let u=Uge(t).map(v=>new Map(v));u=Kge(e,u,c);let p=zve(e,u);return new ib(e,u,l,p)}},pc="@",kY="@.disabled",EY=class{constructor(e,t,n,i){o(this,"namespaceId");o(this,"delegate");o(this,"engine");o(this,"_onDestroy");o(this,"ɵtype",0);this.namespaceId=e,this.delegate=t,this.engine=n,this._onDestroy=i}get data(){return this.delegate.data}destroyNode(e){var t,n;(n=(t=this.delegate).destroyNode)==null||n.call(t,e)}destroy(){var e;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),(e=this._onDestroy)==null||e.call(this)}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n,i=!0){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}removeChild(e,t,n){this.parentNode(t)&&this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,i){this.delegate.setAttribute(e,t,n,i)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,i){this.delegate.setStyle(e,t,n,i)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){t.charAt(0)==pc&&t==kY?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n,i){return this.delegate.listen(e,t,n,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},$ve=class extends EY{constructor(t,n,i,a,r){super(n,i,a,r);o(this,"factory");this.factory=t,this.namespaceId=n}setProperty(t,n,i){n.charAt(0)==pc?n.charAt(1)=="."&&n==kY?(i=i===void 0?!0:!!i,this.disableAnimations(t,i)):this.engine.process(this.namespaceId,t,n.slice(1),i):this.delegate.setProperty(t,n,i)}listen(t,n,i,a){if(n.charAt(0)==pc){let r=qve(t),s=n.slice(1),l="";return s.charAt(0)!=pc&&([s,l]=Uve(s)),this.engine.listen(this.namespaceId,r,s,l,c=>{let d=c._data||-1;this.factory.scheduleListenerCallback(d,i,c)})}return this.delegate.listen(t,n,i,a)}};function qve(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function Uve(e){let t=e.indexOf("."),n=e.substring(0,t),i=e.slice(t+1);return[n,i]}var Gve=class{constructor(e,t,n){o(this,"delegate");o(this,"engine");o(this,"_zone");o(this,"_currentId",0);o(this,"_microtaskId",1);o(this,"_animationCallbacksBuffer",[]);o(this,"_rendererCache",new Map);o(this,"_cdRecurDepth",0);this.delegate=e,this.engine=t,this._zone=n,t.onRemovalComplete=(i,a)=>{a==null||a.removeChild(null,i)}}createRenderer(e,t){var l;let n="",i=this.delegate.createRenderer(e,t);if(!e||!((l=t==null?void 0:t.data)!=null&&l.animation)){let c=this._rendererCache,d=c.get(i);if(!d){let u=()=>c.delete(i);d=new EY(n,i,this.engine,u),c.set(i,d)}return d}let a=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);let s=c=>{Array.isArray(c)?c.forEach(s):this.engine.registerTrigger(a,r,e,c.name,c)};return t.data.animation.forEach(s),new $ve(this,r,i,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(n));return}let i=this._animationCallbacksBuffer;i.length==0&&queueMicrotask(()=>{this._zone.run(()=>{i.forEach(a=>{let[r,s]=a;r(s)}),this._animationCallbacksBuffer=[]})}),i.push([t,n])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}componentReplaced(e){var t,n;this.engine.flush(),(n=(t=this.delegate).componentReplaced)==null||n.call(t,e)}},Yve=(()=>{const t=class t extends Ep{constructor(i,a,r){super(i,a,r)}ngOnDestroy(){this.flush()}};o(t,"ɵfac",function(i){return new(i||t)(pe(et),pe(pY),pe(Of))}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})();function Wve(){return new Qge}function Kve(e,t,n){return new Gve(e,t,n)}var Zve=[{provide:Of,useFactory:Wve},{provide:Ep,useClass:Yve},{provide:aa,useFactory:Kve,deps:[Qh,Ep,Ne]}],Xve=[{provide:pY,useFactory:()=>new Hve},{provide:Ui,useFactory:()=>"BrowserAnimations"},...Zve];function Qve(){return Cr("NgEagerAnimations"),[...Xve]}var Jve=(()=>{const t=class t extends gf{constructor(i){super(),this.translate=i,this.getRangeLabel=(a,r,s)=>{if(s===0||r===0)return`0 / ${s}`;s=Math.max(s,0);let l=a*r,c=l<s?Math.min(l+r,s):l+r;return`${l+1} - ${c} / ${s}`},this.getAndInitTranslations=()=>{this.nextPageLabel=this.translate.instant("commons.matPaginator.nextPage"),this.previousPageLabel=this.translate.instant("commons.matPaginator.prevPage"),this.firstPageLabel=this.translate.instant("commons.matPaginator.firstPage"),this.lastPageLabel=this.translate.instant("commons.matPaginator.lastPage"),this.itemsPerPageLabel=this.translate.instant("commons.matPaginator.itemsPerPage"),this.getRangeLabel=this.getRangeLabel.bind(this),this.changes.next()},this.translate.onLangChange.subscribe(()=>{this.getAndInitTranslations()}),this.getAndInitTranslations()}};t.ɵfac=function(i){return new(i||t)(pe(Bn))},t.ɵprov=q({token:t,factory:t.ɵfac});let e=t;return e})(),T=function(e){return e.SEPARATOR="separator",e.PERCENT="percent",e.IP="IP",e.CPF_CNPJ="CPF_CNPJ",e.MONTH="M",e.MONTHS="M0",e.MINUTE="m",e.HOUR="h",e.HOURS="H",e.MINUTES="m0",e.HOURS_HOUR="Hh",e.SECONDS="s0",e.HOURS_MINUTES_SECONDS="Hh:m0:s0",e.EMAIL_MASK="A*@A*.A*",e.HOURS_MINUTES="Hh:m0",e.MINUTES_SECONDS="m0:s0",e.DAYS_MONTHS_YEARS="d0/M0/0000",e.DAYS_MONTHS="d0/M0",e.DAYS="d0",e.DAY="d",e.SECOND="s",e.LETTER_S="S",e.DOT=".",e.COMMA=",",e.CURLY_BRACKETS_LEFT="{",e.CURLY_BRACKETS_RIGHT="}",e.MINUS="-",e.OR="||",e.HASH="#",e.EMPTY_STRING="",e.SYMBOL_STAR="*",e.SYMBOL_QUESTION="?",e.SLASH="/",e.WHITE_SPACE=" ",e.NUMBER_ZERO="0",e.NUMBER_NINE="9",e.BACKSPACE="Backspace",e.DELETE="Delete",e.ARROW_LEFT="ArrowLeft",e.ARROW_UP="ArrowUp",e.DOUBLE_ZERO="00",e}(T||{}),Rf=new $("ngx-mask config"),CY=new $("new ngx-mask config"),DY=new $("initial ngx-mask config"),eye={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:null,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:e=>e,outputTransformFn:e=>e,maskFilled:new ce,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}};T.HOURS_MINUTES_SECONDS,T.HOURS_MINUTES,T.MINUTES_SECONDS;T.PERCENT,T.HOURS_HOUR,T.SECONDS,T.MINUTES,T.SEPARATOR,T.DAYS_MONTHS_YEARS,T.DAYS_MONTHS,T.DAYS,T.MONTHS;var tye=(()=>{const t=class t{constructor(){o(this,"_config",S(Rf));o(this,"dropSpecialCharacters",this._config.dropSpecialCharacters);o(this,"hiddenInput",this._config.hiddenInput);o(this,"showTemplate");o(this,"clearIfNotMatch",this._config.clearIfNotMatch);o(this,"specialCharacters",this._config.specialCharacters);o(this,"patterns",this._config.patterns);o(this,"prefix",this._config.prefix);o(this,"suffix",this._config.suffix);o(this,"thousandSeparator",this._config.thousandSeparator);o(this,"decimalMarker",this._config.decimalMarker);o(this,"customPattern");o(this,"showMaskTyped",this._config.showMaskTyped);o(this,"placeHolderCharacter",this._config.placeHolderCharacter);o(this,"validation",this._config.validation);o(this,"separatorLimit",this._config.separatorLimit);o(this,"allowNegativeNumbers",this._config.allowNegativeNumbers);o(this,"leadZeroDateTime",this._config.leadZeroDateTime);o(this,"leadZero",this._config.leadZero);o(this,"apm",this._config.apm);o(this,"inputTransformFn",this._config.inputTransformFn);o(this,"outputTransformFn",this._config.outputTransformFn);o(this,"keepCharacterPositions",this._config.keepCharacterPositions);o(this,"_shift",new Set);o(this,"plusOnePosition",!1);o(this,"maskExpression","");o(this,"actualValue","");o(this,"showKeepCharacterExp","");o(this,"shownMaskExpression","");o(this,"deletedSpecialCharacter",!1);o(this,"ipError");o(this,"cpfCnpjError");o(this,"_formatWithSeparators",(i,a,r,s)=>{var f;let l=[],c="";if(Array.isArray(r)){let x=new RegExp(r.map(w=>"[\\^$.|?*+()".indexOf(w)>=0?`\\${w}`:w).join("|"));l=i.split(x),c=((f=i.match(x))==null?void 0:f[0])??T.EMPTY_STRING}else l=i.split(r),c=r;let d=l.length>1?`${c}${l[1]}`:T.EMPTY_STRING,u=l[0]??T.EMPTY_STRING,p=this.separatorLimit.replace(/\s/g,T.EMPTY_STRING);p&&+p&&(u[0]===T.MINUS?u=`-${u.slice(1,u.length).slice(0,p.length)}`:u=u.slice(0,p.length));let v=/(\d+)(\d{3})/;for(;a&&v.test(u);)u=u.replace(v,"$1"+a+"$2");return typeof s>"u"?u+d:s===0?u:u+d.substring(0,s+1)});o(this,"percentage",i=>{let a=i.replace(",","."),r=Number(this.allowNegativeNumbers&&i.includes(T.MINUS)?a.slice(1,i.length):a);return!isNaN(r)&&r>=0&&r<=100});o(this,"getPrecision",i=>{let a=i.split(T.DOT);return a.length>1?Number(a[a.length-1]):1/0});o(this,"checkAndRemoveSuffix",i=>{var a,r,s,l;for(let c=((a=this.suffix)==null?void 0:a.length)-1;c>=0;c--){let d=this.suffix.substring(c,(r=this.suffix)==null?void 0:r.length);if(i.includes(d)&&c!==((s=this.suffix)==null?void 0:s.length)-1&&(c-1<0||!i.includes(this.suffix.substring(c-1,(l=this.suffix)==null?void 0:l.length))))return i.replace(d,T.EMPTY_STRING)}return i});o(this,"checkInputPrecision",(i,a,r)=>{var c;let s=i,l=r;if(a<1/0){Array.isArray(l)&&(l=l.find(f=>f!==this.thousandSeparator)||l[0]);let d=new RegExp(this._charToRegExpExpression(l)+`\\d{${a}}.*$`),u=s.match(d),p=(u&&((c=u[0])==null?void 0:c.length))??0;if(p-1>a){let v=p-1-a;s=s.substring(0,s.length-v)}a===0&&this._compareOrIncludes(s[s.length-1],l,this.thousandSeparator)&&(s=s.substring(0,s.length-1))}return s})}applyMaskWithPattern(i,a){let[r,s]=a;return this.customPattern=s,this.applyMask(i,r)}applyMask(i,a,r=0,s=!1,l=!1,c=()=>{}){var Ft,ft,Ut;if(!a||typeof i!="string")return T.EMPTY_STRING;let d=0,u="",p=!1,v=!1,f=1,x=!1,w=i,E=r;w.slice(0,this.prefix.length)===this.prefix&&(w=w.slice(this.prefix.length,w.length)),this.suffix&&w.length>0&&(w=this.checkAndRemoveSuffix(w)),w==="("&&this.prefix&&(w="");let A=w.toString().split(T.EMPTY_STRING);if(this.allowNegativeNumbers&&w.slice(d,d+1)===T.MINUS&&(u+=w.slice(d,d+1)),a===T.IP){let ne=w.split(T.DOT);this.ipError=this._validIP(ne),a="099.099.099.099"}let L=[];for(let ne=0;ne<w.length;ne++)(Ft=w[ne])!=null&&Ft.match("\\d")&&L.push(w[ne]??T.EMPTY_STRING);if(a===T.CPF_CNPJ&&(this.cpfCnpjError=L.length!==11&&L.length!==14,L.length>11?a="00.000.000/0000-00":a="000.000.000-00"),a.startsWith(T.PERCENT)){if(w.match("[a-z]|[A-Z]")||w.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!l){w=this._stripToDecimal(w);let Ve=this.getPrecision(a);w=this.checkInputPrecision(w,Ve,this.decimalMarker)}let ne=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;if(w.indexOf(ne)>0&&!this.percentage(w.substring(0,w.indexOf(ne)))){let Ve=w.substring(0,w.indexOf(ne)-1);this.allowNegativeNumbers&&w.slice(d,d+1)===T.MINUS&&!l&&(Ve=w.substring(0,w.indexOf(ne))),w=`${Ve}${w.substring(w.indexOf(ne),w.length)}`}let J="";this.allowNegativeNumbers&&w.slice(d,d+1)===T.MINUS?J=`${T.MINUS}${w.slice(d+1,d+w.length)}`:J=w,this.percentage(J)?u=this._splitPercentZero(w):u=this._splitPercentZero(w.substring(0,w.length-1))}else if(a.startsWith(T.SEPARATOR)){(w.match("[wа-яА-Я]")||w.match("[ЁёА-я]")||w.match("[a-z]|[A-Z]")||w.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||w.match("[^A-Za-z0-9,]"))&&(w=this._stripToDecimal(w));let ne=this.getPrecision(a),J=Array.isArray(this.decimalMarker)?this.thousandSeparator===T.DOT?T.COMMA:T.DOT:this.decimalMarker;if(ne===0?w=this.allowNegativeNumbers?w.length>2&&w[0]===T.MINUS&&w[1]===T.NUMBER_ZERO&&w[2]!==this.thousandSeparator&&w[2]!==T.COMMA&&w[2]!==T.DOT?"-"+w.slice(2,w.length):w[0]===T.NUMBER_ZERO&&w.length>1&&w[1]!==this.thousandSeparator&&w[1]!==T.COMMA&&w[1]!==T.DOT?w.slice(1,w.length):w:w.length>1&&w[0]===T.NUMBER_ZERO&&w[1]!==this.thousandSeparator&&w[1]!==T.COMMA&&w[1]!==T.DOT?w.slice(1,w.length):w:(w[0]===J&&w.length>1&&(w=T.NUMBER_ZERO+w.slice(0,w.length+1),this.plusOnePosition=!0),w[0]===T.NUMBER_ZERO&&w[1]!==J&&w[1]!==this.thousandSeparator&&(w=w.length>1?w.slice(0,1)+J+w.slice(1,w.length+1):w,this.plusOnePosition=!0),this.allowNegativeNumbers&&w[0]===T.MINUS&&(w[1]===J||w[1]===T.NUMBER_ZERO)&&(w=w[1]===J&&w.length>2?w.slice(0,1)+T.NUMBER_ZERO+w.slice(1,w.length):w[1]===T.NUMBER_ZERO&&w.length>2&&w[2]!==J?w.slice(0,2)+J+w.slice(2,w.length):w,this.plusOnePosition=!0)),l){let Ze=w.slice(this._findFirstNonZeroDigitIndex(w),w.length),it=w[E]===T.NUMBER_ZERO||w[E]===J,Ot=w[0]===T.NUMBER_ZERO,ra=w[0]===T.MINUS,gt=w[0]===this.thousandSeparator,ui=w[1]===J,ei=w[1]===T.NUMBER_ZERO,xa=w[2]===J;Ot&&ui&&it&&E<2&&(w=Ze),ra&&ei&&xa&&it&&E<3&&(w=T.MINUS+Ze),Ze!==T.MINUS&&(E===0&&(Ot||gt)||this.allowNegativeNumbers&&E===1&&ra&&!ei)&&(w=ra?T.MINUS+Ze:Ze)}let Ve=this._charToRegExpExpression(this.thousandSeparator),j='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(Ve,"");if(Array.isArray(this.decimalMarker))for(let Ze of this.decimalMarker)j=j.replace(this._charToRegExpExpression(Ze),T.EMPTY_STRING);else j=j.replace(this._charToRegExpExpression(this.decimalMarker),"");let G=new RegExp("["+j+"]");w.match(G)&&(w=w.substring(0,w.length-1)),w=this.checkInputPrecision(w,ne,this.decimalMarker);let ie=w.replace(new RegExp(Ve,"g"),"");u=this._formatWithSeparators(ie,this.thousandSeparator,this.decimalMarker,ne);let $e=u.indexOf(T.COMMA)-w.indexOf(T.COMMA),ht=u.length-w.length,di=l&&u.length<i.length&&this.separatorLimit;if((u[E-1]===this.thousandSeparator||u[E-this.prefix.length])&&this.prefix&&l)E=E-1;else if(ht>0&&u[E]!==this.thousandSeparator||di){v=!0;let Ze=0;do this._shift.add(E+Ze),Ze++;while(Ze<ht)}else u[E-1]===this.thousandSeparator||ht===-4||ht===-3||u[E]===this.thousandSeparator?(this._shift.clear(),this._shift.add(E-1)):$e!==0&&E>0&&!(u.indexOf(T.COMMA)>=E&&E>3)||!(u.indexOf(T.DOT)>=E&&E>3)&&ht<=0?(this._shift.clear(),v=!0,f=ht,E+=ht,this._shift.add(E)):this._shift.clear()}else for(let ne=0,J=A[0];ne<A.length&&d!==a.length;ne++,J=A[ne]??T.EMPTY_STRING){let Ve=T.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(J,a[d]??T.EMPTY_STRING)&&a[d+1]===T.SYMBOL_QUESTION)u+=J,d+=2;else if(a[d+1]===T.SYMBOL_STAR&&p&&this._checkSymbolMask(J,a[d+2]??T.EMPTY_STRING))u+=J,d+=3,p=!1;else if(this._checkSymbolMask(J,a[d]??T.EMPTY_STRING)&&a[d+1]===T.SYMBOL_STAR&&!Ve)u+=J,p=!0;else if(a[d+1]===T.SYMBOL_QUESTION&&this._checkSymbolMask(J,a[d+2]??T.EMPTY_STRING))u+=J,d+=3;else if(this._checkSymbolMask(J,a[d]??T.EMPTY_STRING)){if(a[d]===T.HOURS&&(this.apm?Number(J)>9:Number(J)>2)){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(a,d,A.length),ne--,this.leadZeroDateTime&&(u+="0");continue}if(a[d]===T.HOUR&&(this.apm?u.length===1&&Number(u)>1||u==="1"&&Number(J)>2||w.slice(d-1,d).length===1&&Number(w.slice(d-1,d))>2||w.slice(d-1,d)==="1"&&Number(J)>2:u==="2"&&Number(J)>3||(u.slice(d-2,d)==="2"||u.slice(d-3,d)==="2"||u.slice(d-4,d)==="2"||u.slice(d-1,d)==="2")&&Number(J)>3&&d>10)){E=E+1,d+=1,ne--;continue}if((a[d]===T.MINUTE||a[d]===T.SECOND)&&Number(J)>5){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(a,d,A.length),ne--,this.leadZeroDateTime&&(u+="0");continue}let j=31,G=w[d],ie=w[d+1],$e=w[d+2],ht=w[d-1],di=w[d-2],Ze=w.slice(d-3,d-1),it=w.slice(d-1,d+1),Ot=w.slice(d,d+2),ra=w.slice(d-2,d);if(a[d]===T.DAY){let gt=a.slice(0,2)===T.MONTHS,ui=a.slice(0,2)===T.MONTHS&&this.specialCharacters.includes(di);if(Number(J)>3&&this.leadZeroDateTime||!gt&&(Number(Ot)>j||Number(it)>j||this.specialCharacters.includes(ie))||(ui?Number(it)>j||!this.specialCharacters.includes(G)&&this.specialCharacters.includes($e)||this.specialCharacters.includes(G):Number(Ot)>j||this.specialCharacters.includes(ie)&&!l)){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(a,d,A.length),ne--,this.leadZeroDateTime&&(u+="0");continue}}if(a[d]===T.MONTH){let gt=d===0&&(Number(J)>2||Number(Ot)>12||this.specialCharacters.includes(ie)&&!l),ui=a.slice(d+2,d+3),ei=Ze.includes(ui)&&a.includes("d0")&&(this.specialCharacters.includes(di)&&Number(it)>12&&!this.specialCharacters.includes(G)||this.specialCharacters.includes(G)),xa=Number(Ze)<=j&&!this.specialCharacters.includes(Ze)&&this.specialCharacters.includes(ht)&&(Number(Ot)>12||this.specialCharacters.includes(ie)),yn=Number(Ot)>12&&d===5||this.specialCharacters.includes(ie)&&d===5,hl=Number(Ze)>j&&!this.specialCharacters.includes(Ze)&&!this.specialCharacters.includes(ra)&&Number(ra)>12&&a.includes("d0"),pl=Number(Ze)<=j&&!this.specialCharacters.includes(Ze)&&!this.specialCharacters.includes(ht)&&Number(it)>12;if(Number(J)>1&&this.leadZeroDateTime||gt||ei||pl||hl||xa||yn&&!this.leadZeroDateTime){E=this.leadZeroDateTime?E:E+1,d+=1,this._shiftStep(a,d,A.length),ne--,this.leadZeroDateTime&&(u+="0");continue}}u+=J,d++}else this.specialCharacters.includes(J)&&a[d]===J?(u+=J,d++):this.specialCharacters.indexOf(a[d]??T.EMPTY_STRING)!==-1?(u+=a[d],d++,this._shiftStep(a,d,A.length),ne--):a[d]===T.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(a,d,A.length):this.patterns[a[d]??T.EMPTY_STRING]&&((ft=this.patterns[a[d]??T.EMPTY_STRING])!=null&&ft.optional)?(A[d]&&a!=="099.099.099.099"&&a!=="000.000.000-00"&&a!=="00.000.000/0000-00"&&!a.match(/^9+\.0+$/)&&!((Ut=this.patterns[a[d]??T.EMPTY_STRING])!=null&&Ut.optional)&&(u+=A[d]),a.includes(T.NUMBER_NINE+T.SYMBOL_STAR)&&a.includes(T.NUMBER_ZERO+T.SYMBOL_STAR)&&d++,d++,ne--):this.maskExpression[d+1]===T.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[d+2]??T.EMPTY_STRING)&&this._findSpecialChar(J)===this.maskExpression[d+2]&&p||this.maskExpression[d+1]===T.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[d+2]??T.EMPTY_STRING)&&this._findSpecialChar(J)===this.maskExpression[d+2]&&p?(d+=3,u+=J):this.showMaskTyped&&this.specialCharacters.indexOf(J)<0&&J!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(x=!0)}u.length+1===a.length&&this.specialCharacters.indexOf(a[a.length-1]??T.EMPTY_STRING)!==-1&&(u+=a[a.length-1]);let M=E+1;for(;this._shift.has(M);)f++,M++;let re=s&&!a.startsWith(T.SEPARATOR)?d:this._shift.has(E)?f:0;x&&re--,c(re,v),f<0&&this._shift.clear();let xe=!1;l&&(xe=A.every(ne=>this.specialCharacters.includes(ne)));let Re=`${this.prefix}${xe?T.EMPTY_STRING:u}${this.showMaskTyped?"":this.suffix}`;u.length===0&&(Re=this.dropSpecialCharacters?`${u}`:`${this.prefix}${u}`);let Jt=w.length===1&&this.specialCharacters.includes(a[0])&&w!==a[0];if(!this._checkSymbolMask(w,a[1])&&Jt)return"";if(u.includes(T.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(l&&u===T.MINUS)return"";Re=`${T.MINUS}${this.prefix}${u.split(T.MINUS).join(T.EMPTY_STRING)}${this.suffix}`}return Re}_findDropSpecialChar(i){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(a=>a===i):this._findSpecialChar(i)}_findSpecialChar(i){return this.specialCharacters.find(a=>a===i)}_checkSymbolMask(i,a){var r,s;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((r=this.patterns[a])==null?void 0:r.pattern)&&((s=this.patterns[a])==null?void 0:s.pattern.test(i)))??!1}_stripToDecimal(i){return i.split(T.EMPTY_STRING).filter((a,r)=>{let s=typeof this.decimalMarker=="string"?a===this.decimalMarker:this.decimalMarker.includes(a);return a.match("^-?\\d")||a===this.thousandSeparator||s||a===T.MINUS&&r===0&&this.allowNegativeNumbers}).join(T.EMPTY_STRING)}_charToRegExpExpression(i){return i&&(i===" "?"\\s":"[\\^$.|?*+()".indexOf(i)>=0?`\\${i}`:i)}_shiftStep(i,a,r){let s=/[*?]/g.test(i.slice(0,a))?r:a;this._shift.add(s+this.prefix.length||0)}_compareOrIncludes(i,a,r){return Array.isArray(a)?a.filter(s=>s!==r).includes(i):i===a}_validIP(i){return!(i.length===4&&!i.some((a,r)=>i.length!==r+1?a===T.EMPTY_STRING||Number(a)>255:a===T.EMPTY_STRING||Number(a.substring(0,3))>255))}_splitPercentZero(i){if(i===T.MINUS&&this.allowNegativeNumbers)return i;let a=typeof this.decimalMarker=="string"?i.indexOf(this.decimalMarker):i.indexOf(T.DOT),r=this.allowNegativeNumbers&&i.includes(T.MINUS)?"-":"";if(a===-1){let s=parseInt(r?i.slice(1,i.length):i,10);return isNaN(s)?T.EMPTY_STRING:`${r}${s}`}else{let s=parseInt(i.replace("-","").substring(0,a),10),l=i.substring(a+1),c=isNaN(s)?"":s.toString(),d=typeof this.decimalMarker=="string"?this.decimalMarker:T.DOT;return c===T.EMPTY_STRING?T.EMPTY_STRING:`${r}${c}${d}${l}`}}_findFirstNonZeroDigitIndex(i){for(let a=0;a<i.length;a++){let r=i[a];if(r&&r>="1"&&r<="9")return a}return-1}};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})(),iye=(()=>{const t=class t extends tye{constructor(){super(...arguments);o(this,"isNumberValue",!1);o(this,"maskIsShown","");o(this,"selStart",null);o(this,"selEnd",null);o(this,"writingValue",!1);o(this,"maskChanged",!1);o(this,"_maskExpressionArray",[]);o(this,"triggerOnMaskChange",!1);o(this,"_previousValue","");o(this,"_currentValue","");o(this,"_emitValue",!1);o(this,"_start");o(this,"_end");o(this,"onChange",a=>{});o(this,"_elementRef",S(ze,{optional:!0}));o(this,"document",S(et));o(this,"_config",S(Rf));o(this,"_renderer",S(na,{optional:!0}))}applyMask(a,r,s=0,l=!1,c=!1,d=()=>{}){if(!r)return a!==this.actualValue?this.actualValue:a;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():T.EMPTY_STRING,this.maskExpression===T.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||T.HASH)),this.maskExpression===T.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(a||T.HASH)),!a&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let u=a&&typeof this.selStart=="number"?a[this.selStart]??T.EMPTY_STRING:T.EMPTY_STRING,p="",v=s;if(this.hiddenInput!==null&&!this.writingValue){let E=a&&a.length===1?a.split(T.EMPTY_STRING):this.actualValue.split(T.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):a!==T.EMPTY_STRING&&E.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(a.length>E.length?E.splice(this.selStart,0,u):a.length<E.length&&(E.length-a.length===1?c?E.splice(this.selStart-1,1):E.splice(a.length-1,1):E.splice(this.selStart,this.selEnd-this.selStart))):E=[],this.showMaskTyped&&!this.hiddenInput&&(p=this.removeMask(a)),p=this.actualValue.length&&E.length<=a.length?this.shiftTypedSymbols(E.join(T.EMPTY_STRING)):a}if(l&&(this.hiddenInput||!this.hiddenInput)&&(p=a),c&&this.specialCharacters.indexOf(this.maskExpression[v]??T.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(p=this._currentValue),this.deletedSpecialCharacter&&v&&(this.specialCharacters.includes(this.actualValue.slice(v,v+1))?v=v+1:r.slice(v-1,v+1)!==T.MONTHS&&(v=v-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(p=this.removeMask(a)),this.maskChanged?p=a:p=p&&p.length?p:a,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!l&&!this.writingValue){let E=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(E),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let f=super.applyMask(p,r,v,l,c,d);if(this.actualValue=this.getActualValue(f),this.thousandSeparator===T.DOT&&this.decimalMarker===T.DOT&&(this.decimalMarker=T.COMMA),this.maskExpression.startsWith(T.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(E=>!this._compareOrIncludes(E,this.decimalMarker,this.thousandSeparator))),(f||f==="")&&(this._previousValue=this._currentValue,this._currentValue=f,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&l),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(f)):this.formControlResult(f)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?c?this.hideInput(f,this.maskExpression):`${this.hideInput(f,this.maskExpression)}${this.maskIsShown.slice(f.length)}`:f;let x=f.length,w=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(T.HOURS)){let E=this._numberSkipedSymbols(f);return`${f}${w.slice(x+E)}`}else if(this.maskExpression===T.IP||this.maskExpression===T.CPF_CNPJ)return`${f}${w}`;return`${f}${w.slice(x)}`}_numberSkipedSymbols(a){let r=/(^|\D)(\d\D)/g,s=r.exec(a),l=0;for(;s!=null;)l+=1,s=r.exec(a);return l}applyValueChanges(a,r,s,l=()=>{}){var d;let c=(d=this._elementRef)==null?void 0:d.nativeElement;c&&(c.value=this.applyMask(c.value,this.maskExpression,a,r,s,l),c!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(a,r){return a.split(T.EMPTY_STRING).map((s,l)=>{var c,d;return this.patterns&&this.patterns[r[l]??T.EMPTY_STRING]&&((c=this.patterns[r[l]??T.EMPTY_STRING])!=null&&c.symbol)?(d=this.patterns[r[l]??T.EMPTY_STRING])==null?void 0:d.symbol:s}).join(T.EMPTY_STRING)}getActualValue(a){let r=a.split(T.EMPTY_STRING).filter((s,l)=>{let c=this.maskExpression[l]??T.EMPTY_STRING;return this._checkSymbolMask(s,c)||this.specialCharacters.includes(c)&&s===c});return r.join(T.EMPTY_STRING)===a?r.join(T.EMPTY_STRING):a}shiftTypedSymbols(a){let r="";return(a&&a.split(T.EMPTY_STRING).map((s,l)=>{if(this.specialCharacters.includes(a[l+1]??T.EMPTY_STRING)&&a[l+1]!==this.maskExpression[l+1])return r=s,a[l+1];if(r.length){let c=r;return r=T.EMPTY_STRING,c}return s})||[]).join(T.EMPTY_STRING)}numberToString(a){return!a&&a!==0||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(T.SEPARATOR)&&this.separatorLimit.length>14&&String(a).length>14?String(a):Number(a).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${T.MINUS}/`,T.MINUS)}showMaskInInput(a){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}else if(this.showMaskTyped){if(a){if(this.maskExpression===T.IP)return this._checkForIp(a);if(this.maskExpression===T.CPF_CNPJ)return this._checkForCpfCnpj(a)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var r;let a=(r=this._elementRef)==null?void 0:r.nativeElement;a&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==a.value.replace(this.placeHolderCharacter,T.EMPTY_STRING).length&&(this.formElementProperty=["value",T.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([a,r]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var s,l;return(l=this._renderer)==null?void 0:l.setProperty((s=this._elementRef)==null?void 0:s.nativeElement,a,r)})}checkDropSpecialCharAmount(a){return a.split(T.EMPTY_STRING).filter(r=>this._findDropSpecialChar(r)).length}removeMask(a){return this._removeMask(this._removeSuffix(this._removePrefix(a)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(a){if(a===T.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let r=[];for(let s=0;s<a.length;s++){let l=a[s]??T.EMPTY_STRING;l&&l.match("\\d")&&r.push(l)}return r.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>3&&r.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:r.length>6&&r.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(a){let r=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,s=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(a===T.HASH)return r;let l=[];for(let c=0;c<a.length;c++){let d=a[c]??T.EMPTY_STRING;d&&d.match("\\d")&&l.push(d)}return l.length<=3?r.slice(l.length,r.length):l.length>3&&l.length<=6?r.slice(l.length+1,r.length):l.length>6&&l.length<=9?r.slice(l.length+2,r.length):l.length>9&&l.length<11?r.slice(l.length+3,r.length):l.length===11?"":l.length===12?a.length===17?s.slice(16,s.length):s.slice(15,s.length):l.length>12&&l.length<=14?s.slice(l.length+4,s.length):""}_getActiveElement(a=this.document){var s;let r=(s=a==null?void 0:a.activeElement)==null?void 0:s.shadowRoot;return r!=null&&r.activeElement?this._getActiveElement(r):a.activeElement}formControlResult(a){if(this.writingValue&&!a){this.onChange("");return}if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged){this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(a)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===a?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(a)))))):this.onChange(this.outputTransformFn(this._toNumber(a)))}_toNumber(a){if(!this.isNumberValue||a===T.EMPTY_STRING||this.maskExpression.startsWith(T.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return a;if(String(a).length>14&&this.maskExpression.startsWith(T.SEPARATOR))return String(a);let r=Number(a);if(this.maskExpression.startsWith(T.SEPARATOR)&&Number.isNaN(r)){let s=String(a).replace(",",".");return Number(s)}return Number.isNaN(r)?a:r}_removeMask(a,r){return this.maskExpression.startsWith(T.PERCENT)&&a.includes(T.DOT)?a:a&&a.replace(this._regExpForRemove(r),T.EMPTY_STRING)}_removePrefix(a){return this.prefix?a&&a.replace(this.prefix,T.EMPTY_STRING):a}_removeSuffix(a){return this.suffix?a&&a.replace(this.suffix,T.EMPTY_STRING):a}_retrieveSeparatorValue(a){let r=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(s=>this.dropSpecialCharacters.includes(s)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&a.includes(T.WHITE_SPACE)&&this.maskExpression.includes(T.SYMBOL_STAR)&&(r=r.filter(s=>s!==T.WHITE_SPACE)),this._removeMask(a,r)}_regExpForRemove(a){return new RegExp(a.map(r=>`\\${r}`).join("|"),"gi")}_replaceDecimalMarkerToDot(a){let r=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return a.replace(this._regExpForRemove(r),T.DOT)}_checkSymbols(a){let r=a;if(r===T.EMPTY_STRING)return r;this.maskExpression.startsWith(T.PERCENT)&&this.decimalMarker===T.COMMA&&(r=r.replace(T.COMMA,T.DOT));let s=this._retrieveSeparatorPrecision(this.maskExpression),l=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(r));return this.isNumberValue&&s?r===this.decimalMarker?null:l.length>14?String(l):this._checkPrecision(this.maskExpression,l):l}_checkPatternForSpace(){var a,r,s;for(let l in this.patterns)if(this.patterns[l]&&((a=this.patterns[l])!=null&&a.hasOwnProperty("pattern"))){let c=(r=this.patterns[l])==null?void 0:r.pattern.toString(),d=(s=this.patterns[l])==null?void 0:s.pattern;if(c!=null&&c.includes(T.WHITE_SPACE)&&(d!=null&&d.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(a){let r=a.match(new RegExp("^separator\\.([^d]*)"));return r?Number(r[1]):null}_checkPrecision(a,r){let s=this.getPrecision(a),l=r;return a.indexOf("2")>0||this.leadZero&&Number(s)>0?(this.decimalMarker===T.COMMA&&this.leadZero&&(l=l.replace(",",".")),this.leadZero?Number(l).toFixed(Number(s)):Number(l).toFixed(2)):this.numberToString(l)}_repeatPatternSymbols(a){return a.match(/{[0-9]+}/)&&a.split(T.EMPTY_STRING).reduce((r,s,l)=>{if(this._start=s===T.CURLY_BRACKETS_LEFT?l:this._start,s!==T.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(s)?r+s:r;this._end=l;let c=Number(a.slice(this._start+1,this._end)),d=new Array(c+1).join(a[this._start-1]);if(a.slice(0,this._start).length>1&&a.includes(T.LETTER_S)){let u=a.slice(0,this._start-1);return u.includes(T.CURLY_BRACKETS_LEFT)?r+d:u+r+d}else return r+d},"")||a}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};o(t,"ɵfac",(()=>{let a;return function(r){return(a||(a=Qt(t)))(r||t)}})()),o(t,"ɵprov",q({token:t,factory:t.ɵfac}));let e=t;return e})();function aye(){let e=S(DY),t=S(CY);return t instanceof Function?Q(Q({},e),t()):Q(Q({},e),t)}function nye(e){return[{provide:CY,useValue:e},{provide:DY,useValue:eye},{provide:Rf,useFactory:aye},iye]}function rye(e){return Up(nye(e))}var oye=(e,t)=>{let n=S(Es).getInstance(),i=S(Wd),a=S(Do).getEnvironmentVariable("apiUrl");if(e.url.includes("assets/")||e.url.startsWith("http")||!a)return t(e);if(n.isOfflineAuthenticated)return yt();let r=e.headers||new wr,s=n.isProfessional;return zn(i.getServices().getAccessToken("")).pipe(os(l=>t(e.clone({url:`${a}${e.url}`,headers:r.set(eo.authorization,rr.getAuthorizationHeader(l)).set(eo.userType,rr.getUserType({isProfessional:s})).set(eo.clientType,cS()?rr.clientType.mobileApp:rr.clientType.webApp)}))))};function sye(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var lye=["de",[["AM","PM"],void 0,void 0],void 0,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],void 0,void 0],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} 'um' {0}",void 0],[",",".",";","%","+","-","E","·","‰","∞","NaN",":"],["#,##0.###","#,##0 %","#,##0.00 ¤","#E0"],"EUR","€","Euro",{ATS:["öS"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[void 0,"р."],CUC:[void 0,"Cub$"],DEM:["DM"],FKP:[void 0,"Fl£"],GHS:[void 0,"₵"],GNF:[void 0,"F.G."],KMF:[void 0,"FC"],PHP:[void 0,"₱"],RON:[void 0,"L"],RUR:[void 0,"р."],RWF:[void 0,"F.Rw"],SYP:[],THB:["฿"],TWD:["NT$"],XXX:[],ZMW:[void 0,"K"]},"ltr",sye];function cye(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var dye=["en",[["a","p"],["AM","PM"],void 0],[["AM","PM"],void 0,void 0],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],void 0,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",void 0,"{1} 'at' {0}",void 0],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",cye];function uye(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length,i=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===0||t===1?1:i===0&&t!==0&&t%1e6===0&&n===0||!(i>=0&&i<=5)?4:5}var hye=["fr",[["AM","PM"],void 0,void 0],void 0,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]],void 0,[["av. J.-C.","ap. J.-C."],void 0,["avant Jésus-Christ","après Jésus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1}, {0}","{1} 'à' {0}",void 0],[","," ",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0 %","#,##0.00 ¤","#E0"],"EUR","€","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BYN:[void 0,"р."],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[void 0,"¥"],COP:["$CO","$"],CYP:["£CY"],EGP:[void 0,"£E"],FJD:["$FJ","$"],FKP:["£FK","£"],FRF:["F"],GBP:["£GB","£"],GIP:["£GI","£"],HKD:[void 0,"$"],IEP:["£IE"],ILP:["£IL"],ITL:["₤IT"],JPY:[void 0,"¥"],KMF:[void 0,"FC"],LBP:["£LB","£L"],MTP:["£MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[void 0,"$C"],NZD:["$NZ","$"],PHP:[void 0,"₱"],RHD:["$RH"],RON:[void 0,"L"],RWF:[void 0,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[void 0,"$T"],TTD:["$TT","$"],TWD:[void 0,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[void 0,"$"],XPF:["FCFP"],ZMW:[void 0,"Kw"]},"ltr",uye];function pye(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&n===0?1:5}var mye=["nl",[["a.m.","p.m."],void 0,void 0],void 0,[["Z","M","D","W","D","V","Z"],["zo","ma","di","wo","do","vr","za"],["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["zo","ma","di","wo","do","vr","za"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]],void 0,[["v.C.","n.C."],["v.Chr.","n.Chr."],["voor Christus","na Christus"]],1,[6,0],["dd-MM-y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",void 0,"{1} 'om' {0}",void 0],[",",".",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤ #,##0.00;¤ -#,##0.00","#E0"],"EUR","€","Euro",{AUD:["AU$","$"],BYN:[void 0,"р."],CAD:["C$","$"],FJD:["FJ$","$"],JPY:["JP¥","¥"],PHP:[void 0,"₱"],RUR:[void 0,"р."],SBD:["SI$","$"],THB:["฿"],TWD:["NT$"],USD:["US$","$"],XPF:[],XXX:[]},"ltr",pye];Fd(lye,"de");Fd(mye,"nl");Fd(hye,"fr");Fd(dye,"en");var fye=class{handleError(e){throw new Error(e)}},gye=class extends xpe{getFirstDayOfWeek(){return 1}format(e){return Xc(e,"dd/MM/yyyy")}parse(e){return Hue(e,"dd/MM/yyyy",new Date)}},vye={parse:{dateInput:"DD/MM/YYYY"},display:{dateInput:"DD/MM/YYYY",monthYearLabel:{year:"numeric",month:"long"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},yye=[Qve(),ere(tre([oye])),rye(),{provide:ga,useClass:fye},{provide:Gi,useClass:gye,deps:[vp]},{provide:Ao,useValue:vye},{provide:gf,useClass:Jve},{provide:kw,useValue:{panelClass:"mh-dialog-container"}}];xne({providers:[yye,cre({defaultLanguage:"fr",loader:{provide:el,useClass:rge},compiler:{provide:il,useClass:pre}})]}).then(e=>{let t=bae(afe,{injector:e.injector});customElements.define("vidis-diarynote",t)}).catch(e=>console.error(e));
|