@smals-belgium-shared/vidis-diarynote 3.1.1-snapshot.0 → 3.1.1-snapshot.2

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,7 +36,7 @@ ${t.map((n,i)=>`${i+1}) ${n.toString()}`).join(`
36
36
  `],encapsulation:2,changeDetection:0}));let e=t;return e})();function vle(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 yle(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())}},ble=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",xt({type:t})),o(t,"ɵinj",_t({imports:[ai]}));let e=t;return e})(),cp=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",xt({type:t})),o(t,"ɵinj",_t({imports:[Gm,ai,ble]}));let e=t;return e})(),_s=(()=>{const t=class t{};o(t,"ɵfac",function(i){return new(i||t)}),o(t,"ɵmod",xt({type:t})),o(t,"ɵinj",_t({imports:[ai,tw,ai]}));let e=t;return e})(),_le=["trigger"],xle=["panel"],wle=[[["mat-select-trigger"]],"*"],Sle=["mat-select-trigger","*"];function kle(e,t){if(e&1&&(I(0,"span",4),B(1),N()),e&2){let n=V();D(),Ee(n.placeholder)}}function Ele(e,t){e&1&&dt(0)}function Cle(e,t){if(e&1&&(I(0,"span",11),B(1),N()),e&2){let n=V(2);D(),Ee(n.triggerValue)}}function Dle(e,t){if(e&1&&(I(0,"span",5),se(1,Ele,1,0)(2,Cle,2,1,"span",11),N()),e&2){let n=V();D(),oe(n.customTrigger?1:2)}}function Ile(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();Ute("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 Ale(e){return()=>e.scrollStrategies.reposition()}var Ole=new $("MAT_SELECT_CONFIG"),Tle={provide:oS,deps:[xi],useFactory:Ale},Nle=new $("MatSelectTrigger"),Mle=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(sl,{self:!0,optional:!0}));o(this,"_liveAnnouncer",S(rw));o(this,"_defaultOptions",S(Ole,{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",rs(()=>{let l=this.options;return l?l.changes.pipe(Qi(l),lr(()=>Xi(...l.map(c=>c.onSelectionChange)))):this._initialized.pipe(lr(()=>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=vle(l,this.options,this.optionGroups),p=c._getHostElement();l===0&&u===1?d.scrollTop=0:d.scrollTop=yle(p.offsetTop,p.offsetHeight,d.scrollTop,d.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(l){return new Mle(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 kse(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(Et(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(Et(this._destroy)).subscribe(l=>{l.added.forEach(c=>c.select()),l.removed.forEach(c=>c.deselect())}),this.options.changes.pipe(Qi(null),Et(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 Hc?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 Fre(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(Et(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(Et(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,Nle,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(_le,5),mt(xle,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:Sle,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(wle),I(0,"div",2,0),de("click",function(){return ve(d),ye(c.open())}),I(3,"div",3),se(4,kle,2,1,"span",4)(5,Dle,3,1,"span",5),N(),I(6,"div",6)(7,"div",7),dn(),I(8,"svg",8),he(9,"path",9),N()()()(),se(10,Ile,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:[Hc,jv,Ws],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",xt({type:t})),o(t,"ɵinj",_t({providers:[Tle],imports:[jd,cp,ai,Bc,_s,cp,ai]}));let e=t;return e})(),Rle=["tooltip"],Ple=20,Fle=new $("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let e=S(xi);return()=>e.scrollStrategies.reposition({scrollThrottle:Ple})}});function Lle(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var Vle=new $("mat-tooltip-default-options",{providedIn:"root",factory:Lle}),hy="tooltip-panel",py=Ld({passive:!0}),zle=8,jle=8,Ble=24,Hle=200,$le=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_ngZone",S(Ne));o(this,"_platform",S(qt));o(this,"_ariaDescriber",S(Vre));o(this,"_focusMonitor",S(Js));o(this,"_dir",S($i));o(this,"_injector",S(lt));o(this,"_viewContainerRef",S(jn));o(this,"_defaultOptions",S(Vle,{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",qle);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=zle}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=Qr(i),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(i){let a=Qr(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=Lc(i)}get hideDelay(){return this._hideDelay}set hideDelay(i){this._hideDelay=Lc(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(Et(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(Et(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(Et(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(Fle)()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(Et(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(Et(this._destroyed)).subscribe(()=>{var c;return(c=this._tooltipInstance)==null?void 0:c._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(Et(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(Et(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(),fr(()=>{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||fr({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})(),qle=(()=>{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>Ble&&i.width>=Hle}_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(Rle,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:[Ws],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 Ule(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 Gle(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))}),Ri(3,Ule,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 Yle(e,t){if(e&1&&(I(0,"div",15),B(1),N()),e&2){let n=V(2);D(),Ee(n.pageSize)}}function Wle(e,t){if(e&1&&(I(0,"div",3)(1,"div",13),B(2),N(),se(3,Gle,6,7,"mat-form-field",14)(4,Yle,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 Kle(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 Zle(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})(),Xle=50,Qle=new $("MAT_PAGINATOR_DEFAULT_OPTIONS"),Jle=(()=>{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(Qle,{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]:Xle),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,Wle,5,4,"div",3),I(3,"div",4)(4,"div",5),B(5),N(),se(6,Kle,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,Zle,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,xo,$le],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(XW());var ece=(()=>{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})();function tce(e){var t,n,i,a;return((n=(t=e.userProfile)==null?void 0:t.children)==null?void 0:n.length)>0?e.userProfile.children[0].ssin:((a=(i=e.userProfile)==null?void 0:i.mandators)==null?void 0:a.length)>0?e.userProfile.mandators[0].ssin:e.userProfile.ssin}var lS=(()=>{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})(),ice="4.0",dp=ice,Sn=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(Sn||{}),ace=(()=>{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})(),cS=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 kt(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return kt(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 kt(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 kt(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 kt(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 kt(this,null,function*(){this.storeDataInCache(e),yield this.storeDataOffline(e)})}},nce=()=>{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)},xs=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}(xs||{}),h=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(h||{}),Wd=function(e){return e.ascending="asc",e.descending="desc",e}(Wd||{});h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,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 Bl={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},uc={exchangeClientId:"exchange-client-id",authorization:"Authorization",userType:"user-type",clientType:"client-type"},Go=class extends Error{};Go.prototype.name="InvalidTokenError";function rce(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 oce(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 rce(t)}catch{return atob(t)}}function sce(e,t){if(typeof e!="string")throw new Go("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 Go(`Invalid token specified: missing part #${n+1}`);let a;try{a=oce(i)}catch(r){throw new Go(`Invalid token specified: invalid base64 for part #${n+1} (${r.message})`)}try{return JSON.parse(a)}catch(r){throw new Go(`Invalid token specified: invalid json for part #${n+1} (${r.message})`)}}var lce=class extends cS{constructor(e,t,n){super(e,xs.USER_INFOS,t,n,xs.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return kt(this,null,function*(){return sce(yield this.getLocalAccessToken(""))})}},Kd=(()=>{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})(),cce=(()=>{const t=class t extends lS{constructor(){super(...arguments),this.servicesStore=S(Kd)}resolveSsin(){return kt(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let i=yield this.fetchUserToken();return tce(i)})}resolvePatientInfo(){return kt(this,null,function*(){return(yield this.fetchUserToken()).userProfile})}resolveUserInfo(){return kt(this,null,function*(){var u,p,v,f;let i=(yield this.fetchUserToken()).userProfile,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 kt(this,null,function*(){var i,a;return((a=(i=(yield this.fetchUserToken()).userProfile)==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}fetchUserToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(i,a){this.accessTokenService||(this.accessTokenService=new lce(this.servicesStore.getServices(),this.isOfflineAuthenticated,this.isOfflineDataStorageEnabled),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})(),dce=(()=>{const t=class t extends lS{resolveSsin(){return kt(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 kt(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})(),uce=(()=>{const t=class t{constructor(){this.http=S(Ks)}get(i,a,r){return Hl()?this.http.get(i,{headers:r}):Ct(a)}patch(i,a,r){return Hl()?this.http.patch(i,{},{headers:r}):Ct(a)}post(i,a,r){return Hl()?this.http.post(i,{},{headers:r}):Ct(a)}delete(i,a,r){return Hl()?this.http.delete(i,{headers:r}):Ct(a)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Hl=()=>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 hce(e,t){return kt(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:fce(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 pce(e){for(let t of Object.keys(my))if(my[t].includes(e))return t;return sn.OTHER}function mce(e,t,n){let i=e||"UNKNOWN",a=pce(i);return{code:i,message:n??"An unexpected error occurred",group:a,traceId:t}}function fce(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 mce(t,i,n)}var gce={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function vce(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 yce=["label"];function bce(e,t){}var _ce=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,_ce))}_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}},dS=new $("MatSnackBarData"),Wc=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")}},xce=(()=>{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})(),wce=(()=>{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})(),Sce=(()=>{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})(),kce=(()=>{const t=class t{constructor(){o(this,"snackBarRef",S(up));o(this,"data",S(dS))}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,vce,3,1,"div",1)),i&2&&(D(),Ie(" ",a.data.message,`
39
+ `],encapsulation:2,changeDetection:0}));let e=t;return e})();Dp(XW());var ece=(()=>{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})();function tce(e){var t,n,i,a;return((n=(t=e.userProfile)==null?void 0:t.children)==null?void 0:n.length)>0?e.userProfile.children[0].ssin:((a=(i=e.userProfile)==null?void 0:i.mandators)==null?void 0:a.length)>0?e.userProfile.mandators[0].ssin:e.userProfile.ssin}var lS=(()=>{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})(),ice="4.0",dp=ice,Sn=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(Sn||{}),ace=(()=>{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})(),cS=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 kt(this,null,function*(){let e=yield this.getDataFromBackend();return e&&(yield this.updateStoredData(e)),e})}fetchOfflineData(){return kt(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 kt(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 kt(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 kt(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 kt(this,null,function*(){this.storeDataInCache(e),yield this.storeDataOffline(e)})}},nce=()=>{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)},xs=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}(xs||{}),h=function(e){return e.NL="nl",e.FR="fr",e.DE="de",e.EN="en",e}(h||{}),Wd=function(e){return e.ascending="asc",e.descending="desc",e}(Wd||{});h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,h.EN,h.NL,h.FR,h.DE,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 Bl={getAuthorizationHeader:e=>`Bearer ${e}`,getUserType:e=>e.isProfessional?"professional":"patient",clientType:{webApp:"webapp",mobileApp:"mobapp"}},uc={exchangeClientId:"exchange-client-id",authorization:"Authorization",userType:"user-type",clientType:"client-type"},Go=class extends Error{};Go.prototype.name="InvalidTokenError";function rce(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 oce(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 rce(t)}catch{return atob(t)}}function sce(e,t){if(typeof e!="string")throw new Go("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 Go(`Invalid token specified: missing part #${n+1}`);let a;try{a=oce(i)}catch(r){throw new Go(`Invalid token specified: invalid base64 for part #${n+1} (${r.message})`)}try{return JSON.parse(a)}catch(r){throw new Go(`Invalid token specified: invalid json for part #${n+1} (${r.message})`)}}var lce=class extends cS{constructor(e,t,n){super(e,xs.USER_INFOS,t,n,xs.USER_INFOS),this.getLocalAccessToken=e.getAccessToken}getDataFromBackend(){return kt(this,null,function*(){return sce(yield this.getLocalAccessToken(""))})}},Kd=(()=>{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})(),cce=(()=>{const t=class t extends lS{constructor(){super(...arguments),this.servicesStore=S(Kd)}resolveSsin(){return kt(this,null,function*(){if(this.isProfessional===!0)return this.patientSsin;let i=yield this.fetchUserToken();return tce(i)})}resolvePatientInfo(){return kt(this,null,function*(){return(yield this.fetchUserToken()).userProfile})}resolveUserInfo(){return kt(this,null,function*(){var u,p,v,f;let i=(yield this.fetchUserToken()).userProfile,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 kt(this,null,function*(){var i,a;return((a=(i=(yield this.fetchUserToken()).userProfile)==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}fetchUserToken(){return this.accessTokenService.getData(!0)}registerAccessTokenService(i,a){this.accessTokenService||(this.isOfflineAuthenticated=i,this.isOfflineDataStorageEnabled=a,this.accessTokenService=new lce(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})(),dce=(()=>{const t=class t extends lS{resolveSsin(){return kt(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 kt(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})(),uce=(()=>{const t=class t{constructor(){this.http=S(Ks)}get(i,a,r){return Hl()?this.http.get(i,{headers:r}):Ct(a)}patch(i,a,r){return Hl()?this.http.patch(i,{},{headers:r}):Ct(a)}post(i,a,r){return Hl()?this.http.post(i,{},{headers:r}):Ct(a)}delete(i,a,r){return Hl()?this.http.delete(i,{headers:r}):Ct(a)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),Hl=()=>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 hce(e,t){return kt(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:fce(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 pce(e){for(let t of Object.keys(my))if(my[t].includes(e))return t;return sn.OTHER}function mce(e,t,n){let i=e||"UNKNOWN",a=pce(i);return{code:i,message:n??"An unexpected error occurred",group:a,traceId:t}}function fce(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 mce(t,i,n)}var gce={HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)"};function vce(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 yce=["label"];function bce(e,t){}var _ce=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,_ce))}_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}},dS=new $("MatSnackBarData"),Wc=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")}},xce=(()=>{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})(),wce=(()=>{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})(),Sce=(()=>{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})(),kce=(()=>{const t=class t{constructor(){o(this,"snackBarRef",S(up));o(this,"data",S(dS))}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,vce,3,1,"div",1)),i&2&&(D(),Ie(" ",a.data.message,`
40
40
  `),D(),oe(a.hasAction?2:-1))},dependencies:[_a,xce,wce,Sce],styles:[`.mat-mdc-simple-snack-bar{display:flex}
41
41
  `],encapsulation:2,changeDetection:0}));let e=t;return e})(),Hu="_mat-snack-bar-enter",$u="_mat-snack-bar-exit",Ece=(()=>{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(Wc));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?Ct(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(wr,7),mt(yce,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,bce,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:[wr],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
42
  `],encapsulation:2}));let e=t;return e})();function Cce(){return new Wc}var Dce=new $("mat-snack-bar-default-options",{providedIn:"root",factory:Cce}),Ice=(()=>{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(Dce));o(this,"_snackBarRefAtThisLevel",null);o(this,"simpleSnackBarComponent",kce);o(this,"snackBarContainerComponent",Ece);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:Wc,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 Wc),this._defaultConfig),a),s=this._createOverlay(r),l=this._attachSnackBarContainer(s,r),c=new up(l,s);if(i instanceof gr){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(gce.HandsetPortrait).pipe(Et(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 tl;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:dS,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})(),uS=(()=>{const t=class t{constructor(){this.snackbar=S(Ice),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})(),Ace={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}},ll=(()=>{const t=class t{setEnvironment(i){this.configVariables=Ace[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})(),Kc=(()=>{const t=class t{constructor(){this.config=S(ll),this.injector=S(lt),this._instance=null}getInstance(){if(!this._instance){let i=this.config.getEnvironmentVariable("env")==="demo";this._instance=i?this.injector.get(dce):this.injector.get(cce)}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})(),Oce=(()=>{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"),BQ),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,il,al,rl,nl,wo,_a,ba],encapsulation:2});let e=t;return e})(),Tce=(()=>{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,il,al,rl,nl,wo,_a,ba],encapsulation:2});let e=t;return e})(),Nce={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"}},Mce=(e,t,n)=>{let i,a=Nce[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 Rce={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Pce={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Fce={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Lce={date:qu({formats:Rce,defaultWidth:"full"}),time:qu({formats:Pce,defaultWidth:"full"}),dateTime:qu({formats:Fce,defaultWidth:"full"})},Vce={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},zce=(e,t,n,i)=>Vce[e];function jo(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"]},Bce={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Hce={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"]},$ce={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"]},qce={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"}},Uce={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"}},Gce=(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"},Yce={ordinalNumber:Gce,era:jo({values:jce,defaultWidth:"wide"}),quarter:jo({values:Bce,defaultWidth:"wide",argumentCallback:e=>e-1}),month:jo({values:Hce,defaultWidth:"wide"}),day:jo({values:$ce,defaultWidth:"wide"}),dayPeriod:jo({values:qce,defaultWidth:"wide",formattingValues:Uce,defaultFormattingWidth:"wide"})};function Bo(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)?Kce(l,p=>p.test(s)):Wce(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 Wce(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Kce(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Zce(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 Xce=/^(\d+)(th|st|nd|rd)?/i,Qce=/\d+/i,Jce={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},ede={any:[/^b/i,/^(a|c)/i]},tde={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ide={any:[/1/i,/2/i,/3/i,/4/i]},ade={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},nde={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]},rde={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},ode={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]},sde={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},lde={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}},cde={ordinalNumber:Zce({matchPattern:Xce,parsePattern:Qce,valueCallback:e=>parseInt(e,10)}),era:Bo({matchPatterns:Jce,defaultMatchWidth:"wide",parsePatterns:ede,defaultParseWidth:"any"}),quarter:Bo({matchPatterns:tde,defaultMatchWidth:"wide",parsePatterns:ide,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Bo({matchPatterns:ade,defaultMatchWidth:"wide",parsePatterns:nde,defaultParseWidth:"any"}),day:Bo({matchPatterns:rde,defaultMatchWidth:"wide",parsePatterns:ode,defaultParseWidth:"any"}),dayPeriod:Bo({matchPatterns:sde,defaultMatchWidth:"any",parsePatterns:lde,defaultParseWidth:"any"})},hS={code:"en-US",formatDistance:Mce,formatLong:Lce,formatRelative:zce,localize:Yce,match:cde,options:{weekStartsOn:0,firstWeekContainsDate:1}},dde={};function Eo(){return dde}var pS=6048e5,ude=864e5,hde=6e4,pde=36e5,mde=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 fde(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 gde(e,t,n){let[i,a]=fde(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)/ude)}function vde(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 yde(e,t){let n=ni(e,t==null?void 0:t.in);return gde(n,vde(n))+1}function Vn(e,t){var l,c,d,u;let n=Eo(),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 so(e,t){return Vn(e,Qe(Q({},t),{weekStartsOn:1}))}function mS(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=so(a),s=si(n,0);s.setFullYear(i,0,4),s.setHours(0,0,0,0);let l=so(s);return n.getTime()>=r.getTime()?i+1:n.getTime()>=l.getTime()?i:i-1}function bde(e,t){let n=mS(e,t),i=si(e,0);return i.setFullYear(n,0,4),i.setHours(0,0,0,0),so(i)}function fS(e,t){let n=ni(e,t==null?void 0:t.in),i=+so(n)-+bde(n);return Math.round(i/pS)+1}function vf(e,t){var u,p,v,f;let n=ni(e,t==null?void 0:t.in),i=n.getFullYear(),a=Eo(),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 _de(e,t){var s,l,c,d;let n=Eo(),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 gS(e,t){let n=ni(e,t==null?void 0:t.in),i=+Vn(n,t)-+_de(n,t);return Math.round(i/pS)+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)}},Fr={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=mS(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=gS(e,i);return t==="wo"?n.ordinalNumber(a,{unit:"week"}):st(a,t.length)},I:function(e,t,n){let i=fS(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=yde(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=Fr.noon:i===0?a=Fr.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=Fr.evening:i>=12?a=Fr.afternoon:i>=4?a=Fr.morning:a=Fr.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"})}},vS=(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"})}},xde=(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}}",vS(a,t))},hp={p:vS,P:xde},wde=/^D+$/,Sde=/^Y+$/,kde=["D","DD","YY","YYYY"];function yS(e){return wde.test(e)}function bS(e){return Sde.test(e)}function pp(e,t,n){let i=Ede(e,t,n);if(console.warn(i),kde.includes(e))throw new RangeError(i)}function Ede(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 Cde(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Dde(e){return!(!Cde(e)&&typeof e!="number"||isNaN(+ni(e)))}var Ide=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ade=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ode=/^'([^]*?)'?$/,Tde=/''/g,Nde=/[a-zA-Z]/;function Xc(e,t,n){var u,p,v,f,x,w,E,A;let i=Eo(),a=(n==null?void 0:n.locale)??i.locale??hS,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(!Dde(l))throw new RangeError("Invalid time value");let c=t.match(Ade).map(L=>{let R=L[0];if(R==="p"||R==="P"){let re=hp[R];return re(L,a.formatLong)}return L}).join("").match(Ide).map(L=>{if(L==="''")return{isToken:!1,value:"'"};let R=L[0];if(R==="'")return{isToken:!1,value:Mde(L)};if(vy[R])return{isToken:!0,value:L};if(R.match(Nde))throw new RangeError("Format string contains an unescaped latin alphabet character `"+R+"`");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 R=L.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&bS(R)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&yS(R))&&pp(R,t,String(e));let re=vy[R[0]];return re(l,R,a.localize,d)}).join("")}function Mde(e){let t=e.match(Ode);return t?t[1].replace(Tde,"'"):e}function _S(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 xS(){return Object.assign({},Eo())}function Rde(e,t){let n=ni(e,t==null?void 0:t.in).getDay();return n===0?7:n}function Pde(e,t){let n=Fde(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 Fde(e){var t;return typeof e=="function"&&((t=e.prototype)==null?void 0:t.constructor)===e}var Lde=10,wS=class{constructor(){o(this,"subPriority",0)}validate(e,t){return!0}},Vde=class extends wS{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)}},zde=class extends wS{constructor(t,n){super();o(this,"priority",Lde);o(this,"subPriority",-1);this.context=t||(i=>si(n,i))}set(t,n){return n.timestampIsSet?t:si(t,Pde(t,this.context))}},rt=class{run(e,t,n,i){let a=this.parse(e,t,n,i);return a?{setter:new Vde(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*pde+r*hde+s*mde),rest:t.slice(n[0].length)}}function SS(e){return Tt(jt.anyDigitsSigned,e)}function Rt(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 kS(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 ES(e){return e%400===0||e%4===0&&e%100!==0}var Bde=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(Rt(4,t),a);case"yo":return Bt(i.ordinalNumber(t,{unit:"year"}),a);default:return Bt(Rt(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=kS(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}},Hde=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(Rt(4,t),a);case"Yo":return Bt(i.ordinalNumber(t,{unit:"year"}),a);default:return Bt(Rt(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=kS(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)}},$de=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),so(a)}},qde=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}},Ude=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 Rt(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}},Gde=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 Rt(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}},Yde=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(Rt(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}},Wde=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(Rt(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 Kde(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),ni(i,n==null?void 0:n.in)}var Zde=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 Rt(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,i,a){return Vn(Kde(t,i,a),a)}};function Xde(e,t,n){let i=ni(e,n==null?void 0:n.in),a=fS(i,n)-t;return i.setDate(i.getDate()-a*7),i}var Qde=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 Rt(n.length,t)}}validate(t,n){return n>=1&&n<=53}set(t,n,i){return so(Xde(t,i))}},Jde=[31,28,31,30,31,30,31,31,30,31,30,31],eue=[31,29,31,30,31,30,31,31,30,31,30,31],tue=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 Rt(n.length,t)}}validate(t,n){let i=t.getFullYear(),a=ES(i),r=t.getMonth();return a?n>=1&&n<=eue[r]:n>=1&&n<=Jde[r]}set(t,n,i){return t.setDate(i),t.setHours(0,0,0,0),t}},iue=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 Rt(n.length,t)}}validate(t,n){let i=t.getFullYear();return ES(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=Eo(),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 _S(r,d,n)}var aue=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}},nue=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(Rt(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}},rue=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(Rt(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 oue(e,t,n){let i=ni(e,n==null?void 0:n.in),a=Rde(i,n),r=t-a;return _S(i,r,n)}var sue=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 Rt(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=oue(t,i),t.setHours(0,0,0,0),t}},lue=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}},cue=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}},due=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}},uue=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 Rt(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}},hue=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 Rt(n.length,t)}}validate(t,n){return n>=0&&n<=23}set(t,n,i){return t.setHours(i,0,0,0),t}},pue=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 Rt(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}},mue=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 Rt(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}},fue=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 Rt(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,i){return t.setMinutes(i,0,0),t}},gue=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 Rt(n.length,t)}}validate(t,n){return n>=0&&n<=59}set(t,n,i){return t.setSeconds(i,0),t}},vue=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(Rt(n.length,t),i)}set(t,n,i){return t.setMilliseconds(i),t}},yue=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)}},bue=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)}},_ue=class extends rt{constructor(){super(...arguments);o(this,"priority",40);o(this,"incompatibleTokens","*")}parse(t){return SS(t)}set(t,n,i){return[si(t,i*1e3),{timestampIsSet:!0}]}},xue=class extends rt{constructor(){super(...arguments);o(this,"priority",20);o(this,"incompatibleTokens","*")}parse(t){return SS(t)}set(t,n,i){return[si(t,i),{timestampIsSet:!0}]}},wue={G:new jde,y:new Bde,Y:new Hde,R:new $de,u:new qde,Q:new Ude,q:new Gde,M:new Yde,L:new Wde,w:new Zde,I:new Qde,d:new tue,D:new iue,E:new aue,e:new nue,c:new rue,i:new sue,a:new lue,b:new cue,B:new due,h:new uue,H:new hue,K:new pue,k:new mue,m:new fue,s:new gue,S:new vue,X:new yue,x:new bue,t:new _ue,T:new xue},Sue=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,kue=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Eue=/^'([^]*?)'?$/,Cue=/''/g,Due=/\S/,Iue=/[a-zA-Z]/;function Aue(e,t,n,i){var E,A,L,R;let a=()=>si(n,NaN),r=xS(),s=r.locale??hS,l=r.firstWeekContainsDate??((A=(E=r.locale)==null?void 0:E.options)==null?void 0:A.firstWeekContainsDate)??1,c=r.weekStartsOn??((R=(L=r.locale)==null?void 0:L.options)==null?void 0:R.weekStartsOn)??0,d={firstWeekContainsDate:l,weekStartsOn:c,locale:s},u=[new zde(i==null?void 0:i.in,n)],p=t.match(kue).map(re=>{let xe=re[0];if(xe in hp){let Me=hp[xe];return Me(re,s.formatLong)}return re}).join("").match(Sue),v=[];for(let re of p){bS(re)&&pp(re,t,e),yS(re)&&pp(re,t,e);let xe=re[0],Me=wue[xe];if(Me){let{incompatibleTokens:Jt}=Me;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(Me.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=Me.run(e,re,s.match,d);if(!Ft)return a();u.push(Ft.setter),e=Ft.rest}else{if(xe.match(Iue))throw new RangeError("Format string contains an unescaped latin alphabet character `"+xe+"`");if(re==="''"?re="'":xe==="'"&&(re=Oue(re)),e.indexOf(re)===0)e=e.slice(re.length);else return a()}}if(e.length>0&&Due.test(e))return a();let f=u.map(re=>re.priority).sort((re,xe)=>xe-re).filter((re,xe,Me)=>Me.indexOf(re)===xe).map(re=>u.filter(xe=>xe.priority===re).sort((xe,Me)=>Me.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 Oue(e){return e.match(Eue)[1].replace(Cue,"'")}function xy(e,t,n){let i=xS(),a=Mue(e,n.timeZone,n.locale??i.locale);return"formatToParts"in a?Tue(a,t):Nue(a,t)}function Tue(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 Nue(e,t){let n=e.format(t).replace(/\u200E/g,""),i=/ [\w-+ ]+$/.exec(n);return i?i[0].substr(1):""}function Mue(e,t,n){return new Intl.DateTimeFormat(n?[n.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}function Rue(e,t){let n=zue(t);return"formatToParts"in n?Fue(n,e):Lue(n,e)}var Pue={year:0,month:1,day:2,hour:3,minute:4,second:5};function Fue(e,t){try{let n=e.formatToParts(t),i=[];for(let a=0;a<n.length;a++){let r=Pue[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 Lue(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")),Vue=wy==="06/25/2014, 00:00:00"||wy==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";function zue(e){return Uu[e]||(Uu[e]=Vue?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 CS(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 DS(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($ue(e)){t=new Date(t||Date.now());let s=n?t:Bue(t),l=mp(s,e);return-(n?l:Hue(t,l,e))}return NaN}function Bue(e){return CS(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function mp(e,t){let n=Rue(e,t),i=CS(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 Hue(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 $ue(e){if(Ey[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),Ey[e]=!0,!0}catch{return!1}}var que=60*1e3,Uue={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 Vr(i);case"XXXXX":case"XXX":default:return Vr(i,":")}},x:function(e,t,n){let i=Yu(n.timeZone,e);switch(t){case"x":return Cy(i);case"xxxx":case"xx":return Vr(i);case"xxxxx":case"xxx":default:return Vr(i,":")}},O:function(e,t,n){let i=Yu(n.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+Gue(i,":");case"OOOO":default:return"GMT"+Vr(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?DS(e,t,!0)/que:(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 Vr(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):Vr(e,t)}function Gue(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 Yue=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,Wu=36e5,Iy=6e4,Wue=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:Yue};function Kue(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?Wue: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=Zue(e),{year:a,restDateString:r}=Xue(i.date,n),s=Que(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=Jue(i.time),c===null||isNaN(c)))return new Date(NaN);if(i.timeZone||t.timeZone){if(d=DS(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 Zue(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 Xue(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 Que(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 ihe(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 Jue(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 ehe=[31,28,31,30,31,30,31,31,30,31,30,31],the=[31,29,31,30,31,30,31,31,30,31,30,31];function IS(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=IS(e);if(i&&n>the[t]||!i&&n>ehe[t])return!1}return!0}function ihe(e,t){if(t<1)return!1;let n=IS(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 ahe=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function nhe(e,t,n={}){t=String(t);let i=t.match(ahe);if(i){let a=Kue(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,"'"+Uue[s[0]](a,s,n)+"'");return c?d.substring(0,l-1)+d.substring(l+1):d},t)}return Xc(e,t,n)}var rhe=(()=>{const t=class t{reportError(i){return Ct({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})(),ohe=(()=>{const t=class t{constructor(){this.http=S(Ks)}reportError(i){return this.http.post("/v2/report/error",i)}};t.ɵfac=function(i){return new(i||t)},t.ɵprov=q({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),she=(()=>{const t=class t{constructor(){this.config=S(ll),this.injector=S(lt),this._instance=null}getInstance(){if(!this._instance){let i=this.config.getEnvironmentVariable("env")==="demo";this._instance=i?this.injector.get(rhe):this.injector.get(ohe)}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})(),lhe=(()=>{const t=class t extends ace{constructor(){super(...arguments),this.version=dp,this.authServiceSelector=S(Kc),this.translateService=S(Bn),this.webComponentConfig=S(ll),this.injector=S(lt),this.servicesStore=S(Kd),this.matDialog=S(Ir),this.destroyRef=S(Hi),this.errorServiceSelector=S(she),this.snackbarService=S(uS),this.extraRequiredFields=["offlineDataStorageEnabled","isOfflineAuthenticated","professional","ssin"]}onInitialized(){return kt(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=>kt(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(Oce,{data:{error:i}}).beforeClosed().pipe(oi(a=>a),_o(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(Tce,{data:i})}formatDateWithZone(){return nhe(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 che(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 dhe(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 uhe(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 hhe=(()=>{const t=class t{constructor(){this.sortData=Zee.required(),this.sortItems=zt.required(),this.disabled=zt(!1),this.sortDirection=Wd}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})}),Ri(4,che,3,4,"mat-option",4,va),N()()(),se(6,dhe,3,4,"button",5)(7,uhe,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,wo,xo,_s,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})(),phe=[[["","alert-details",""]]],mhe=["[alert-details]"];function fhe(e,t){if(e&1&&(I(0,"h2"),B(1),N()),e&2){let n=V();D(),Ie(" ",n.alertTitle()," ")}}function ghe(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 vhe(e,t){if(e&1&&(I(0,"span",5),dt(1),N(),se(2,ghe,2,2,"button",6)),e&2){let n=V();D(2),oe(n.actionButton()?2:-1)}}function yhe(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 bhe(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 _he=(()=>{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",Yie(()=>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:mhe,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(phe),I(0,"div",0),he(1,"mat-icon",1),I(2,"div",2),se(3,fhe,2,1,"h2")(4,vhe,3,1),N(),se(5,yhe,1,1,"mat-icon",3)(6,bhe,1,2,"mat-icon",4),N()),i&2&&(yr(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 xhe(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 whe=(()=>{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,xhe,5,6,"mh-alert",0),i&2&&oe(a.error().group===a.vidisErrorGroup.TEMP_UNAVAILABLE?0:-1)},dependencies:[ba,_he],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})(),She=["*"],khe=(e,t,n,i,a)=>({"custom-content":e,circle:t,progress:n,"progress-dark":i,pulse:a});function Ehe(e,t){e&1&&dt(0)}function Che(e,t){if(e&1&&(I(0,"div",0),se(1,Ehe,1,0),N()),e&2){let n=V(),i=Zg(0),a=Zg(1);X("ngClass",vie(5,khe,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 AS=new $("ngx-skeleton-loader.config"),Dhe=(()=>{var t;const n=class n{constructor(){Wf(this,t);var a,r,s,l,c,d;Kf(this,t,S(AS,{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"&&Rie(),[...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:She,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),Ri(2,Che,2,11,"div",0,va)),a&2&&(Kg(r.appearance()),D(),Kg(r.animation()),D(),Pi(r.items()))},dependencies:[Ws,Pae],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})(),Ihe=(()=>{const t=class t{static forRoot(i){return{ngModule:t,providers:[{provide:AS,useValue:i}]}}};t.ɵfac=function(i){return new(i||t)},t.ɵmod=xt({type:t}),t.ɵinj=_t({imports:[w1]});let e=t;return e})(),Ahe=Dp(QW()),OS={"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(OS);var Ohe=OS,TS={"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(TS);var The=TS,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)},zr,Yo,er,Nhe=class{constructor(...e){zr.set(this,new Map),Yo.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,Yo,"f").set(n,s),r=!1,l)continue;let c=Wi(this,zr,"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,zr,"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,zr,"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,Yo,"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,zr,"f"),extensions:Wi(this,Yo,"f")}}};zr=new WeakMap,Yo=new WeakMap,er=new WeakMap;var Mhe=Nhe,NS=new Mhe(The,Ohe)._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 xr().set(uc.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})(),ws=(()=>{const t=class t extends cS{constructor(i,a){super(i.getServices(),xs.DIARY_NOTES,a.getInstance().isOfflineAuthenticated,a.getInstance().isOfflineDataStorageEnabled,xs.DIARY_NOTES),this.diarynoteApiService=S(Zd),this.snackbarService=S(uS),this.translate=S(Bn),this.authServiceSelector=S(Kc),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:Wd.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 kt(this,null,function*(){return hce(this.getData(i),this.diarynotesStateSubject$)})}getDataFromBackend(){return kt(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 $K(r)})}static isDiaryNoteCompleted(i){return(i==null?void 0:i.toLowerCase())==="completed"}updatePagination(i){return kt(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 kt(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 kt(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 kt(this,null,function*(){this.filterStateSubject$.next({dateRange:{from:null,until:null},author:"",role:"",tags:[]}),yield this.fetchDiarynotes(!0)})}clearFilterByKey(i){return kt(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,Ahe.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?NS.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(Kd),pe(Kc))},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(Ks)}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===Wd.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})(),Rhe={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},RS={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:[]},Phe={diaryNote:RS,statusCode:200},PS=(()=>{const t=class t extends Zd{constructor(){super(...arguments),this.demoService=S(uce)}search(i,a,r,s){return this.demoService.get("/v1/mydiarynotes",Rhe,this.buildClientIdHeader())}fetchSpecificDiaryNote(i,a,r,s){return this.demoService.get(`/v1/diarynotes/${i}`,RS,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}`,Phe,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})(),Fhe=(e,t)=>e.getEnvironmentVariable("env")===Sn.DEMO?t.get(PS):t.get(MS),Lhe={provide:Zd,useFactory:Fhe,deps:[ll,lt]},Vhe=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],zhe=["*","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 Bhe(e,t){e&1&&(I(0,"span",6),dt(1,2),N())}var Hhe=["*"],$he=new $("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})}),Ny=new $("MatChipAvatar"),My=new $("MatChipTrailingIcon"),fp=new $("MatChipRemove"),FS=new $("MatChip"),gp=(()=>{const t=class t{constructor(){o(this,"_elementRef",S(ze));o(this,"_parentChip",S(FS));o(this,"isInteractive",!0);o(this,"_isPrimary",!0);o(this,"_disabled",!1);o(this,"tabIndex",-1);o(this,"_allowFocusWhenDisabled",!1);S(Li).load(el),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})(),LS=(()=>{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(Js));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(el),i.load(Dr);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,My,5),pi(r,fp,5),pi(r,Ny,5),pi(r,My,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),yr("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:FS,useExisting:t}])],ngContentSelectors:zhe,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(Vhe),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,Bhe,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}
package/diarynote.js CHANGED
@@ -1 +1 @@
1
- import"./assets/polyfills-CGYnV-49.js";import"./assets/main-CJ_gu7Se.js";/* empty css */
1
+ import"./assets/polyfills-CGYnV-49.js";import"./assets/main-CXJdGtf3.js";/* empty css */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smals-belgium-shared/vidis-diarynote",
3
- "version": "3.1.1-snapshot.0",
3
+ "version": "3.1.1-snapshot.2",
4
4
  "description": "Diary notes web component",
5
5
  "main": "diarynote.js",
6
6
  "author": "smals",