@smals-belgium-shared/vidis-diarynote 1.0.2 → 1.0.4
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.
|
@@ -259,7 +259,7 @@ ${t.map((r,u)=>`${u+1}) ${r.toString()}`).join(`
|
|
|
259
259
|
--mat-mdc-form-field-label-transform,
|
|
260
260
|
${Lge} translateX(${s})
|
|
261
261
|
)`}_isAttachedToDom(){let u=this._elementRef.nativeElement;if(u.getRootNode){let i=u.getRootNode();return i&&i!==u}return document.documentElement.contains(u)}};t.ɵfac=function(u){return new(u||t)(ct(ai),ct(kn),ct(ri),ct(Xr),ct(_n),ct(Mge,8),ct(Jr,8),ct(hi))},t.ɵcmp=Ai({type:t,selectors:[["mat-form-field"]],contentQueries:function(u,i,o){if(u&1&&(Zn(o,kd,5),Zn(o,kd,7),Zn(o,Of,5),Zn(o,Pge,5),Zn(o,Ng,5),Zn(o,Rg,5),Zn(o,Q5,5)),u&2){let l;ci(l=di())&&(i._labelChildNonStatic=l.first),ci(l=di())&&(i._labelChildStatic=l.first),ci(l=di())&&(i._formFieldControl=l.first),ci(l=di())&&(i._prefixChildren=l),ci(l=di())&&(i._suffixChildren=l),ci(l=di())&&(i._errorChildren=l),ci(l=di())&&(i._hintChildren=l)}},viewQuery:function(u,i){if(u&1&&(An(sge,5),An(lge,5),An(cge,5),An(j8,5),An(W8,5),An(H8,5)),u&2){let o;ci(o=di())&&(i._textField=o.first),ci(o=di())&&(i._iconPrefixContainer=o.first),ci(o=di())&&(i._textPrefixContainer=o.first),ci(o=di())&&(i._floatingLabel=o.first),ci(o=di())&&(i._notchedOutline=o.first),ci(o=di())&&(i._lineRipple=o.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(u,i){u&2&&zi("mat-mdc-form-field-label-always-float",i._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",i._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",i._hasIconSuffix)("mat-form-field-invalid",i._control.errorState)("mat-form-field-disabled",i._control.disabled)("mat-form-field-autofilled",i._control.autofilled)("mat-form-field-no-animations",i._animationMode==="NoopAnimations")("mat-form-field-appearance-fill",i.appearance=="fill")("mat-form-field-appearance-outline",i.appearance=="outline")("mat-form-field-hide-placeholder",i._hasFloatingLabel()&&!i._shouldLabelFloat())("mat-focused",i._control.focused)("mat-primary",i.color!=="accent"&&i.color!=="warn")("mat-accent",i.color==="accent")("mat-warn",i.color==="warn")("ng-untouched",i._shouldForward("untouched"))("ng-touched",i._shouldForward("touched"))("ng-pristine",i._shouldForward("pristine"))("ng-dirty",i._shouldForward("dirty"))("ng-valid",i._shouldForward("valid"))("ng-invalid",i._shouldForward("invalid"))("ng-pending",i._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],standalone:!0,features:[pr([{provide:Th,useExisting:t},{provide:Lg,useExisting:t}]),_i],ngContentSelectors:hge,decls:18,vars:21,consts:[["labelTemplate",""],["textField",""],["iconPrefixContainer",""],["textPrefixContainer",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],[1,"mat-mdc-form-field-focus-overlay"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen"],[1,"mat-mdc-form-field-icon-prefix"],[1,"mat-mdc-form-field-text-prefix"],[1,"mat-mdc-form-field-infix"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align"],["matFormFieldFloatingLabel","",3,"floating","monitorResize","id"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id"],[1,"mat-mdc-form-field-hint-spacer"]],template:function(u,i){if(u&1){let o=Hi();xr(dge),Iu(0,mge,1,1,"ng-template",null,0,G9e),At(2,"div",4,1),Ou("click",function(l){return Zu(o),Yu(i._control.onContainerClick(l))}),Iu(4,gge,1,0,"div",5),At(5,"div",6),Iu(6,Fge,2,2,"div",7)(7,Age,3,0,"div",8)(8,Dge,3,0,"div",9),At(9,"div",10),Iu(10,Bge,1,1,null,11),Zi(11),vt(),Iu(12,yge,2,0,"div",12)(13,bge,2,0,"div",13),vt(),Iu(14,xge,1,0,"div",14),vt(),At(15,"div",15),Iu(16,_ge,2,1)(17,Sge,5,2),vt()}if(u&2){let o;pt(2),zi("mdc-text-field--filled",!i._hasOutline())("mdc-text-field--outlined",i._hasOutline())("mdc-text-field--no-label",!i._hasFloatingLabel())("mdc-text-field--disabled",i._control.disabled)("mdc-text-field--invalid",i._control.errorState),pt(2),Tu(4,!i._hasOutline()&&!i._control.disabled?4:-1),pt(2),Tu(6,i._hasOutline()?6:-1),pt(),Tu(7,i._hasIconPrefix?7:-1),pt(),Tu(8,i._hasTextPrefix?8:-1),pt(2),Tu(10,!i._hasOutline()||i._forceDisplayInfixLabel()?10:-1),pt(2),Tu(12,i._hasTextSuffix?12:-1),pt(),Tu(13,i._hasIconSuffix?13:-1),pt(),Tu(14,i._hasOutline()?-1:14),pt(),zi("mat-mdc-form-field-subscript-dynamic-size",i.subscriptSizing==="dynamic"),pt(),Tu(16,(o=i._getDisplayedMessages())==="error"?16:o==="hint"?17:-1)}},dependencies:[j8,W8,hme,H8,Q5],styles:['.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:4px;border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 64px/0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 96px/0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-notched-outline{display:flex;position:absolute;top:0;right:0;left:0;box-sizing:border-box;width:100%;max-width:100%;height:100%;text-align:left;pointer-events:none}[dir=rtl] .mdc-notched-outline,.mdc-notched-outline[dir=rtl]{text-align:right}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{box-sizing:border-box;height:100%;pointer-events:none}.mdc-notched-outline__trailing{flex-grow:1}.mdc-notched-outline__notch{flex:0 0 auto;width:auto}.mdc-notched-outline .mdc-floating-label{display:inline-block;position:relative;max-width:100%}.mdc-notched-outline .mdc-floating-label--float-above{text-overflow:clip}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:133.3333333333%}.mdc-notched-outline--notched .mdc-notched-outline__notch{padding-left:0;padding-right:8px;border-top:none}[dir=rtl] .mdc-notched-outline--notched .mdc-notched-outline__notch,.mdc-notched-outline--notched .mdc-notched-outline__notch[dir=rtl]{padding-left:8px;padding-right:0}.mdc-notched-outline--no-label .mdc-notched-outline__notch{display:none}.mdc-line-ripple::before,.mdc-line-ripple::after{position:absolute;bottom:0;left:0;width:100%;border-bottom-style:solid;content:""}.mdc-line-ripple::before{z-index:1}.mdc-line-ripple::after{transform:scaleX(0);opacity:0;z-index:2}.mdc-line-ripple--active::after{transform:scaleX(1);opacity:1}.mdc-line-ripple--deactivating::after{opacity:0}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-notched-outline__leading,.mdc-notched-outline__notch,.mdc-notched-outline__trailing{border-top:1px solid;border-bottom:1px solid}.mdc-notched-outline__leading{border-left:1px solid;border-right:none;width:12px}[dir=rtl] .mdc-notched-outline__leading,.mdc-notched-outline__leading[dir=rtl]{border-left:none;border-right:1px solid}.mdc-notched-outline__trailing{border-left:none;border-right:1px solid}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{max-width:calc(100% - 12px*2)}.mdc-line-ripple::before{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.mdc-text-field--filled{border-top-left-radius:var(--mdc-filled-text-field-container-shape);border-top-right-radius:var(--mdc-filled-text-field-container-shape);border-bottom-right-radius:0;border-bottom-left-radius:0}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-caret-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-filled-text-field-error-caret-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-filled-text-field-input-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-filled-text-field-disabled-input-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-focus-label-text-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-hover-label-text-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-disabled-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-focus-label-text-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-filled-text-field-error-hover-label-text-color)}.mdc-text-field--filled .mdc-floating-label{font-family:var(--mdc-filled-text-field-label-text-font);font-size:var(--mdc-filled-text-field-label-text-size);font-weight:var(--mdc-filled-text-field-label-text-weight);letter-spacing:var(--mdc-filled-text-field-label-text-tracking)}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}}.mdc-text-field--filled:not(.mdc-text-field--disabled){background-color:var(--mdc-filled-text-field-container-color)}.mdc-text-field--filled.mdc-text-field--disabled{background-color:var(--mdc-filled-text-field-disabled-container-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-hover-active-indicator-color)}.mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-focus-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--disabled .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-disabled-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-line-ripple::before{border-bottom-color:var(--mdc-filled-text-field-error-hover-active-indicator-color)}.mdc-text-field--filled.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-line-ripple::after{border-bottom-color:var(--mdc-filled-text-field-error-focus-active-indicator-color)}.mdc-text-field--filled .mdc-line-ripple::before{border-bottom-width:var(--mdc-filled-text-field-active-indicator-height)}.mdc-text-field--filled .mdc-line-ripple::after{border-bottom-width:var(--mdc-filled-text-field-focus-active-indicator-height)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-caret-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-text-field__input{caret-color:var(--mdc-outlined-text-field-error-caret-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input{color:var(--mdc-outlined-text-field-input-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-text-field__input{color:var(--mdc-outlined-text-field-disabled-input-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-focus-label-text-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-hover-label-text-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-disabled-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-focus-label-text-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-floating-label--float-above{color:var(--mdc-outlined-text-field-error-hover-label-text-color)}.mdc-text-field--outlined .mdc-floating-label{font-family:var(--mdc-outlined-text-field-label-text-font);font-size:var(--mdc-outlined-text-field-label-text-size);font-weight:var(--mdc-outlined-text-field-label-text-weight);letter-spacing:var(--mdc-outlined-text-field-label-text-tracking)}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input::placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}@media all{.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-text-field__input:-ms-input-placeholder{color:var(--mdc-outlined-text-field-input-text-placeholder-color)}}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(.75*var(--mdc-outlined-text-field-label-text-size))}.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mdc-outlined-text-field-label-text-size)}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px,var(--mdc-outlined-text-field-container-shape))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-right-radius:var(--mdc-outlined-text-field-container-shape);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-outlined-text-field-container-shape);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-outlined-text-field-container-shape)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px,var(--mdc-outlined-text-field-container-shape))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px,var(--mdc-outlined-text-field-container-shape))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px,calc(var(--mdc-outlined-text-field-container-shape) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-hover-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-focus-outline-color)}.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--disabled .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-disabled-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled) .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled):not(.mdc-text-field--focused):hover .mdc-notched-outline .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-hover-outline-color)}.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--outlined.mdc-text-field--invalid:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline__trailing{border-color:var(--mdc-outlined-text-field-error-focus-outline-color)}.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-outline-width)}.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__notch,.mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused .mdc-notched-outline .mdc-notched-outline__trailing{border-width:var(--mdc-outlined-text-field-focus-outline-width)}.mat-mdc-form-field-textarea-control{vertical-align:middle;resize:vertical;box-sizing:border-box;height:auto;margin:0;padding:0;border:none;overflow:auto}.mat-mdc-form-field-input-control.mat-mdc-form-field-input-control{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;line-height:normal;pointer-events:all;will-change:auto}.mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{cursor:inherit}.mdc-text-field--no-label:not(.mdc-text-field--textarea) .mat-mdc-form-field-input-control.mdc-text-field__input,.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control{height:auto}.mat-mdc-text-field-wrapper .mat-mdc-form-field-input-control.mdc-text-field__input[type=color]{height:23px}.mat-mdc-text-field-wrapper{height:auto;flex:auto;will-change:auto}.mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-left:0;--mat-mdc-form-field-label-offset-x: -16px}.mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-right:0}[dir=rtl] .mat-mdc-text-field-wrapper{padding-left:16px;padding-right:16px}[dir=rtl] .mat-mdc-form-field-has-icon-suffix .mat-mdc-text-field-wrapper{padding-left:0}[dir=rtl] .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper{padding-right:0}.mat-form-field-disabled .mdc-text-field__input::placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-moz-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input::-webkit-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-form-field-disabled .mdc-text-field__input:-ms-input-placeholder{color:var(--mat-form-field-disabled-input-text-placeholder-color)}.mat-mdc-form-field-label-always-float .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms;opacity:1}.mat-mdc-text-field-wrapper .mat-mdc-form-field-infix .mat-mdc-floating-label{left:auto;right:auto}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-text-field__input{display:inline-block}.mat-mdc-form-field .mat-mdc-text-field-wrapper.mdc-text-field .mdc-notched-outline__notch{padding-top:0}.mat-mdc-text-field-wrapper::before{content:none}.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:1px solid rgba(0,0,0,0)}[dir=rtl] .mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field.mat-mdc-form-field .mdc-notched-outline__notch{border-left:none;border-right:1px solid rgba(0,0,0,0)}.mat-mdc-form-field-infix{min-height:var(--mat-form-field-container-height);padding-top:var(--mat-form-field-filled-with-label-container-padding-top);padding-bottom:var(--mat-form-field-filled-with-label-container-padding-bottom)}.mdc-text-field--outlined .mat-mdc-form-field-infix,.mdc-text-field--no-label .mat-mdc-form-field-infix{padding-top:var(--mat-form-field-container-vertical-padding);padding-bottom:var(--mat-form-field-container-vertical-padding)}.mat-mdc-text-field-wrapper .mat-mdc-form-field-flex .mat-mdc-floating-label{top:calc(var(--mat-form-field-container-height)/2)}.mdc-text-field--filled .mat-mdc-floating-label{display:var(--mat-form-field-filled-label-display, block)}.mat-mdc-text-field-wrapper.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{--mat-mdc-form-field-label-transform: translateY(calc(calc(6.75px + var(--mat-form-field-container-height) / 2) * -1)) scale(var(--mat-mdc-form-field-floating-label-scale, 0.75));transform:var(--mat-mdc-form-field-label-transform)}.mat-mdc-form-field-subscript-wrapper{box-sizing:border-box;width:100%;position:relative}.mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-error-wrapper{position:absolute;top:0;left:0;right:0;padding:0 16px}.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-hint-wrapper,.mat-mdc-form-field-subscript-dynamic-size .mat-mdc-form-field-error-wrapper{position:static}.mat-mdc-form-field-bottom-align::before{content:"";display:inline-block;height:16px}.mat-mdc-form-field-bottom-align.mat-mdc-form-field-subscript-dynamic-size::before{content:unset}.mat-mdc-form-field-hint-end{order:1}.mat-mdc-form-field-hint-wrapper{display:flex}.mat-mdc-form-field-hint-spacer{flex:1 0 1em}.mat-mdc-form-field-error{display:block;color:var(--mat-form-field-error-text-color)}.mat-mdc-form-field-subscript-wrapper,.mat-mdc-form-field-bottom-align::before{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-subscript-text-font);line-height:var(--mat-form-field-subscript-text-line-height);font-size:var(--mat-form-field-subscript-text-size);letter-spacing:var(--mat-form-field-subscript-text-tracking);font-weight:var(--mat-form-field-subscript-text-weight)}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none;background-color:var(--mat-form-field-state-layer-color)}.mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-hover-state-layer-opacity)}.mat-mdc-form-field.mat-focused .mat-mdc-form-field-focus-overlay{opacity:var(--mat-form-field-focus-state-layer-opacity)}select.mat-mdc-form-field-input-control{-moz-appearance:none;-webkit-appearance:none;background-color:rgba(0,0,0,0);display:inline-flex;box-sizing:border-box}select.mat-mdc-form-field-input-control:not(:disabled){cursor:pointer}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option{color:var(--mat-form-field-select-option-text-color)}select.mat-mdc-form-field-input-control:not(.mat-mdc-native-select-inline) option:disabled{color:var(--mat-form-field-select-disabled-option-text-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid rgba(0,0,0,0);border-right:5px solid rgba(0,0,0,0);border-top:5px solid;position:absolute;right:0;top:50%;margin-top:-2.5px;pointer-events:none;color:var(--mat-form-field-enabled-select-arrow-color)}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-infix::after{right:auto;left:0}.mat-mdc-form-field-type-mat-native-select.mat-focused .mat-mdc-form-field-infix::after{color:var(--mat-form-field-focus-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select.mat-form-field-disabled .mat-mdc-form-field-infix::after{color:var(--mat-form-field-disabled-select-arrow-color)}.mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:15px}[dir=rtl] .mat-mdc-form-field-type-mat-native-select .mat-mdc-form-field-input-control{padding-right:0;padding-left:15px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-mdc-text-field-wrapper{outline:solid 1px}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-form-field-disabled .mat-mdc-text-field-wrapper{outline-color:GrayText}.cdk-high-contrast-active .mat-form-field-appearance-fill.mat-focused .mat-mdc-text-field-wrapper{outline:dashed 3px}.cdk-high-contrast-active .mat-mdc-form-field.mat-focused .mdc-notched-outline{border:dashed 3px}.mat-mdc-form-field-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-form-field-container-text-font);line-height:var(--mat-form-field-container-text-line-height);font-size:var(--mat-form-field-container-text-size);letter-spacing:var(--mat-form-field-container-text-tracking);font-weight:var(--mat-form-field-container-text-weight)}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field .mdc-text-field--outlined .mdc-floating-label--float-above{font-size:calc(var(--mat-form-field-outlined-label-text-populated-size)*var(--mat-mdc-form-field-floating-label-scale))}.mat-mdc-form-field .mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:var(--mat-form-field-outlined-label-text-populated-size)}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%;z-index:0}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto;position:relative;z-index:1}.mat-mdc-form-field-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:0 12px;box-sizing:content-box}.mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-leading-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-prefix{color:var(--mat-form-field-disabled-leading-icon-color)}.mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-trailing-icon-color)}.mat-form-field-disabled .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-disabled-trailing-icon-color)}.mat-form-field-invalid .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-trailing-icon-color)}.mat-form-field-invalid:not(.mat-focused):not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper:hover .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-hover-trailing-icon-color)}.mat-form-field-invalid.mat-focused .mat-mdc-text-field-wrapper .mat-mdc-form-field-icon-suffix{color:var(--mat-form-field-error-focus-trailing-icon-color)}.mat-mdc-form-field-icon-prefix,[dir=rtl] .mat-mdc-form-field-icon-suffix{padding:0 4px 0 0}.mat-mdc-form-field-icon-suffix,[dir=rtl] .mat-mdc-form-field-icon-prefix{padding:0 0 0 4px}.mat-mdc-form-field-subscript-wrapper .mat-icon,.mat-mdc-form-field label .mat-icon{width:1em;height:1em;font-size:inherit}.mat-mdc-form-field-infix{flex:auto;min-width:0;width:180px;position:relative;box-sizing:border-box}.mat-mdc-form-field .mdc-notched-outline__notch{margin-left:-1px;-webkit-clip-path:inset(-9em -999em -9em 1px);clip-path:inset(-9em -999em -9em 1px)}[dir=rtl] .mat-mdc-form-field .mdc-notched-outline__notch{margin-left:0;margin-right:-1px;-webkit-clip-path:inset(-9em 1px -9em -999em);clip-path:inset(-9em 1px -9em -999em)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition:opacity 67ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input::placeholder{transition-delay:40ms;transition-duration:110ms}}@media all{.mdc-text-field--no-label .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__input:-ms-input-placeholder{transition-delay:40ms;transition-duration:110ms}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field__affix{transition:opacity 150ms 0ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled.mdc-ripple-upgraded--background-focused .mdc-text-field__ripple::before,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--filled:not(.mdc-ripple-upgraded):focus .mdc-text-field__ripple::before{transition-duration:75ms}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea{transition:none}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-filled 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-filled{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 10.25px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-textarea-outlined 250ms 1}@keyframes mdc-floating-label-shake-float-above-textarea-outlined{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 24.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon{0%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - 32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}[dir=rtl] .mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--shake,.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-text-field--with-leading-icon.mdc-text-field--outlined[dir=rtl] .mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-text-field-outlined-leading-icon 250ms 1}@keyframes mdc-floating-label-shake-float-above-text-field-outlined-leading-icon-rtl{0%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}100%{transform:translateX(calc(0% - -32px)) translateY(calc(0% - 34.75px)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-floating-label{transition:transform 150ms cubic-bezier(0.4, 0, 0.2, 1),color 150ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-floating-label--shake{animation:mdc-floating-label-shake-float-above-standard 250ms 1}@keyframes mdc-floating-label-shake-float-above-standard{0%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}100%{transform:translateX(calc(0% - 0%)) translateY(calc(0% - 106%)) scale(0.75)}}.mat-mdc-form-field:not(.mat-form-field-no-animations) .mdc-line-ripple::after{transition:transform 180ms cubic-bezier(0.4, 0, 0.2, 1),opacity 180ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-notched-outline .mdc-floating-label{max-width:calc(100% + 1px)}.mdc-notched-outline--upgraded .mdc-floating-label--float-above{max-width:calc(133.3333333333% + 1px)}'],encapsulation:2,data:{animation:[Rge.transitionMessages]},changeDetection:0});let e=t;return e})(),mc=(()=>{const t=class t{};t.ɵfac=function(u){return new(u||t)},t.ɵmod=dn({type:t}),t.ɵinj=cn({imports:[qn,bh,cg,qn]});let e=t;return e})(),zg=(()=>{const t=class t{constructor(u,i){this._renderer=u,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(u,i){this._renderer.setProperty(this._elementRef.nativeElement,u,i)}registerOnTouched(u){this.onTouched=u}registerOnChange(u){this.onChange=u}setDisabledState(u){this.setProperty("disabled",u)}};t.ɵfac=function(u){return new(u||t)(ct(Mc),ct(ai))},t.ɵdir=$u({type:t});let e=t;return e})(),zge=(()=>{const t=class t extends zg{};t.ɵfac=(()=>{let u;return function(i){return(u||(u=Kr(t)))(i||t)}})(),t.ɵdir=$u({type:t,features:[Sn]});let e=t;return e})(),Rf=new iu(""),Vge={provide:Rf,useExisting:wa(()=>Rh),multi:!0};function jge(){let e=$o()?$o().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}var Uge=new iu(""),Rh=(()=>{const t=class t extends zg{constructor(u,i,o){super(u,i),this._compositionMode=o,this._composing=!1,this._compositionMode==null&&(this._compositionMode=!jge())}writeValue(u){let i=u??"";this.setProperty("value",i)}_handleInput(u){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(u)}_compositionStart(){this._composing=!0}_compositionEnd(u){this._composing=!1,this._compositionMode&&this.onChange(u)}};t.ɵfac=function(u){return new(u||t)(ct(Mc),ct(ai),ct(Uge,8))},t.ɵdir=$u({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(u,i){u&1&&Ou("input",function(o){return i._handleInput(o.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(o){return i._compositionEnd(o.target.value)})},features:[pr([Vge]),Sn]});let e=t;return e})();function vo(e){return e==null||(typeof e=="string"||Array.isArray(e))&&e.length===0}function Vg(e){return e!=null&&typeof e.length=="number"}var jc=new iu(""),Mf=new iu(""),Hge=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Nf=class{static min(e){return Wge(e)}static max(e){return qge(e)}static required(e){return Gge(e)}static requiredTrue(e){return Xge(e)}static email(e){return Zge(e)}static minLength(e){return Yge(e)}static maxLength(e){return jg(e)}static pattern(e){return Kge(e)}static nullValidator(e){return Id()}static compose(e){return Xg(e)}static composeAsync(e){return Zg(e)}};function Wge(e){return t=>{if(vo(t.value)||vo(e))return null;let r=parseFloat(t.value);return!isNaN(r)&&r<e?{min:{min:e,actual:t.value}}:null}}function qge(e){return t=>{if(vo(t.value)||vo(e))return null;let r=parseFloat(t.value);return!isNaN(r)&&r>e?{max:{max:e,actual:t.value}}:null}}function Gge(e){return vo(e.value)?{required:!0}:null}function Xge(e){return e.value===!0?null:{required:!0}}function Zge(e){return vo(e.value)||Hge.test(e.value)?null:{email:!0}}function Yge(e){return t=>vo(t.value)||!Vg(t.value)?null:t.value.length<e?{minlength:{requiredLength:e,actualLength:t.value.length}}:null}function jg(e){return t=>Vg(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}function Kge(e){if(!e)return Id;let t,r;return typeof e=="string"?(r="",e.charAt(0)!=="^"&&(r+="^"),r+=e,e.charAt(e.length-1)!=="$"&&(r+="$"),t=new RegExp(r)):(r=e.toString(),t=e),u=>{if(vo(u.value))return null;let i=u.value;return t.test(i)?null:{pattern:{requiredPattern:r,actualValue:i}}}}function Id(e){return null}function Ug(e){return e!=null}function Hg(e){return Fh(e)?bo(e):e}function Wg(e){let t={};return e.forEach(r=>{t=r!=null?Fu(Fu({},t),r):t}),Object.keys(t).length===0?null:t}function qg(e,t){return t.map(r=>r(e))}function Jge(e){return!e.validate}function Gg(e){return e.map(t=>Jge(t)?t:r=>t.validate(r))}function Xg(e){if(!e)return null;let t=e.filter(Ug);return t.length==0?null:function(r){return Wg(qg(r,t))}}function Lf(e){return e!=null?Xg(Gg(e)):null}function Zg(e){if(!e)return null;let t=e.filter(Ug);return t.length==0?null:function(r){let u=qg(r,t).map(Hg);return P6(u).pipe(Dn(Wg))}}function zf(e){return e!=null?Zg(Gg(e)):null}function Z8(e,t){return e===null?[t]:Array.isArray(e)?[...e,t]:[e,t]}function Yg(e){return e._rawValidators}function Kg(e){return e._rawAsyncValidators}function $5(e){return e?Array.isArray(e)?e:[e]:[]}function Pd(e,t){return Array.isArray(e)?e.includes(t):e===t}function Y8(e,t){let r=$5(t);return $5(e).forEach(u=>{Pd(r,u)||r.push(u)}),r}function K8(e,t){return $5(t).filter(r=>!Pd(e,r))}var Jg=class{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=Lf(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=zf(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,t){return this.control?this.control.hasError(e,t):!1}getError(e,t){return this.control?this.control.getError(e,t):null}},hl=class extends Jg{get formDirective(){return null}get path(){return null}},Uc=class extends Jg{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}},Qg=class{constructor(e){this._cd=e}get isTouched(){var e,t;return!!((t=(e=this._cd)==null?void 0:e.control)!=null&&t.touched)}get isUntouched(){var e,t;return!!((t=(e=this._cd)==null?void 0:e.control)!=null&&t.untouched)}get isPristine(){var e,t;return!!((t=(e=this._cd)==null?void 0:e.control)!=null&&t.pristine)}get isDirty(){var e,t;return!!((t=(e=this._cd)==null?void 0:e.control)!=null&&t.dirty)}get isValid(){var e,t;return!!((t=(e=this._cd)==null?void 0:e.control)!=null&&t.valid)}get isInvalid(){var e,t;return!!((t=(e=this._cd)==null?void 0:e.control)!=null&&t.invalid)}get isPending(){var e,t;return!!((t=(e=this._cd)==null?void 0:e.control)!=null&&t.pending)}get isSubmitted(){var e;return!!((e=this._cd)!=null&&e.submitted)}},Qge={"[class.ng-untouched]":"isUntouched","[class.ng-touched]":"isTouched","[class.ng-pristine]":"isPristine","[class.ng-dirty]":"isDirty","[class.ng-valid]":"isValid","[class.ng-invalid]":"isInvalid","[class.ng-pending]":"isPending"};ln(Fu({},Qge),{"[class.ng-submitted]":"isSubmitted"});var Vf=(()=>{const t=class t extends Qg{constructor(u){super(u)}};t.ɵfac=function(u){return new(u||t)(ct(Uc,2))},t.ɵdir=$u({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(u,i){u&2&&zi("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)},features:[Sn]});let e=t;return e})(),$ge=(()=>{const t=class t extends Qg{constructor(u){super(u)}};t.ɵfac=function(u){return new(u||t)(ct(hl,10))},t.ɵdir=$u({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(u,i){u&2&&zi("ng-untouched",i.isUntouched)("ng-touched",i.isTouched)("ng-pristine",i.isPristine)("ng-dirty",i.isDirty)("ng-valid",i.isValid)("ng-invalid",i.isInvalid)("ng-pending",i.isPending)("ng-submitted",i.isSubmitted)},features:[Sn]});let e=t;return e})(),Pl="VALID",M0="INVALID",ws="PENDING",Tl="DISABLED";function $g(e){return(Mh(e)?e.validators:e)||null}function eCe(e){return Array.isArray(e)?Lf(e):e||null}function eC(e,t){return(Mh(t)?t.asyncValidators:e)||null}function tCe(e){return Array.isArray(e)?zf(e):e||null}function Mh(e){return e!=null&&!Array.isArray(e)&&typeof e=="object"}function uCe(e,t,r){let u=e.controls;if(!Object.keys(u).length)throw new Du(1e3,"");if(!u[r])throw new Du(1001,"")}function iCe(e,t,r){e._forEachChild((u,i)=>{if(r[i]===void 0)throw new Du(1002,"")})}var tC=class{constructor(e,t){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(t)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===Pl}get invalid(){return this.status===M0}get pending(){return this.status==ws}get disabled(){return this.status===Tl}get enabled(){return this.status!==Tl}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(Y8(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(Y8(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(K8(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(K8(e,this._rawAsyncValidators))}hasValidator(e){return Pd(this._rawValidators,e)}hasAsyncValidator(e){return Pd(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=ws,e.emitEvent!==!1&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=Tl,this.errors=null,this._forEachChild(r=>{r.disable(ln(Fu({},e),{onlySelf:!0}))}),this._updateValue(),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(ln(Fu({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(r=>r(!0))}enable(e={}){let t=this._parentMarkedDirty(e.onlySelf);this.status=Pl,this._forEachChild(r=>{r.enable(ln(Fu({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(ln(Fu({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(r=>r(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Pl||this.status===ws)&&this._runAsyncValidator(e.emitEvent)),e.emitEvent!==!1&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Tl:Pl}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=ws,this._hasOwnPendingAsyncValidator=!0;let t=Hg(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(r=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(r,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(t.emitEvent!==!1)}get(e){let t=e;return t==null||(Array.isArray(t)||(t=t.split(".")),t.length===0)?null:t.reduce((r,u)=>r&&r._find(u),this)}getError(e,t){let r=t?this.get(t):this;return r&&r.errors?r.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new bu,this.statusChanges=new bu}_calculateStatus(){return this._allControlsDisabled()?Tl:this.errors?M0:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ws)?ws:this._anyControlsHaveStatus(M0)?M0:Pl}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){Mh(e)&&e.updateOn!=null&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){let t=this._parent&&this._parent.dirty;return!e&&!!t&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=eCe(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=tCe(this._rawAsyncValidators)}},J8=class extends tC{constructor(e,t,r){super($g(t),eC(r,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t,r={}){this.registerControl(e,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}removeControl(e,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}setControl(e,t,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){iCe(this,!0,e),Object.keys(e).forEach(r=>{uCe(this,!0,r),this.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e!=null&&(Object.keys(e).forEach(r=>{let u=this.controls[r];u&&u.patchValue(e[r],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t))}reset(e={},t={}){this._forEachChild((r,u)=>{r.reset(e?e[u]:null,{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,r)=>(e[r]=t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(t,r)=>r._syncPendingControls()?!0:t);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(t=>{let r=this.controls[t];r&&e(r,t)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(let[t,r]of Object.entries(this.controls))if(this.contains(t)&&e(r))return!0;return!1}_reduceValue(){let e={};return this._reduceChildren(e,(t,r,u)=>((r.enabled||this.disabled)&&(t[u]=r.value),t))}_reduceChildren(e,t){let r=e;return this._forEachChild((u,i)=>{r=t(r,u,i)}),r}_allControlsDisabled(){for(let e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}},Nh=new iu("CallSetDisabledState",{providedIn:"root",factory:()=>jf}),jf="always";function nCe(e,t){return[...t.path,e]}function Td(e,t,r=jf){var u,i;Uf(e,t),t.valueAccessor.writeValue(e.value),(e.disabled||r==="always")&&((i=(u=t.valueAccessor).setDisabledState)==null||i.call(u,e.disabled)),aCe(e,t),sCe(e,t),oCe(e,t),rCe(e,t)}function Q8(e,t,r=!0){let u=()=>{};t.valueAccessor&&(t.valueAccessor.registerOnChange(u),t.valueAccessor.registerOnTouched(u)),Rd(e,t),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(()=>{}))}function Od(e,t){e.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(t)})}function rCe(e,t){if(t.valueAccessor.setDisabledState){let r=u=>{t.valueAccessor.setDisabledState(u)};e.registerOnDisabledChange(r),t._registerOnDestroy(()=>{e._unregisterOnDisabledChange(r)})}}function Uf(e,t){let r=Yg(e);t.validator!==null?e.setValidators(Z8(r,t.validator)):typeof r=="function"&&e.setValidators([r]);let u=Kg(e);t.asyncValidator!==null?e.setAsyncValidators(Z8(u,t.asyncValidator)):typeof u=="function"&&e.setAsyncValidators([u]);let i=()=>e.updateValueAndValidity();Od(t._rawValidators,i),Od(t._rawAsyncValidators,i)}function Rd(e,t){let r=!1;if(e!==null){if(t.validator!==null){let i=Yg(e);if(Array.isArray(i)&&i.length>0){let o=i.filter(l=>l!==t.validator);o.length!==i.length&&(r=!0,e.setValidators(o))}}if(t.asyncValidator!==null){let i=Kg(e);if(Array.isArray(i)&&i.length>0){let o=i.filter(l=>l!==t.asyncValidator);o.length!==i.length&&(r=!0,e.setAsyncValidators(o))}}}let u=()=>{};return Od(t._rawValidators,u),Od(t._rawAsyncValidators,u),r}function aCe(e,t){t.valueAccessor.registerOnChange(r=>{e._pendingValue=r,e._pendingChange=!0,e._pendingDirty=!0,e.updateOn==="change"&&uC(e,t)})}function oCe(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,e.updateOn==="blur"&&e._pendingChange&&uC(e,t),e.updateOn!=="submit"&&e.markAsTouched()})}function uC(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function sCe(e,t){let r=(u,i)=>{t.valueAccessor.writeValue(u),i&&t.viewToModelUpdate(u)};e.registerOnChange(r),t._registerOnDestroy(()=>{e._unregisterOnChange(r)})}function iC(e,t){Uf(e,t)}function lCe(e,t){return Rd(e,t)}function cCe(e,t){if(!e.hasOwnProperty("model"))return!1;let r=e.model;return r.isFirstChange()?!0:!Object.is(t,r.currentValue)}function dCe(e){return Object.getPrototypeOf(e.constructor)===zge}function nC(e,t){e._syncPendingControls(),t.forEach(r=>{let u=r.control;u.updateOn==="submit"&&u._pendingChange&&(r.viewToModelUpdate(u._pendingValue),u._pendingChange=!1)})}function hCe(e,t){if(!t)return null;let r,u,i;return t.forEach(o=>{o.constructor===Rh?r=o:dCe(o)?u=o:i=o}),i||u||r||null}function fCe(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}var pCe={provide:hl,useExisting:wa(()=>Lh)},Ol=Promise.resolve(),Lh=(()=>{const t=class t extends hl{constructor(u,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._directives=new Set,this.ngSubmit=new bu,this.form=new J8({},Lf(u),zf(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(u){Ol.then(()=>{let i=this._findContainer(u.path);u.control=i.registerControl(u.name,u.control),Td(u.control,u,this.callSetDisabledState),u.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(u)})}getControl(u){return this.form.get(u.path)}removeControl(u){Ol.then(()=>{let i=this._findContainer(u.path);i&&i.removeControl(u.name),this._directives.delete(u)})}addFormGroup(u){Ol.then(()=>{let i=this._findContainer(u.path),o=new J8({});iC(o,u),i.registerControl(u.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(u){Ol.then(()=>{let i=this._findContainer(u.path);i&&i.removeControl(u.name)})}getFormGroup(u){return this.form.get(u.path)}updateModel(u,i){Ol.then(()=>{this.form.get(u.path).setValue(i)})}setValue(u){this.control.setValue(u)}onSubmit(u){var i;return this.submitted=!0,nC(this.form,this._directives),this.ngSubmit.emit(u),((i=u==null?void 0:u.target)==null?void 0:i.method)==="dialog"}onReset(){this.resetForm()}resetForm(u=void 0){this.form.reset(u),this.submitted=!1}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.form._updateOn=this.options.updateOn)}_findContainer(u){return u.pop(),u.length?this.form.get(u):this.form}};t.ɵfac=function(u){return new(u||t)(ct(jc,10),ct(Mf,10),ct(Nh,8))},t.ɵdir=$u({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(u,i){u&1&&Ou("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{options:[Gt.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[pr([pCe]),Sn]});let e=t;return e})();function $8(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}function e7(e){return typeof e=="object"&&e!==null&&Object.keys(e).length===2&&"value"in e&&"disabled"in e}var rC=class extends tC{constructor(e=null,t,r){super($g(t),eC(r,t)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(t),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Mh(t)&&(t.nonNullable||t.initialValueIsDefault)&&(e7(e)?this.defaultValue=e.value:this.defaultValue=e)}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&t.emitModelToViewChange!==!1&&this._onChange.forEach(r=>r(this.value,t.emitViewToModelChange!==!1)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=this.defaultValue,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){$8(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){$8(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return this.updateOn==="submit"&&(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),this._pendingChange)?(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),!0):!1}_applyFormState(e){e7(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},mCe=e=>e instanceof rC,gCe={provide:Uc,useExisting:wa(()=>zh)},t7=Promise.resolve(),zh=(()=>{const t=class t extends Uc{constructor(u,i,o,l,d,n){super(),this._changeDetectorRef=d,this.callSetDisabledState=n,this.control=new rC,this._registered=!1,this.name="",this.update=new bu,this._parent=u,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=hCe(this,l)}ngOnChanges(u){if(this._checkForErrors(),!this._registered||"name"in u){if(this._registered&&(this._checkName(),this.formDirective)){let i=u.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in u&&this._updateDisabled(u),cCe(u,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(u){this.viewModel=u,this.update.emit(u)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&this.options.updateOn!=null&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!!(this.options&&this.options.standalone)}_setUpStandalone(){Td(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),!this._isStandalone()&&this.name}_updateValue(u){t7.then(()=>{var i;this.control.setValue(u,{emitViewToModelChange:!1}),(i=this._changeDetectorRef)==null||i.markForCheck()})}_updateDisabled(u){let i=u.isDisabled.currentValue,o=i!==0&&ki(i);t7.then(()=>{var l;o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),(l=this._changeDetectorRef)==null||l.markForCheck()})}_getPath(u){return this._parent?nCe(u,this._parent):[u]}};t.ɵfac=function(u){return new(u||t)(ct(hl,9),ct(jc,10),ct(Mf,10),ct(Rf,10),ct(kn,8),ct(Nh,8))},t.ɵdir=$u({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[Gt.None,"disabled","isDisabled"],model:[Gt.None,"ngModel","model"],options:[Gt.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[pr([gCe]),Sn,Kn]});let e=t;return e})(),CCe=(()=>{const t=class t{};t.ɵfac=function(u){return new(u||t)},t.ɵdir=$u({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]});let e=t;return e})(),ECe={provide:hl,useExisting:wa(()=>Hf)},Hf=(()=>{const t=class t extends hl{constructor(u,i,o){super(),this.callSetDisabledState=o,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new bu,this._setValidators(u),this._setAsyncValidators(i)}ngOnChanges(u){this._checkFormPresent(),u.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Rd(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(u){let i=this.form.get(u.path);return Td(i,u,this.callSetDisabledState),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(u),i}getControl(u){return this.form.get(u.path)}removeControl(u){Q8(u.control||null,u,!1),fCe(this.directives,u)}addFormGroup(u){this._setUpFormContainer(u)}removeFormGroup(u){this._cleanUpFormContainer(u)}getFormGroup(u){return this.form.get(u.path)}addFormArray(u){this._setUpFormContainer(u)}removeFormArray(u){this._cleanUpFormContainer(u)}getFormArray(u){return this.form.get(u.path)}updateModel(u,i){this.form.get(u.path).setValue(i)}onSubmit(u){var i;return this.submitted=!0,nC(this.form,this.directives),this.ngSubmit.emit(u),((i=u==null?void 0:u.target)==null?void 0:i.method)==="dialog"}onReset(){this.resetForm()}resetForm(u=void 0){this.form.reset(u),this.submitted=!1}_updateDomValue(){this.directives.forEach(u=>{let i=u.control,o=this.form.get(u.path);i!==o&&(Q8(i||null,u),mCe(o)&&(Td(o,u,this.callSetDisabledState),u.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(u){let i=this.form.get(u.path);iC(i,u),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(u){if(this.form){let i=this.form.get(u.path);i&&lCe(i,u)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Uf(this.form,this),this._oldForm&&Rd(this._oldForm,this)}_checkFormPresent(){this.form}};t.ɵfac=function(u){return new(u||t)(ct(jc,10),ct(Mf,10),ct(Nh,8))},t.ɵdir=$u({type:t,selectors:[["","formGroup",""]],hostBindings:function(u,i){u&1&&Ou("submit",function(o){return i.onSubmit(o)})("reset",function(){return i.onReset()})},inputs:{form:[Gt.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[pr([ECe]),Sn,Kn]});let e=t;return e})();function FCe(e){return typeof e=="number"?e:parseInt(e,10)}var ACe=(()=>{const t=class t{constructor(){this._validator=Id}ngOnChanges(u){if(this.inputName in u){let i=this.normalizeInput(u[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Id,this._onChange&&this._onChange()}}validate(u){return this._validator(u)}registerOnValidatorChange(u){this._onChange=u}enabled(u){return u!=null}};t.ɵfac=function(u){return new(u||t)},t.ɵdir=$u({type:t,features:[Kn]});let e=t;return e})(),DCe={provide:jc,useExisting:wa(()=>aC),multi:!0},aC=(()=>{const t=class t extends ACe{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=u=>FCe(u),this.createValidator=u=>jg(u)}};t.ɵfac=(()=>{let u;return function(i){return(u||(u=Kr(t)))(i||t)}})(),t.ɵdir=$u({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(u,i){u&2&&Ku("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[pr([DCe]),Sn]});let e=t;return e})(),vCe=(()=>{const t=class t{};t.ɵfac=function(u){return new(u||t)},t.ɵmod=dn({type:t}),t.ɵinj=cn({});let e=t;return e})(),Wf=(()=>{const t=class t{static withConfig(u){return{ngModule:t,providers:[{provide:Nh,useValue:u.callSetDisabledState??jf}]}}};t.ɵfac=function(u){return new(u||t)},t.ɵmod=dn({type:t}),t.ɵinj=cn({imports:[vCe]});let e=t;return e})(),BCe=["trigger"],yCe=["panel"],bCe=[[["mat-select-trigger"]],"*"],xCe=["mat-select-trigger","*"];function _Ce(e,t){if(e&1&&(At(0,"span",4),Kt(1),vt()),e&2){let r=Zt();pt(),vi(r.placeholder)}}function wCe(e,t){e&1&&Zi(0)}function SCe(e,t){if(e&1&&(At(0,"span",11),Kt(1),vt()),e&2){let r=Zt(2);pt(),vi(r.triggerValue)}}function kCe(e,t){if(e&1&&(At(0,"span",10),Iu(1,wCe,1,0)(2,SCe,2,1),vt()),e&2){let r=Zt();pt(),Tu(1,r.customTrigger?1:2)}}function ICe(e,t){if(e&1){let r=Hi();At(0,"div",12,1),Ou("@transformPanel.done",function(u){Zu(r);let i=Zt();return Yu(i._panelDoneAnimatingStream.next(u.toState))})("keydown",function(u){Zu(r);let i=Zt();return Yu(i._handleKeydown(u))}),Zi(2,1),vt()}if(e&2){let r=Zt();F9e("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",r._getPanelTheme(),""),Cu("ngClass",r.panelClass)("@transformPanel","showing"),Ku("id",r.id+"-panel")("aria-multiselectable",r.multiple)("aria-label",r.ariaLabel||null)("aria-labelledby",r._getPanelAriaLabelledby())}}var PCe={transformPanelWrap:tl("transformPanelWrap",[va("* => void",rge("@transformPanel",[nge()],{optional:!0}))]),transformPanel:tl("transformPanel",[ul("void",Qn({opacity:0,transform:"scale(1, 0.8)"})),va("void => showing",Ha("120ms cubic-bezier(0, 0, 0.2, 1)",Qn({opacity:1,transform:"scale(1, 1)"}))),va("* => void",Ha("100ms linear",Qn({opacity:0})))])},u7=0,oC=new iu("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let e=Xt(rr);return()=>e.scrollStrategies.reposition()}});function TCe(e){return()=>e.scrollStrategies.reposition()}var OCe=new iu("MAT_SELECT_CONFIG"),RCe={provide:oC,deps:[rr],useFactory:TCe},MCe=new iu("MatSelectTrigger"),NCe=class{constructor(e,t){this.source=e,this.value=t}},qf=(()=>{const t=class t{_scrollOptionIntoView(u){let i=this.options.toArray()[u];if(i){let o=this.panel.nativeElement,l=_3e(u,this.options,this.optionGroups),d=i._getHostElement();u===0&&l===1?o.scrollTop=0:o.scrollTop=w3e(d.offsetTop,d.offsetHeight,o.scrollTop,o.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(u){return new NCe(this,u)}get focused(){return this._focused||this._panelOpen}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(u){this._hideSingleSelectionIndicator=u,this._syncParentProperties()}get placeholder(){return this._placeholder}set placeholder(u){this._placeholder=u,this.stateChanges.next()}get required(){var u,i;return this._required??((i=(u=this.ngControl)==null?void 0:u.control)==null?void 0:i.hasValidator(Nf.required))??!1}set required(u){this._required=u,this.stateChanges.next()}get multiple(){return this._multiple}set multiple(u){this._selectionModel,this._multiple=u}get compareWith(){return this._compareWith}set compareWith(u){this._compareWith=u,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(u){this._assignValue(u)&&this._onChange(u)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(u){this._errorStateTracker.matcher=u}get id(){return this._id}set id(u){this._id=u||this._uid,this.stateChanges.next()}get errorState(){return this._errorStateTracker.errorState}set errorState(u){this._errorStateTracker.errorState=u}constructor(u,i,o,l,d,n,h,s,c,f,p,m,g,E){var C,A,F;this._viewportRuler=u,this._changeDetectorRef=i,this._elementRef=d,this._dir=n,this._parentFormField=c,this.ngControl=f,this._liveAnnouncer=g,this._defaultOptions=E,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"}],this._panelOpen=!1,this._compareWith=(v,a)=>v===a,this._uid=`mat-select-${u7++}`,this._triggerAriaLabelledBy=null,this._destroy=new Mu,this.stateChanges=new Mu,this.disableAutomaticLabeling=!0,this._onChange=()=>{},this._onTouched=()=>{},this._valueId=`mat-select-value-${u7++}`,this._panelDoneAnimatingStream=new Mu,this._overlayPanelClass=((C=this._defaultOptions)==null?void 0:C.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this._hideSingleSelectionIndicator=((A=this._defaultOptions)==null?void 0:A.hideSingleSelectionIndicator)??!1,this._multiple=!1,this.disableOptionCentering=((F=this._defaultOptions)==null?void 0:F.disableOptionCentering)??!1,this.ariaLabel="",this.panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto",this._initialized=new Mu,this.optionSelectionChanges=$l(()=>{let v=this.options;return v?v.changes.pipe(qr(v),es(()=>Wr(...v.map(a=>a.onSelectionChange)))):this._initialized.pipe(es(()=>this.optionSelectionChanges))}),this.openedChange=new bu,this._openedStream=this.openedChange.pipe(tr(v=>v),Dn(()=>{})),this._closedStream=this.openedChange.pipe(tr(v=>!v),Dn(()=>{})),this.selectionChange=new bu,this.valueChange=new bu,this._trackedModal=null,this._skipPredicate=v=>this.panelOpen?!1:v.disabled,this.ngControl&&(this.ngControl.valueAccessor=this),(E==null?void 0:E.typeaheadDebounceInterval)!=null&&(this.typeaheadDebounceInterval=E.typeaheadDebounceInterval),this._errorStateTracker=new Bg(l,f,s,h,this.stateChanges),this._scrollStrategyFactory=m,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(p)||0,this.id=this.id}ngOnInit(){this._selectionModel=new R3e(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(K9(),rn(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen)),this._viewportRuler.change().pipe(rn(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(rn(this._destroy)).subscribe(u=>{u.added.forEach(i=>i.select()),u.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(qr(null),rn(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let u=this._getTriggerAriaLabelledby(),i=this.ngControl;if(u!==this._triggerAriaLabelledBy){let o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=u,u?o.setAttribute("aria-labelledby",u):o.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(this._previousControl!==void 0&&i.disabled!==null&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(u){(u.disabled||u.userAriaDescribedBy)&&this.stateChanges.next(),u.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){var u;(u=this._keyManager)==null||u.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_applyModalPanelOwnership(){let u=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!u)return;let i=`${this.id}-panel`;this._trackedModal&&X5(this._trackedModal,"aria-owns",i),fg(u,"aria-owns",i),this._trackedModal=u}_clearFromModal(){if(!this._trackedModal)return;let u=`${this.id}-panel`;X5(this._trackedModal,"aria-owns",u),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next())}writeValue(u){this._assignValue(u)}registerOnChange(u){this._onChange=u}registerOnTouched(u){this._onTouched=u}setDisabledState(u){this.disabled=u,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var u,i;return this.multiple?((u=this._selectionModel)==null?void 0:u.selected)||[]:(i=this._selectionModel)==null?void 0:i.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let u=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&u.reverse(),u.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(u){this.disabled||(this.panelOpen?this._handleOpenKeydown(u):this._handleClosedKeydown(u))}_handleClosedKeydown(u){let i=u.keyCode,o=i===40||i===38||i===37||i===39,l=i===13||i===32,d=this._keyManager;if(!d.isTyping()&&l&&!vr(u)||(this.multiple||u.altKey)&&o)u.preventDefault(),this.open();else if(!this.multiple){let n=this.selected;d.onKeydown(u);let h=this.selected;h&&n!==h&&this._liveAnnouncer.announce(h.viewValue,1e4)}}_handleOpenKeydown(u){let i=this._keyManager,o=u.keyCode,l=o===40||o===38,d=i.isTyping();if(l&&u.altKey)u.preventDefault(),this.close();else if(!d&&(o===13||o===32)&&i.activeItem&&!vr(u))u.preventDefault(),i.activeItem._selectViaInteraction();else if(!d&&this._multiple&&o===65&&u.ctrlKey){u.preventDefault();let n=this.options.some(h=>!h.disabled&&!h.selected);this.options.forEach(h=>{h.disabled||(n?h.select():h.deselect())})}else{let n=i.activeItemIndex;i.onKeydown(u),this._multiple&&l&&u.shiftKey&&i.activeItem&&i.activeItemIndex!==n&&i.activeItem._selectViaInteraction()}}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){var u;this._focused=!1,(u=this._keyManager)==null||u.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(Yn(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_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(u){if(this.options.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&u)u.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{let i=this._selectOptionByValue(u);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(u){let i=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return o.value!=null&&this._compareWith(o.value,u)}catch{return!1}});return i&&this._selectionModel.select(i),i}_assignValue(u){return u!==this._value||this._multiple&&Array.isArray(u)?(this.options&&this._setSelectionByValue(u),this._value=u,!0):!1}_getOverlayWidth(u){return this.panelWidth==="auto"?(u instanceof Sd?u.elementRef:u||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let u of this.options)u._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Ome(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 u=Wr(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(rn(u)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),Wr(...this.options.map(i=>i._stateChanges)).pipe(rn(u)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(u,i){let o=this._selectionModel.isSelected(u);u.value==null&&!this._multiple?(u.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(u.value)):(o!==u.selected&&(u.selected?this._selectionModel.select(u):this._selectionModel.deselect(u)),i&&this._keyManager.setActiveItem(u),this.multiple&&(this._sortValues(),i&&this.focus())),o!==this._selectionModel.isSelected(u)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let u=this.options.toArray();this._selectionModel.sort((i,o)=>this.sortComparator?this.sortComparator(i,o,u):u.indexOf(i)-u.indexOf(o)),this.stateChanges.next()}}_propagateChanges(u){let i;this.multiple?i=this.selected.map(o=>o.value):i=this.selected?this.selected.value:u,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let u=-1;for(let i=0;i<this.options.length;i++)if(!this.options.get(i).disabled){u=i;break}this._keyManager.setActiveItem(u)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){var u;return!this._panelOpen&&!this.disabled&&((u=this.options)==null?void 0:u.length)>0}focus(u){this._elementRef.nativeElement.focus(u)}_getPanelAriaLabelledby(){var o;if(this.ariaLabel)return null;let u=(o=this._parentFormField)==null?void 0:o.getLabelId(),i=u?u+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:u}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var o;if(this.ariaLabel)return null;let u=(o=this._parentFormField)==null?void 0:o.getLabelId(),i=(u?u+" ":"")+this._valueId;return this.ariaLabelledby&&(i+=" "+this.ariaLabelledby),i}_panelDoneAnimating(u){this.openedChange.emit(u)}setDescribedByIds(u){u.length?this._elementRef.nativeElement.setAttribute("aria-describedby",u.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}};t.ɵfac=function(u){return new(u||t)(ct(If),ct(kn),ct(ri),ct(wf),ct(ai),ct(Xr,8),ct(Lh,8),ct(Hf,8),ct(Th,8),ct(Uc,10),Pc("tabindex"),ct(oC),ct(Ag),ct(OCe,8))},t.ɵcmp=Ai({type:t,selectors:[["mat-select"]],contentQueries:function(u,i,o){if(u&1&&(Zn(o,MCe,5),Zn(o,xh,5),Zn(o,xg,5)),u&2){let l;ci(l=di())&&(i.customTrigger=l.first),ci(l=di())&&(i.options=l),ci(l=di())&&(i.optionGroups=l)}},viewQuery:function(u,i){if(u&1&&(An(BCe,5),An(yCe,5),An(z8,5)),u&2){let o;ci(o=di())&&(i.trigger=o.first),ci(o=di())&&(i.panel=o.first),ci(o=di())&&(i._overlayDir=o.first)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(u,i){u&1&&Ou("keydown",function(o){return i._handleKeydown(o)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),u&2&&(Ku("id",i.id)("tabindex",i.disabled?-1:i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-activedescendant",i._getAriaActiveDescendant()),zi("mat-mdc-select-disabled",i.disabled)("mat-mdc-select-invalid",i.errorState)("mat-mdc-select-required",i.required)("mat-mdc-select-empty",i.empty)("mat-mdc-select-multiple",i.multiple))},inputs:{userAriaDescribedBy:[Gt.None,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[Gt.HasDecoratorInputTransform,"disabled","disabled",ki],disableRipple:[Gt.HasDecoratorInputTransform,"disableRipple","disableRipple",ki],tabIndex:[Gt.HasDecoratorInputTransform,"tabIndex","tabIndex",u=>u==null?0:Va(u)],hideSingleSelectionIndicator:[Gt.HasDecoratorInputTransform,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",ki],placeholder:"placeholder",required:[Gt.HasDecoratorInputTransform,"required","required",ki],multiple:[Gt.HasDecoratorInputTransform,"multiple","multiple",ki],disableOptionCentering:[Gt.HasDecoratorInputTransform,"disableOptionCentering","disableOptionCentering",ki],compareWith:"compareWith",value:"value",ariaLabel:[Gt.None,"aria-label","ariaLabel"],ariaLabelledby:[Gt.None,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[Gt.HasDecoratorInputTransform,"typeaheadDebounceInterval","typeaheadDebounceInterval",Va],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],standalone:!0,features:[pr([{provide:Of,useExisting:t},{provide:bg,useExisting:t}]),Mr,Kn,_i],ngContentSelectors:xCe,decls:11,vars:8,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-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,"backdropClick","attach","detach","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(u,i){if(u&1){let o=Hi();xr(bCe),At(0,"div",2,0),Ou("click",function(){return Zu(o),Yu(i.open())}),At(3,"div",3),Iu(4,_Ce,2,1,"span",4)(5,kCe,3,1),vt(),At(6,"div",5)(7,"div",6),as(),At(8,"svg",7),Hu(9,"path",8),vt()()()(),Iu(10,ICe,3,9,"ng-template",9),Ou("backdropClick",function(){return Zu(o),Yu(i.close())})("attach",function(){return Zu(o),Yu(i._onAttached())})("detach",function(){return Zu(o),Yu(i.close())})}if(u&2){let o=Yo(1);pt(3),Ku("id",i._valueId),pt(),Tu(4,i.empty?4:5),pt(6),Cu("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",i._preferredOverlayOrigin||o)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayWidth",i._overlayWidth)}},dependencies:[Sd,z8,zc],styles:['.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);font-family:var(--mat-select-trigger-text-font);line-height:var(--mat-select-trigger-text-line-height);font-size:var(--mat-select-trigger-text-size);font-weight:var(--mat-select-trigger-text-weight);letter-spacing:var(--mat-select-trigger-text-tracking)}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow)}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color)}.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)}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color)}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color)}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color)}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.cdk-high-contrast-active .mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .cdk-high-contrast-active .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:static;background-color:var(--mat-select-panel-background-color)}.cdk-high-contrast-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}div.mat-mdc-select-panel .mat-mdc-option{--mdc-list-list-item-container-color: var(--mat-select-panel-background-color)}.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)}._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)}'],encapsulation:2,data:{animation:[PCe.transformPanel]},changeDetection:0});let e=t;return e})(),sC=(()=>{const t=class t{};t.ɵfac=function(u){return new(u||t)},t.ɵmod=dn({type:t}),t.ɵinj=cn({providers:[RCe],imports:[bh,Ph,K5,qn,wd,mc,K5,qn]});let e=t;return e})(),LCe=["tooltip"],zCe=20,VCe=new iu("mat-tooltip-scroll-strategy",{providedIn:"root",factory:()=>{let e=Xt(rr);return()=>e.scrollStrategies.reposition({scrollThrottle:zCe})}});function jCe(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}var UCe=new iu("mat-tooltip-default-options",{providedIn:"root",factory:jCe}),i7="tooltip-panel",n7=to({passive:!0}),HCe=8,WCe=8,qCe=24,GCe=200,XCe=(()=>{const t=class t{get position(){return this._position}set position(u){var i;u!==this._position&&(this._position=u,this._overlayRef&&(this._updatePosition(this._overlayRef),(i=this._tooltipInstance)==null||i.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(u){this._positionAtOrigin=js(u),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(u){this._disabled=js(u),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(u){this._showDelay=bd(u)}get hideDelay(){return this._hideDelay}set hideDelay(u){this._hideDelay=bd(u),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(u){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=u!=null?String(u).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(u){this._tooltipClass=u,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(u,i,o,l,d,n,h,s,c,f,p,m){this._overlay=u,this._elementRef=i,this._scrollDispatcher=o,this._viewContainerRef=l,this._ngZone=d,this._platform=n,this._ariaDescriber=h,this._focusMonitor=s,this._dir=f,this._defaultOptions=p,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._tooltipComponent=ZCe,this._viewportMargin=8,this._cssClassPrefix="mat-mdc",this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Mu,this._scrollStrategy=c,this._document=m,p&&(this._showDelay=p.showDelay,this._hideDelay=p.hideDelay,p.position&&(this.position=p.position),p.positionAtOrigin&&(this.positionAtOrigin=p.positionAtOrigin),p.touchGestures&&(this.touchGestures=p.touchGestures)),f.change.pipe(rn(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)}),this._viewportMargin=HCe}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(rn(this._destroyed)).subscribe(u=>{u?u==="keyboard"&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){let u=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,o])=>{u.removeEventListener(i,o,n7)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(u,this.message,"tooltip"),this._focusMonitor.stopMonitoring(u)}show(u=this.showDelay,i){var d;if(this.disabled||!this.message||this._isTooltipVisible()){(d=this._tooltipInstance)==null||d._cancelPendingAnimations();return}let o=this._createOverlay(i);this._detach(),this._portal=this._portal||new Do(this._tooltipComponent,this._viewContainerRef);let l=this._tooltipInstance=o.attach(this._portal).instance;l._triggerElement=this._elementRef.nativeElement,l._mouseLeaveHideDelay=this._hideDelay,l.afterHidden().pipe(rn(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),l.show(u)}hide(u=this.hideDelay){let i=this._tooltipInstance;i&&(i.isVisible()?i.hide(u):(i._cancelPendingAnimations(),this._detach()))}toggle(u){this._isTooltipVisible()?this.hide():this.show(void 0,u)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(u){var l;if(this._overlayRef){let d=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!u)&&d._origin instanceof ai)return this._overlayRef;this._detach()}let i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin?u||this._elementRef:this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(rn(this._destroyed)).subscribe(d=>{this._updateCurrentPositionClass(d.connectionPair),this._tooltipInstance&&d.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${i7}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(rn(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(rn(this._destroyed)).subscribe(()=>{var d;return(d=this._tooltipInstance)==null?void 0:d._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(rn(this._destroyed)).subscribe(d=>{this._isTooltipVisible()&&d.keyCode===27&&!vr(d)&&(d.preventDefault(),d.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(l=this._defaultOptions)!=null&&l.disableTooltipInteractivity&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(u){let i=u.getConfig().positionStrategy,o=this._getOrigin(),l=this._getOverlayPosition();i.withPositions([this._addOffset(Fu(Fu({},o.main),l.main)),this._addOffset(Fu(Fu({},o.fallback),l.fallback))])}_addOffset(u){let i=WCe,o=!this._dir||this._dir.value=="ltr";return u.originY==="top"?u.offsetY=-8:u.originY==="bottom"?u.offsetY=i:u.originX==="start"?u.offsetX=o?-8:i:u.originX==="end"&&(u.offsetX=o?i:-8),u}_getOrigin(){let u=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"||i=="below"?o={originX:"center",originY:i=="above"?"top":"bottom"}:i=="before"||i=="left"&&u||i=="right"&&!u?o={originX:"start",originY:"center"}:(i=="after"||i=="right"&&u||i=="left"&&!u)&&(o={originX:"end",originY:"center"});let{x:l,y:d}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:l,originY:d}}}_getOverlayPosition(){let u=!this._dir||this._dir.value=="ltr",i=this.position,o;i=="above"?o={overlayX:"center",overlayY:"bottom"}:i=="below"?o={overlayX:"center",overlayY:"top"}:i=="before"||i=="left"&&u||i=="right"&&!u?o={overlayX:"end",overlayY:"center"}:(i=="after"||i=="right"&&u||i=="left"&&!u)&&(o={overlayX:"start",overlayY:"center"});let{x:l,y:d}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:l,overlayY:d}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Yn(1),rn(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(u){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=u,this._tooltipInstance._markForCheck())}_invertPosition(u,i){return this.position==="above"||this.position==="below"?i==="top"?i="bottom":i==="bottom"&&(i="top"):u==="end"?u="start":u==="start"&&(u="end"),{x:u,y:i}}_updateCurrentPositionClass(u){let{overlayY:i,originX:o,originY:l}=u,d;if(i==="center"?this._dir&&this._dir.value==="rtl"?d=o==="end"?"left":"right":d=o==="start"?"left":"right":d=i==="bottom"&&l==="top"?"above":"below",d!==this._currentPosition){let n=this._overlayRef;if(n){let h=`${this._cssClassPrefix}-${i7}-`;n.removePanelClass(h+this._currentPosition),n.addPanelClass(h+d)}this._currentPosition=d}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",u=>{this._setupPointerExitEventsIfNeeded();let i;u.x!==void 0&&u.y!==void 0&&(i=u),this.show(void 0,i)}]):this.touchGestures!=="off"&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",u=>{var d;let i=(d=u.targetTouches)==null?void 0:d[0],o=i?{x:i.clientX,y:i.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout);let l=500;this._touchstartTimeout=setTimeout(()=>this.show(void 0,o),this._defaultOptions.touchLongPressShowDelay??l)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;let u=[];if(this._platformSupportsMouseEvents())u.push(["mouseleave",i=>{var l;let o=i.relatedTarget;(!o||!((l=this._overlayRef)!=null&&l.overlayElement.contains(o)))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if(this.touchGestures!=="off"){this._disableNativeGesturesIfNecessary();let i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};u.push(["touchend",i],["touchcancel",i])}this._addListeners(u),this._passiveListeners.push(...u)}_addListeners(u){u.forEach(([i,o])=>{this._elementRef.nativeElement.addEventListener(i,o,n7)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(u){if(this._isTooltipVisible()){let i=this._document.elementFromPoint(u.clientX,u.clientY),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){let u=this.touchGestures;if(u!=="off"){let i=this._elementRef.nativeElement,o=i.style;(u==="on"||i.nodeName!=="INPUT"&&i.nodeName!=="TEXTAREA")&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),(u==="on"||!i.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}};t.ɵfac=function(u){return new(u||t)(ct(rr),ct(ai),ct(Sg),ct(wo),ct(ri),ct(_n),ct(Tme),ct(cl),ct(VCe),ct(Xr),ct(UCe,8),ct(hi))},t.ɵdir=$u({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],hostVars:2,hostBindings:function(u,i){u&2&&zi("mat-mdc-tooltip-disabled",i.disabled)},inputs:{position:[Gt.None,"matTooltipPosition","position"],positionAtOrigin:[Gt.None,"matTooltipPositionAtOrigin","positionAtOrigin"],disabled:[Gt.None,"matTooltipDisabled","disabled"],showDelay:[Gt.None,"matTooltipShowDelay","showDelay"],hideDelay:[Gt.None,"matTooltipHideDelay","hideDelay"],touchGestures:[Gt.None,"matTooltipTouchGestures","touchGestures"],message:[Gt.None,"matTooltip","message"],tooltipClass:[Gt.None,"matTooltipClass","tooltipClass"]},exportAs:["matTooltip"],standalone:!0});let e=t;return e})(),ZCe=(()=>{const t=class t{constructor(u,i,o){this._changeDetectorRef=u,this._elementRef=i,this._isMultiline=!1,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new Mu,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide",this._animationsDisabled=o==="NoopAnimations"}show(u){this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},u)}hide(u){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},u)}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:u}){(!u||!this._triggerElement.contains(u))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){let u=this._elementRef.nativeElement.getBoundingClientRect();return u.height>qCe&&u.width>=GCe}_handleAnimationEnd({animationName:u}){(u===this._showAnimation||u===this._hideAnimation)&&this._finalizeAnimation(u===this._showAnimation)}_cancelPendingAnimations(){this._showTimeoutId!=null&&clearTimeout(this._showTimeoutId),this._hideTimeoutId!=null&&clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(u){u?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(u){let i=this._tooltip.nativeElement,o=this._showAnimation,l=this._hideAnimation;if(i.classList.remove(u?l:o),i.classList.add(u?o:l),this._isVisible!==u&&(this._isVisible=u,this._changeDetectorRef.markForCheck()),u&&!this._animationsDisabled&&typeof getComputedStyle=="function"){let d=getComputedStyle(i);(d.getPropertyValue("animation-duration")==="0s"||d.getPropertyValue("animation-name")==="none")&&(this._animationsDisabled=!0)}u&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(u))}};t.ɵfac=function(u){return new(u||t)(ct(kn),ct(ai),ct(Jr,8))},t.ɵcmp=Ai({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(u,i){if(u&1&&An(LCe,7),u&2){let o;ci(o=di())&&(i._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(u,i){u&1&&Ou("mouseleave",function(o){return i._handleMouseLeave(o)}),u&2&&Lc("zoom",i.isVisible()?1:null)},standalone:!0,features:[_i],decls:4,vars:4,consts:[["tooltip",""],[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"animationend","ngClass"],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(u,i){if(u&1){let o=Hi();At(0,"div",1,0),Ou("animationend",function(l){return Zu(o),Yu(i._handleAnimationEnd(l))}),At(2,"div",2),Kt(3),vt()()}u&2&&(zi("mdc-tooltip--multiline",i._isMultiline),Cu("ngClass",i.tooltipClass),pt(3),vi(i.message))},dependencies:[zc],styles:['.mdc-tooltip__surface{word-break:break-all;word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip--showing-transition .mdc-tooltip__surface-animation{transition:opacity 150ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-tooltip--hide-transition .mdc-tooltip__surface-animation{transition:opacity 75ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.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}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - 2*8px);margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - 2*8px);align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{box-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);outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mat-mdc-tooltip .mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color)}.mat-mdc-tooltip .mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__caret-surface-top,.mat-mdc-tooltip .mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape)}.mat-mdc-tooltip .mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color)}.mat-mdc-tooltip .mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font);line-height:var(--mdc-plain-tooltip-supporting-text-line-height);font-size:var(--mdc-plain-tooltip-supporting-text-size);font-weight:var(--mdc-plain-tooltip-supporting-text-weight);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.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-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}'],encapsulation:2,changeDetection:0});let e=t;return e})();function YCe(e,t){if(e&1&&(At(0,"mat-option",16),Kt(1),vt()),e&2){let r=t.$implicit;Cu("value",r),pt(),ii(" ",r," ")}}function KCe(e,t){if(e&1){let r=Hi();At(0,"mat-form-field",13)(1,"mat-select",15),Ou("selectionChange",function(u){Zu(r);let i=Zt(2);return Yu(i._changePageSize(u.value))}),yr(2,YCe,2,2,"mat-option",16,Br),vt()()}if(e&2){let r=Zt(2);Cu("appearance",r._formFieldAppearance)("color",r.color),pt(),Cu("value",r.pageSize)("disabled",r.disabled)("aria-labelledby",r._pageSizeLabelId)("panelClass",r.selectConfig.panelClass||"")("disableOptionCentering",r.selectConfig.disableOptionCentering),pt(),br(r._displayedPageSizeOptions)}}function JCe(e,t){if(e&1&&(At(0,"div",14),Kt(1),vt()),e&2){let r=Zt(2);pt(),vi(r.pageSize)}}function QCe(e,t){if(e&1&&(At(0,"div",2)(1,"div",12),Kt(2),vt(),Iu(3,KCe,4,7,"mat-form-field",13)(4,JCe,2,1,"div",14),vt()),e&2){let r=Zt();pt(),Ku("id",r._pageSizeLabelId),pt(),ii(" ",r._intl.itemsPerPageLabel," "),pt(),Tu(3,r._displayedPageSizeOptions.length>1?3:-1),pt(),Tu(4,r._displayedPageSizeOptions.length<=1?4:-1)}}function $Ce(e,t){if(e&1){let r=Hi();At(0,"button",17),Ou("click",function(){Zu(r);let u=Zt();return Yu(u.firstPage())}),as(),At(1,"svg",7),Hu(2,"path",18),vt()()}if(e&2){let r=Zt();Cu("matTooltip",r._intl.firstPageLabel)("matTooltipDisabled",r._previousButtonsDisabled())("matTooltipPosition","above")("disabled",r._previousButtonsDisabled()),Ku("aria-label",r._intl.firstPageLabel)}}function eEe(e,t){if(e&1){let r=Hi();At(0,"button",19),Ou("click",function(){Zu(r);let u=Zt();return Yu(u.lastPage())}),as(),At(1,"svg",7),Hu(2,"path",20),vt()()}if(e&2){let r=Zt();Cu("matTooltip",r._intl.lastPageLabel)("matTooltipDisabled",r._nextButtonsDisabled())("matTooltipPosition","above")("disabled",r._nextButtonsDisabled()),Ku("aria-label",r._intl.lastPageLabel)}}var Gf=(()=>{const t=class t{constructor(){this.changes=new Mu,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(u,i,o)=>{if(o==0||i==0)return`0 of ${o}`;o=Math.max(o,0);let l=u*i,d=l<o?Math.min(l+i,o):l+i;return`${l+1} – ${d} of ${o}`}}};t.ɵfac=function(u){return new(u||t)},t.ɵprov=hu({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),tEe=50,uEe=new iu("MAT_PAGINATOR_DEFAULT_OPTIONS"),iEe=0,nEe=(()=>{const t=class t{get pageIndex(){return this._pageIndex}set pageIndex(u){this._pageIndex=Math.max(u||0,0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(u){this._length=u||0,this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(u){this._pageSize=Math.max(u||0,0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(u){this._pageSizeOptions=(u||[]).map(i=>Va(i,0)),this._updateDisplayedPageSizeOptions()}constructor(u,i,o){if(this._intl=u,this._changeDetectorRef=i,this._pageSizeLabelId=`mat-paginator-page-size-label-${iEe++}`,this._isInitialized=!1,this._initializedStream=new $d(1),this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this.hidePageSize=!1,this.showFirstLastButtons=!1,this.selectConfig={},this.disabled=!1,this.page=new bu,this.initialized=this._initializedStream,this._intlChanges=u.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),o){let{pageSize:l,pageSizeOptions:d,hidePageSize:n,showFirstLastButtons:h}=o;l!=null&&(this._pageSize=l),d!=null&&(this._pageSizeOptions=d),n!=null&&(this.hidePageSize=n),h!=null&&(this.showFirstLastButtons=h)}this._formFieldAppearance=(o==null?void 0:o.formFieldAppearance)||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;let u=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(u)}previousPage(){if(!this.hasPreviousPage())return;let u=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(u)}firstPage(){if(!this.hasPreviousPage())return;let u=this.pageIndex;this.pageIndex=0,this._emitPageEvent(u)}lastPage(){if(!this.hasNextPage())return;let u=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(u)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let u=this.getNumberOfPages()-1;return this.pageIndex<u&&this.pageSize!=0}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(u){let i=this.pageIndex*this.pageSize,o=this.pageIndex;this.pageIndex=Math.floor(i/u)||0,this.pageSize=u,this._emitPageEvent(o)}_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]:tEe),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),this._displayedPageSizeOptions.indexOf(this.pageSize)===-1&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((u,i)=>u-i),this._changeDetectorRef.markForCheck())}_emitPageEvent(u){this.page.emit({previousPageIndex:u,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}};t.ɵfac=function(u){return new(u||t)(ct(Gf),ct(kn),ct(uEe,8))},t.ɵcmp=Ai({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[Gt.HasDecoratorInputTransform,"pageIndex","pageIndex",Va],length:[Gt.HasDecoratorInputTransform,"length","length",Va],pageSize:[Gt.HasDecoratorInputTransform,"pageSize","pageSize",Va],pageSizeOptions:"pageSizeOptions",hidePageSize:[Gt.HasDecoratorInputTransform,"hidePageSize","hidePageSize",ki],showFirstLastButtons:[Gt.HasDecoratorInputTransform,"showFirstLastButtons","showFirstLastButtons",ki],selectConfig:"selectConfig",disabled:[Gt.HasDecoratorInputTransform,"disabled","disabled",ki]},outputs:{page:"page"},exportAs:["matPaginator"],standalone:!0,features:[Mr,_i],decls:14,vars:14,consts:[[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",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["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",1,"mat-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[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"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(u,i){u&1&&(At(0,"div",0)(1,"div",1),Iu(2,QCe,5,4,"div",2),At(3,"div",3)(4,"div",4),Kt(5),vt(),Iu(6,$Ce,3,5,"button",5),At(7,"button",6),Ou("click",function(){return i.previousPage()}),as(),At(8,"svg",7),Hu(9,"path",8),vt()(),$4(),At(10,"button",9),Ou("click",function(){return i.nextPage()}),as(),At(11,"svg",7),Hu(12,"path",10),vt()(),Iu(13,eEe,3,5,"button",11),vt()()()),u&2&&(pt(2),Tu(2,i.hidePageSize?-1:2),pt(3),ii(" ",i._intl.getRangeLabel(i.pageIndex,i.pageSize,i.length)," "),pt(),Tu(6,i.showFirstLastButtons?6:-1),pt(),Cu("matTooltip",i._intl.previousPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),Ku("aria-label",i._intl.previousPageLabel),pt(3),Cu("matTooltip",i._intl.nextPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),Ku("aria-label",i._intl.nextPageLabel),pt(3),Tu(13,i.showFirstLastButtons?13:-1))},dependencies:[Oh,qf,xh,dl,XCe],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color);background-color:var(--mat-paginator-container-background-color);font-family:var(--mat-paginator-container-text-font);line-height:var(--mat-paginator-container-text-line-height);font-size:var(--mat-paginator-container-text-size);font-weight:var(--mat-paginator-container-text-weight);letter-spacing:var(--mat-paginator-container-text-tracking);--mat-form-field-container-height:var(--mat-paginator-form-field-container-height);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-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)}.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)}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}"],encapsulation:2,changeDetection:0});let e=t;return e})(),Xf=class{},lC=class{},il=class ud{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?typeof t=="string"?this.lazyInit=()=>{this.headers=new Map,t.split(`
|
|
262
|
-
`).forEach(r=>{let u=r.indexOf(":");if(u>0){let i=r.slice(0,u),o=i.toLowerCase(),l=r.slice(u+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(l):this.headers.set(o,[l])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,u)=>{this.setHeaderEntries(u,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,u])=>{this.setHeaderEntries(r,u)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof ud?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){let r=new ud;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof ud?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=t.name.toLowerCase();switch(t.op){case"a":case"s":let u=t.value;if(typeof u=="string"&&(u=[u]),u.length===0)return;this.maybeSetNormalizedName(t.name,r);let i=(t.op==="a"?this.headers.get(r):void 0)||[];i.push(...u),this.headers.set(r,i);break;case"d":let o=t.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let l=this.headers.get(r);if(!l)return;l=l.filter(d=>o.indexOf(d)===-1),l.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,l)}break}}setHeaderEntries(t,r){let u=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,u),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}},rEe=class{encodeKey(e){return r7(e)}encodeValue(e){return r7(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function aEe(e,t){let r=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(u=>{let i=u.indexOf("="),[o,l]=i==-1?[t.decodeKey(u),""]:[t.decodeKey(u.slice(0,i)),t.decodeValue(u.slice(i+1))],d=r.get(o)||[];d.push(l),r.set(o,d)}),r}var oEe=/%(\d[a-f0-9])/gi,sEe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function r7(e){return encodeURIComponent(e).replace(oEe,(t,r)=>sEe[r]??t)}function N0(e){return`${e}`}var Us=class cC{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new rEe,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=aEe(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let u=t.fromObject[r],i=Array.isArray(u)?u.map(N0):[N0(u)];this.map.set(r,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(u=>{let i=t[u];Array.isArray(i)?i.forEach(o=>{r.push({param:u,value:o,op:"a"})}):r.push({param:u,value:i,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(u=>r+"="+this.encoder.encodeValue(u)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new cC({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let r=(t.op==="a"?this.map.get(t.param):void 0)||[];r.push(N0(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let u=this.map.get(t.param)||[],i=u.indexOf(N0(t.value));i!==-1&&u.splice(i,1),u.length>0?this.map.set(t.param,u):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}},lEe=class{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function cEe(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function a7(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function o7(e){return typeof Blob<"u"&&e instanceof Blob}function s7(e){return typeof FormData<"u"&&e instanceof FormData}function dEe(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var M1=class dC{constructor(t,r,u,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let o;if(cEe(this.method)||i?(this.body=u!==void 0?u:null,o=i):o=u,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??(this.headers=new il),this.context??(this.context=new lEe),!this.params)this.params=new Us,this.urlWithParams=r;else{let l=this.params.toString();if(l.length===0)this.urlWithParams=r;else{let d=r.indexOf("?"),n=d===-1?"?":d<r.length-1?"&":"";this.urlWithParams=r+n+l}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||a7(this.body)||o7(this.body)||s7(this.body)||dEe(this.body)?this.body:this.body instanceof Us?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||s7(this.body)?null:o7(this.body)?this.body.type||null:a7(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof Us?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(t={}){let r=t.method||this.method,u=t.url||this.url,i=t.responseType||this.responseType,o=t.transferCache??this.transferCache,l=t.body!==void 0?t.body:this.body,d=t.withCredentials??this.withCredentials,n=t.reportProgress??this.reportProgress,h=t.headers||this.headers,s=t.params||this.params,c=t.context??this.context;return t.setHeaders!==void 0&&(h=Object.keys(t.setHeaders).reduce((f,p)=>f.set(p,t.setHeaders[p]),h)),t.setParams&&(s=Object.keys(t.setParams).reduce((f,p)=>f.set(p,t.setParams[p]),s)),new dC(r,u,l,{params:s,headers:h,context:c,reportProgress:n,responseType:i,withCredentials:d,transferCache:o})}},Hs=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Hs||{}),Zf=class{constructor(e,t=Md.Ok,r="OK"){this.headers=e.headers||new il,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},hEe=class hC extends Zf{constructor(t={}){super(t),this.type=Hs.ResponseHeader}clone(t={}){return new hC({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},fC=class pC extends Zf{constructor(t={}){super(t),this.type=Hs.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new pC({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},l7=class extends Zf{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Md=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(Md||{});function N1(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var Yf=(()=>{const t=class t{constructor(u){this.handler=u}request(u,i,o={}){let l;if(u instanceof M1)l=u;else{let h;o.headers instanceof il?h=o.headers:h=new il(o.headers);let s;o.params&&(o.params instanceof Us?s=o.params:s=new Us({fromObject:o.params})),l=new M1(u,i,o.body!==void 0?o.body:null,{headers:h,context:o.context,params:s,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let d=gn(l).pipe(Z9(h=>this.handler.handle(h)));if(u instanceof M1||o.observe==="events")return d;let n=d.pipe(tr(h=>h instanceof fC));switch(o.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return n.pipe(Dn(h=>{if(h.body!==null&&!(h.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return h.body}));case"blob":return n.pipe(Dn(h=>{if(h.body!==null&&!(h.body instanceof Blob))throw new Error("Response is not a Blob.");return h.body}));case"text":return n.pipe(Dn(h=>{if(h.body!==null&&typeof h.body!="string")throw new Error("Response is not a string.");return h.body}));case"json":default:return n.pipe(Dn(h=>h.body))}case"response":return n;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(u,i={}){return this.request("DELETE",u,i)}get(u,i={}){return this.request("GET",u,i)}head(u,i={}){return this.request("HEAD",u,i)}jsonp(u,i){return this.request("JSONP",u,{params:new Us().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(u,i={}){return this.request("OPTIONS",u,i)}patch(u,i,o={}){return this.request("PATCH",u,N1(o,i))}post(u,i,o={}){return this.request("POST",u,N1(o,i))}put(u,i,o={}){return this.request("PUT",u,N1(o,i))}};t.ɵfac=function(u){return new(u||t)(It(Xf))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})();function fEe(e,t){return t(e)}function pEe(e,t,r){return(u,i)=>ope(r,()=>t(u,o=>e(o,i)))}var Kf=new iu(""),mEe=new iu(""),gEe=new iu(""),c7=(()=>{const t=class t extends Xf{constructor(u,i){super(),this.backend=u,this.injector=i,this.chain=null,this.pendingTasks=Xt(gh);let o=Xt(gEe,{optional:!0});this.backend=o??u}handle(u){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Kf),...this.injector.get(mEe,[])]));this.chain=o.reduceRight((l,d)=>pEe(l,d,this.injector),fEe)}let i=this.pendingTasks.add();return this.chain(u,o=>this.backend.handle(o)).pipe(J9(()=>this.pendingTasks.remove(i)))}};t.ɵfac=function(u){return new(u||t)(It(lC),It(us))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})(),CEe=/^\)\]\}',?\n/;function EEe(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var d7=(()=>{const t=class t{constructor(u){this.xhrFactory=u}handle(u){if(u.method==="JSONP")throw new Du(-2800,!1);let i=this.xhrFactory;return(i.ɵloadImpl?bo(i.ɵloadImpl()):gn(null)).pipe(es(()=>new vn(o=>{let l=i.build();if(l.open(u.method,u.urlWithParams),u.withCredentials&&(l.withCredentials=!0),u.headers.forEach((g,E)=>l.setRequestHeader(g,E.join(","))),u.headers.has("Accept")||l.setRequestHeader("Accept","application/json, text/plain, */*"),!u.headers.has("Content-Type")){let g=u.detectContentTypeHeader();g!==null&&l.setRequestHeader("Content-Type",g)}if(u.responseType){let g=u.responseType.toLowerCase();l.responseType=g!=="json"?g:"text"}let d=u.serializeBody(),n=null,h=()=>{if(n!==null)return n;let g=l.statusText||"OK",E=new il(l.getAllResponseHeaders()),C=EEe(l)||u.url;return n=new hEe({headers:E,status:l.status,statusText:g,url:C}),n},s=()=>{let{headers:g,status:E,statusText:C,url:A}=h(),F=null;E!==Md.NoContent&&(F=typeof l.response>"u"?l.responseText:l.response),E===0&&(E=F?Md.Ok:0);let v=E>=200&&E<300;if(u.responseType==="json"&&typeof F=="string"){let a=F;F=F.replace(CEe,"");try{F=F!==""?JSON.parse(F):null}catch(D){F=a,v&&(v=!1,F={error:D,text:F})}}v?(o.next(new fC({body:F,headers:g,status:E,statusText:C,url:A||void 0})),o.complete()):o.error(new l7({error:F,headers:g,status:E,statusText:C,url:A||void 0}))},c=g=>{let{url:E}=h(),C=new l7({error:g,status:l.status||0,statusText:l.statusText||"Unknown Error",url:E||void 0});o.error(C)},f=!1,p=g=>{f||(o.next(h()),f=!0);let E={type:Hs.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(E.total=g.total),u.responseType==="text"&&l.responseText&&(E.partialText=l.responseText),o.next(E)},m=g=>{let E={type:Hs.UploadProgress,loaded:g.loaded};g.lengthComputable&&(E.total=g.total),o.next(E)};return l.addEventListener("load",s),l.addEventListener("error",c),l.addEventListener("timeout",c),l.addEventListener("abort",c),u.reportProgress&&(l.addEventListener("progress",p),d!==null&&l.upload&&l.upload.addEventListener("progress",m)),l.send(d),o.next({type:Hs.Sent}),()=>{l.removeEventListener("error",c),l.removeEventListener("abort",c),l.removeEventListener("load",s),l.removeEventListener("timeout",c),u.reportProgress&&(l.removeEventListener("progress",p),d!==null&&l.upload&&l.upload.removeEventListener("progress",m)),l.readyState!==l.DONE&&l.abort()}})))}};t.ɵfac=function(u){return new(u||t)(It(lg))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})(),mC=new iu(""),FEe="XSRF-TOKEN",AEe=new iu("",{providedIn:"root",factory:()=>FEe}),DEe="X-XSRF-TOKEN",vEe=new iu("",{providedIn:"root",factory:()=>DEe}),gC=class{},BEe=(()=>{const t=class t{constructor(u,i,o){this.doc=u,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let u=this.doc.cookie||"";return u!==this.lastCookieString&&(this.parseCount++,this.lastToken=ig(u,this.cookieName),this.lastCookieString=u),this.lastToken}};t.ɵfac=function(u){return new(u||t)(It(hi),It(ll),It(AEe))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})();function yEe(e,t){let r=e.url.toLowerCase();if(!Xt(mC)||e.method==="GET"||e.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return t(e);let u=Xt(gC).getToken(),i=Xt(vEe);return u!=null&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,u)})),t(e)}var CC=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(CC||{});function bEe(e,t){return{ɵkind:e,ɵproviders:t}}function Jf(...e){let t=[Yf,d7,c7,{provide:Xf,useExisting:c7},{provide:lC,useExisting:d7},{provide:Kf,useValue:yEe,multi:!0},{provide:mC,useValue:!0},{provide:gC,useClass:BEe}];for(let r of e)t.push(...r.ɵproviders);return N6(t)}function Qf(e){return bEe(CC.Interceptors,e.map(t=>({provide:Kf,useValue:t,multi:!0})))}var xEe=class extends L4e{constructor(){super(...arguments),this.supportsDOMEvents=!0}},_Ee=class EC extends xEe{static makeCurrent(){N4e(new EC)}onAndCancel(t,r,u){return t.addEventListener(r,u),()=>{t.removeEventListener(r,u)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return r=r||this.getDefaultDocument(),r.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,r){return r==="window"?window:r==="document"?t:r==="body"?t.body:null}getBaseHref(t){let r=wEe();return r==null?null:SEe(r)}resetBaseElement(){zl=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return ig(document.cookie,t)}},zl=null;function wEe(){return zl=zl||document.querySelector("base"),zl?zl.getAttribute("href"):null}function SEe(e){return new URL(e,document.baseURI).pathname}var kEe=(()=>{const t=class t{build(){return new XMLHttpRequest}};t.ɵfac=function(u){return new(u||t)},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})(),e6=new iu(""),FC=(()=>{const t=class t{constructor(u,i){this._zone=i,this._eventNameToPlugin=new Map,u.forEach(o=>{o.manager=this}),this._plugins=u.slice().reverse()}addEventListener(u,i,o){return this._findPluginFor(i).addEventListener(u,i,o)}getZone(){return this._zone}_findPluginFor(u){let i=this._eventNameToPlugin.get(u);if(i)return i;if(i=this._plugins.find(o=>o.supports(u)),!i)throw new Du(5101,!1);return this._eventNameToPlugin.set(u,i),i}};t.ɵfac=function(u){return new(u||t)(It(e6),It(ri))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})(),AC=class{constructor(e){this._doc=e}},L1="ng-app-id",DC=(()=>{const t=class t{constructor(u,i,o,l={}){this.doc=u,this.appId=i,this.nonce=o,this.platformId=l,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=sg(l),this.resetHostNodes()}addStyles(u){for(let i of u)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(u){for(let i of u)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let u=this.styleNodesInDOM;u&&(u.forEach(i=>i.remove()),u.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(u){this.hostNodes.add(u);for(let i of this.getAllStyles())this.addStyleToHost(u,i)}removeHost(u){this.hostNodes.delete(u)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(u){for(let i of this.hostNodes)this.addStyleToHost(i,u)}onStyleRemoved(u){var o,l;let i=this.styleRef;(l=(o=i.get(u))==null?void 0:o.elements)==null||l.forEach(d=>d.remove()),i.delete(u)}collectServerRenderedStyles(){var i;let u=(i=this.doc.head)==null?void 0:i.querySelectorAll(`style[${L1}="${this.appId}"]`);if(u!=null&&u.length){let o=new Map;return u.forEach(l=>{l.textContent!=null&&o.set(l.textContent,l)}),o}return null}changeUsageCount(u,i){let o=this.styleRef;if(o.has(u)){let l=o.get(u);return l.usage+=i,l.usage}return o.set(u,{usage:i,elements:[]}),i}getStyleElement(u,i){let o=this.styleNodesInDOM,l=o==null?void 0:o.get(i);if((l==null?void 0:l.parentNode)===u)return o.delete(i),l.removeAttribute(L1),l;{let d=this.doc.createElement("style");return this.nonce&&d.setAttribute("nonce",this.nonce),d.textContent=i,this.platformIsServer&&d.setAttribute(L1,this.appId),u.appendChild(d),d}}addStyleToHost(u,i){var n;let o=this.getStyleElement(u,i),l=this.styleRef,d=(n=l.get(i))==null?void 0:n.elements;d?d.push(o):l.set(i,{elements:[o],usage:1})}resetHostNodes(){let u=this.hostNodes;u.clear(),u.add(this.doc.head)}};t.ɵfac=function(u){return new(u||t)(It(hi),It(rf),It(af,8),It(ll))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})(),z1={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},$f=/%COMP%/g,vC="%COMP%",IEe=`_nghost-${vC}`,PEe=`_ngcontent-${vC}`,TEe=!0,OEe=new iu("",{providedIn:"root",factory:()=>TEe});function REe(e){return PEe.replace($f,e)}function MEe(e){return IEe.replace($f,e)}function BC(e,t){return t.map(r=>r.replace($f,e))}var t6=(()=>{const t=class t{constructor(u,i,o,l,d,n,h,s=null){this.eventManager=u,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=l,this.doc=d,this.platformId=n,this.ngZone=h,this.nonce=s,this.rendererByCompId=new Map,this.platformIsServer=sg(n),this.defaultRenderer=new ep(u,d,h,this.platformIsServer)}createRenderer(u,i){if(!u||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===za.ShadowDom&&(i=ln(Fu({},i),{encapsulation:za.Emulated}));let o=this.getOrCreateRenderer(u,i);return o instanceof f7?o.applyToHost(u):o instanceof u6&&o.applyStyles(),o}getOrCreateRenderer(u,i){let o=this.rendererByCompId,l=o.get(i.id);if(!l){let d=this.doc,n=this.ngZone,h=this.eventManager,s=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case za.Emulated:l=new f7(h,s,i,this.appId,c,d,n,f);break;case za.ShadowDom:return new NEe(h,s,u,i,d,n,this.nonce,f);default:l=new u6(h,s,i,c,d,n,f);break}o.set(i.id,l)}return l}ngOnDestroy(){this.rendererByCompId.clear()}};t.ɵfac=function(u){return new(u||t)(It(FC),It(DC),It(rf),It(OEe),It(hi),It(ll),It(ri),It(af))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})(),ep=class{constructor(e,t,r,u){this.eventManager=e,this.doc=t,this.ngZone=r,this.platformIsServer=u,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,t){return t?this.doc.createElementNS(z1[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(h7(e)?e.content:e).appendChild(t)}insertBefore(e,t,r){e&&(h7(e)?e.content:e).insertBefore(t,r)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new Du(-5104,!1);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,u){if(u){t=u+":"+t;let i=z1[u];i?e.setAttributeNS(i,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){let u=z1[r];u?e.removeAttributeNS(u,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,u){u&(go.DashCase|go.Important)?e.style.setProperty(t,r,u&go.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&go.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e!=null&&(e[t]=r)}setValue(e,t){e.nodeValue=t}listen(e,t,r){if(typeof e=="string"&&(e=$o().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${t}`);return this.eventManager.addEventListener(e,t,this.decoratePreventDefault(r))}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function h7(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var NEe=class extends ep{constructor(e,t,r,u,i,o,l,d){super(e,i,o,d),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let n=BC(u.id,u.styles);for(let h of n){let s=document.createElement("style");l&&s.setAttribute("nonce",l),s.textContent=h,this.shadowRoot.appendChild(s)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,r){return super.insertBefore(this.nodeOrShadowRoot(e),t,r)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},u6=class extends ep{constructor(e,t,r,u,i,o,l,d){super(e,i,o,l),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=u,this.styles=d?BC(d,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},f7=class extends u6{constructor(e,t,r,u,i,o,l,d){let n=u+"-"+r.id;super(e,t,r,i,o,l,d,n),this.contentAttr=REe(n),this.hostAttr=MEe(n)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){let r=super.createElement(e,t);return super.setAttribute(r,this.contentAttr,""),r}},LEe=(()=>{const t=class t extends AC{constructor(u){super(u)}supports(u){return!0}addEventListener(u,i,o){return u.addEventListener(i,o,!1),()=>this.removeEventListener(u,i,o)}removeEventListener(u,i,o){return u.removeEventListener(i,o)}};t.ɵfac=function(u){return new(u||t)(It(hi))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})(),p7=["alt","control","meta","shift"],zEe={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},VEe={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},jEe=(()=>{const t=class t extends AC{constructor(u){super(u)}supports(u){return t.parseEventName(u)!=null}addEventListener(u,i,o){let l=t.parseEventName(i),d=t.eventCallback(l.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>$o().onAndCancel(u,l.domEventName,d))}static parseEventName(u){let i=u.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let l=t._normalizeKey(i.pop()),d="",n=i.indexOf("code");if(n>-1&&(i.splice(n,1),d="code."),p7.forEach(s=>{let c=i.indexOf(s);c>-1&&(i.splice(c,1),d+=s+".")}),d+=l,i.length!=0||l.length===0)return null;let h={};return h.domEventName=o,h.fullKey=d,h}static matchEventFullKeyCode(u,i){let o=zEe[u.key]||u.key,l="";return i.indexOf("code.")>-1&&(o=u.code,l="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),p7.forEach(d=>{if(d!==o){let n=VEe[d];n(u)&&(l+=d+".")}}),l+=o,l===i)}static eventCallback(u,i,o){return l=>{t.matchEventFullKeyCode(l,u)&&o.runGuarded(()=>i(l))}}static _normalizeKey(u){return u==="esc"?"escape":u}};t.ɵfac=function(u){return new(u||t)(It(hi))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})();function UEe(e){return C4e(HEe(e))}function HEe(e){return{appProviders:[...ZEe,...(e==null?void 0:e.providers)??[]],platformProviders:XEe}}function WEe(){_Ee.makeCurrent()}function qEe(){return new Ja}function GEe(){return l2e(document),document}var XEe=[{provide:ll,useValue:og},{provide:Fm,useValue:WEe,multi:!0},{provide:hi,useFactory:GEe,deps:[]}],ZEe=[{provide:z6,useValue:"root"},{provide:Ja,useFactory:qEe,deps:[]},{provide:e6,useClass:LEe,multi:!0,deps:[hi,ri,ll]},{provide:e6,useClass:jEe,multi:!0,deps:[hi]},t6,DC,FC,{provide:gf,useExisting:t6},{provide:lg,useClass:kEe,deps:[]},[]],yC=(()=>{const t=class t{};t.ɵfac=function(u){return new(u||t)},t.ɵprov=hu({token:t,factory:function(u){let i=null;return u?i=new(u||t):i=It(YEe),i},providedIn:"root"});let e=t;return e})(),YEe=(()=>{const t=class t extends yC{constructor(u){super(),this._doc=u}sanitize(u,i){if(i==null)return null;switch(u){case Ir.NONE:return i;case Ir.HTML:return ks(i,"HTML")?po(i):_m(this._doc,String(i)).toString();case Ir.STYLE:return ks(i,"Style")?po(i):i;case Ir.SCRIPT:if(ks(i,"Script"))return po(i);throw new Du(5200,!1);case Ir.URL:return ks(i,"URL")?po(i):Dm(String(i));case Ir.RESOURCE_URL:if(ks(i,"ResourceURL"))return po(i);throw new Du(5201,!1);default:throw new Du(5202,!1)}}bypassSecurityTrustHtml(u){return D2e(u)}bypassSecurityTrustStyle(u){return v2e(u)}bypassSecurityTrustScript(u){return B2e(u)}bypassSecurityTrustUrl(u){return y2e(u)}bypassSecurityTrustResourceUrl(u){return b2e(u)}};t.ɵfac=function(u){return new(u||t)(It(hi))},t.ɵprov=hu({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function KEe(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var JEe=["de",[["AM","PM"],void 0,void 0],void 0,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],void 0,void 0],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} 'um' {0}",void 0],[",",".",";","%","+","-","E","·","‰","∞","NaN",":"],["#,##0.###","#,##0 %","#,##0.00 ¤","#E0"],"EUR","€","Euro",{ATS:["öS"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[void 0,"р."],CUC:[void 0,"Cub$"],DEM:["DM"],FKP:[void 0,"Fl£"],GHS:[void 0,"₵"],GNF:[void 0,"F.G."],KMF:[void 0,"FC"],PHP:[void 0,"₱"],RON:[void 0,"L"],RUR:[void 0,"р."],RWF:[void 0,"F.Rw"],SYP:[],THB:["฿"],TWD:["NT$"],XXX:[],ZMW:[void 0,"K"]},"ltr",KEe];function QEe(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var $Ee=["en",[["a","p"],["AM","PM"],void 0],[["AM","PM"],void 0,void 0],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],void 0,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",void 0,"{1} 'at' {0}",void 0],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",QEe];function eFe(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length,u=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===0||t===1?1:u===0&&t!==0&&t%1e6===0&&r===0||!(u>=0&&u<=5)?4:5}var tFe=["fr",[["AM","PM"],void 0,void 0],void 0,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]],void 0,[["av. J.-C.","ap. J.-C."],void 0,["avant Jésus-Christ","après Jésus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1}, {0}","{1} 'à' {0}",void 0],[","," ",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0 %","#,##0.00 ¤","#E0"],"EUR","€","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BYN:[void 0,"р."],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[void 0,"¥"],COP:["$CO","$"],CYP:["£CY"],EGP:[void 0,"£E"],FJD:["$FJ","$"],FKP:["£FK","£"],FRF:["F"],GBP:["£GB","£"],GIP:["£GI","£"],HKD:[void 0,"$"],IEP:["£IE"],ILP:["£IL"],ITL:["₤IT"],JPY:[void 0,"¥"],KMF:[void 0,"FC"],LBP:["£LB","£L"],MTP:["£MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[void 0,"$C"],NZD:["$NZ","$"],PHP:[void 0,"₱"],RHD:["$RH"],RON:[void 0,"L"],RWF:[void 0,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[void 0,"$T"],TTD:["$TT","$"],TWD:[void 0,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[void 0,"$"],XPF:["FCFP"],ZMW:[void 0,"Kw"]},"ltr",eFe];function uFe(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var iFe=["nl",[["a.m.","p.m."],void 0,void 0],void 0,[["Z","M","D","W","D","V","Z"],["zo","ma","di","wo","do","vr","za"],["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["zo","ma","di","wo","do","vr","za"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]],void 0,[["v.C.","n.C."],["v.Chr.","n.Chr."],["voor Christus","na Christus"]],1,[6,0],["dd-MM-y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",void 0,"{1} 'om' {0}",void 0],[",",".",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤ #,##0.00;¤ -#,##0.00","#E0"],"EUR","€","Euro",{AUD:["AU$","$"],BYN:[void 0,"р."],CAD:["C$","$"],FJD:["FJ$","$"],JPY:["JP¥","¥"],PHP:[void 0,"₱"],RUR:[void 0,"р."],SBD:["SI$","$"],THB:["฿"],TWD:["NT$"],USD:["US$","$"],XPF:[],XXX:[]},"ltr",uFe],Ya=class{},m7=(()=>{const t=class t extends Ya{getTranslation(u){return gn({})}};Lt(t,"ɵfac",(()=>{let u;return function(i){return(u||(u=Kr(t)))(i||t)}})()),Lt(t,"ɵprov",hu({token:t,factory:t.ɵfac}));let e=t;return e})(),i6=class{},g7=(()=>{const t=class t{handle(u){return u.key}};Lt(t,"ɵfac",function(u){return new(u||t)}),Lt(t,"ɵprov",hu({token:t,factory:t.ɵfac}));let e=t;return e})();function Nd(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let r=typeof e,u=typeof t,i,o,l;if(r==u&&r=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((i=e.length)==t.length){for(o=0;o<i;o++)if(!Nd(e[o],t[o]))return!1;return!0}}else{if(Array.isArray(t))return!1;l=Object.create(null);for(o in e){if(!Nd(e[o],t[o]))return!1;l[o]=!0}for(o in t)if(!(o in l)&&typeof t[o]<"u")return!1;return!0}return!1}function Co(e){return typeof e<"u"&&e!==null}function V1(e){return e&&typeof e=="object"&&!Array.isArray(e)}function bC(e,t){let r=Object.assign({},e);return V1(e)&&V1(t)&&Object.keys(t).forEach(u=>{V1(t[u])?u in e?r[u]=bC(e[u],t[u]):Object.assign(r,{[u]:t[u]}):Object.assign(r,{[u]:t[u]})}),r}var Ld=class{},C7=(()=>{const t=class t extends Ld{constructor(){super(...arguments);Lt(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(i,o){let l;return typeof i=="string"?l=this.interpolateString(i,o):typeof i=="function"?l=this.interpolateFunction(i,o):l=i,l}getValue(i,o){let l=typeof o=="string"?o.split("."):[o];o="";do o+=l.shift(),Co(i)&&Co(i[o])&&(typeof i[o]=="object"||!l.length)?(i=i[o],o=""):l.length?o+=".":i=void 0;while(l.length);return i}interpolateFunction(i,o){return i(o)}interpolateString(i,o){return o?i.replace(this.templateMatcher,(l,d)=>{let n=this.getValue(o,d);return Co(n)?n:l}):i}};Lt(t,"ɵfac",(()=>{let i;return function(o){return(i||(i=Kr(t)))(o||t)}})()),Lt(t,"ɵprov",hu({token:t,factory:t.ɵfac}));let e=t;return e})(),Bo=class{},E7=(()=>{const t=class t extends Bo{compile(u,i){return u}compileTranslations(u,i){return u}};Lt(t,"ɵfac",(()=>{let u;return function(i){return(u||(u=Kr(t)))(i||t)}})()),Lt(t,"ɵprov",hu({token:t,factory:t.ɵfac}));let e=t;return e})(),xC=class{constructor(){Lt(this,"defaultLang");Lt(this,"currentLang",this.defaultLang);Lt(this,"translations",{});Lt(this,"langs",[]);Lt(this,"onTranslationChange",new bu);Lt(this,"onLangChange",new bu);Lt(this,"onDefaultLangChange",new bu)}},n6=new iu("USE_STORE"),r6=new iu("USE_DEFAULT_LANG"),a6=new iu("DEFAULT_LANGUAGE"),o6=new iu("USE_EXTEND"),_a=(()=>{const t=class t{constructor(u,i,o,l,d,n=!0,h=!1,s=!1,c){Lt(this,"store");Lt(this,"currentLoader");Lt(this,"compiler");Lt(this,"parser");Lt(this,"missingTranslationHandler");Lt(this,"useDefaultLang");Lt(this,"isolate");Lt(this,"extend");Lt(this,"loadingTranslations");Lt(this,"pending",!1);Lt(this,"_onTranslationChange",new bu);Lt(this,"_onLangChange",new bu);Lt(this,"_onDefaultLangChange",new bu);Lt(this,"_defaultLang");Lt(this,"_currentLang");Lt(this,"_langs",[]);Lt(this,"_translations",{});Lt(this,"_translationRequests",{});this.store=u,this.currentLoader=i,this.compiler=o,this.parser=l,this.missingTranslationHandler=d,this.useDefaultLang=n,this.isolate=h,this.extend=s,c&&this.setDefaultLang(c)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(u){this.isolate?this._defaultLang=u:this.store.defaultLang=u}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(u){this.isolate?this._currentLang=u:this.store.currentLang=u}get langs(){return this.isolate?this._langs:this.store.langs}set langs(u){this.isolate?this._langs=u:this.store.langs=u}get translations(){return this.isolate?this._translations:this.store.translations}set translations(u){this.isolate?this._translations=u:this.store.translations=u}setDefaultLang(u){if(u===this.defaultLang)return;let i=this.retrieveTranslations(u);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=u),i.pipe(Yn(1)).subscribe(o=>{this.changeDefaultLang(u)})):this.changeDefaultLang(u)}getDefaultLang(){return this.defaultLang}use(u){if(u===this.currentLang)return gn(this.translations[u]);let i=this.retrieveTranslations(u);return typeof i<"u"?(this.currentLang||(this.currentLang=u),i.pipe(Yn(1)).subscribe(o=>{this.changeLang(u)}),i):(this.changeLang(u),gn(this.translations[u]))}retrieveTranslations(u){let i;return(typeof this.translations[u]>"u"||this.extend)&&(this._translationRequests[u]=this._translationRequests[u]||this.getTranslation(u),i=this._translationRequests[u]),i}getTranslation(u){this.pending=!0;let i=this.currentLoader.getTranslation(u).pipe(sd(1),Yn(1));return this.loadingTranslations=i.pipe(Dn(o=>this.compiler.compileTranslations(o,u)),sd(1),Yn(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[u]=this.extend&&this.translations[u]?Fu(Fu({},o),this.translations[u]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),i}setTranslation(u,i,o=!1){i=this.compiler.compileTranslations(i,u),(o||this.extend)&&this.translations[u]?this.translations[u]=bC(this.translations[u],i):this.translations[u]=i,this.updateLangs(),this.onTranslationChange.emit({lang:u,translations:this.translations[u]})}getLangs(){return this.langs}addLangs(u){u.forEach(i=>{this.langs.indexOf(i)===-1&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(u,i,o){let l;if(i instanceof Array){let d={},n=!1;for(let h of i)d[h]=this.getParsedResult(u,h,o),Wo(d[h])&&(n=!0);if(n){let h=i.map(s=>Wo(d[s])?d[s]:gn(d[s]));return P6(h).pipe(Dn(s=>{let c={};return s.forEach((f,p)=>{c[i[p]]=f}),c}))}return d}if(u&&(l=this.parser.interpolate(this.parser.getValue(u,i),o)),typeof l>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(l=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),o)),typeof l>"u"){let d={key:i,translateService:this};typeof o<"u"&&(d.interpolateParams=o),l=this.missingTranslationHandler.handle(d)}return typeof l<"u"?l:i}get(u,i){if(!Co(u)||!u.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Z9(o=>(o=this.getParsedResult(o,u,i),Wo(o)?o:gn(o))));{let o=this.getParsedResult(this.translations[this.currentLang],u,i);return Wo(o)?o:gn(o)}}getStreamOnTranslationChange(u,i){if(!Co(u)||!u.length)throw new Error('Parameter "key" required');return Ql($l(()=>this.get(u,i)),this.onTranslationChange.pipe(es(o=>{let l=this.getParsedResult(o.translations,u,i);return typeof l.subscribe=="function"?l:gn(l)})))}stream(u,i){if(!Co(u)||!u.length)throw new Error('Parameter "key" required');return Ql($l(()=>this.get(u,i)),this.onLangChange.pipe(es(o=>{let l=this.getParsedResult(o.translations,u,i);return Wo(l)?l:gn(l)})))}instant(u,i){if(!Co(u)||!u.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],u,i);if(Wo(o)){if(u instanceof Array){let l={};return u.forEach((d,n)=>{l[u[n]]=u[n]}),l}return u}else return o}set(u,i,o=this.currentLang){this.translations[o][u]=this.compiler.compile(i,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeLang(u){this.currentLang=u,this.onLangChange.emit({lang:u,translations:this.translations[u]}),this.defaultLang==null&&this.changeDefaultLang(u)}changeDefaultLang(u){this.defaultLang=u,this.onDefaultLangChange.emit({lang:u,translations:this.translations[u]})}reloadLang(u){return this.resetLang(u),this.getTranslation(u)}resetLang(u){this._translationRequests[u]=void 0,this.translations[u]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let u=window.navigator.languages?window.navigator.languages[0]:null;if(u=u||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof u>"u"))return u.indexOf("-")!==-1&&(u=u.split("-")[0]),u.indexOf("_")!==-1&&(u=u.split("_")[0]),u}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let u=window.navigator.languages?window.navigator.languages[0]:null;return u=u||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,u}};Lt(t,"ɵfac",function(u){return new(u||t)(It(xC),It(Ya),It(Bo),It(Ld),It(i6),It(r6),It(n6),It(o6),It(a6))}),Lt(t,"ɵprov",hu({token:t,factory:t.ɵfac}));let e=t;return e})(),ka=(()=>{const t=class t{constructor(u,i){Lt(this,"translate");Lt(this,"_ref");Lt(this,"value","");Lt(this,"lastKey",null);Lt(this,"lastParams",[]);Lt(this,"onTranslationChange");Lt(this,"onLangChange");Lt(this,"onDefaultLangChange");this.translate=u,this._ref=i}updateValue(u,i,o){let l=d=>{this.value=d!==void 0?d:u,this.lastKey=u,this._ref.markForCheck()};if(o){let d=this.translate.getParsedResult(o,u,i);Wo(d.subscribe)?d.subscribe(l):l(d)}this.translate.get(u,i).subscribe(l)}transform(u,...i){if(!u||!u.length)return u;if(Nd(u,this.lastKey)&&Nd(i,this.lastParams))return this.value;let o;if(Co(i[0])&&i.length)if(typeof i[0]=="string"&&i[0].length){let l=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(l)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else typeof i[0]=="object"&&!Array.isArray(i[0])&&(o=i[0]);return this.lastKey=u,this.lastParams=i,this.updateValue(u,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(l=>{this.lastKey&&l.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(u,o,l.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(l=>{this.lastKey&&(this.lastKey=null,this.updateValue(u,o,l.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(u,o))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}};Lt(t,"ɵfac",function(u){return new(u||t)(ct(_a,16),ct(kn,16))}),Lt(t,"ɵpipe",_c({name:"translate",type:t,pure:!1})),Lt(t,"ɵprov",hu({token:t,factory:t.ɵfac}));let e=t;return e})(),Nr=(()=>{const t=class t{static forRoot(u={}){return{ngModule:t,providers:[u.loader||{provide:Ya,useClass:m7},u.compiler||{provide:Bo,useClass:E7},u.parser||{provide:Ld,useClass:C7},u.missingTranslationHandler||{provide:i6,useClass:g7},xC,{provide:n6,useValue:u.isolate},{provide:r6,useValue:u.useDefaultLang},{provide:o6,useValue:u.extend},{provide:a6,useValue:u.defaultLanguage},_a]}}static forChild(u={}){return{ngModule:t,providers:[u.loader||{provide:Ya,useClass:m7},u.compiler||{provide:Bo,useClass:E7},u.parser||{provide:Ld,useClass:C7},u.missingTranslationHandler||{provide:i6,useClass:g7},{provide:n6,useValue:u.isolate},{provide:r6,useValue:u.useDefaultLang},{provide:o6,useValue:u.extend},{provide:a6,useValue:u.defaultLanguage},_a]}}};Lt(t,"ɵfac",function(u){return new(u||t)}),Lt(t,"ɵmod",dn({type:t})),Lt(t,"ɵinj",cn({}));let e=t;return e})(),nFe=(()=>{const t=class t extends Gf{constructor(u){super(),this.translate=u,this.getRangeLabel=(i,o,l)=>{if(l===0||o===0)return`0 / ${l}`;l=Math.max(l,0);let d=i*o,n=d<l?Math.min(d+o,l):d+o;return`${d+1} - ${n} / ${l}`},this.getAndInitTranslations=()=>{this.nextPageLabel=this.translate.instant("commons.matPaginator.nextPage"),this.previousPageLabel=this.translate.instant("commons.matPaginator.prevPage"),this.firstPageLabel=this.translate.instant("commons.matPaginator.firstPage"),this.lastPageLabel=this.translate.instant("commons.matPaginator.lastPage"),this.itemsPerPageLabel=this.translate.instant("commons.matPaginator.itemsPerPage"),this.getRangeLabel=this.getRangeLabel.bind(this),this.changes.next()},this.translate.onLangChange.subscribe(()=>{this.getAndInitTranslations()}),this.getAndInitTranslations()}};t.ɵfac=function(u){return new(u||t)(It(_a))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})(),gt=function(e){return e.SEPARATOR="separator",e.PERCENT="percent",e.IP="IP",e.CPF_CNPJ="CPF_CNPJ",e.MONTH="M",e.MONTHS="M0",e.MINUTE="m",e.HOUR="h",e.HOURS="H",e.MINUTES="m0",e.HOURS_HOUR="Hh",e.SECONDS="s0",e.HOURS_MINUTES_SECONDS="Hh:m0:s0",e.EMAIL_MASK="A*@A*.A*",e.HOURS_MINUTES="Hh:m0",e.MINUTES_SECONDS="m0:s0",e.DAYS_MONTHS_YEARS="d0/M0/0000",e.DAYS_MONTHS="d0/M0",e.DAYS="d0",e.DAY="d",e.SECOND="s",e.LETTER_S="S",e.DOT=".",e.COMMA=",",e.CURLY_BRACKETS_LEFT="{",e.CURLY_BRACKETS_RIGHT="}",e.MINUS="-",e.OR="||",e.HASH="#",e.EMPTY_STRING="",e.SYMBOL_STAR="*",e.SYMBOL_QUESTION="?",e.SLASH="/",e.WHITE_SPACE=" ",e.NUMBER_ZERO="0",e.NUMBER_NINE="9",e.BACKSPACE="Backspace",e.DELETE="Delete",e.ARROW_LEFT="ArrowLeft",e.ARROW_UP="ArrowUp",e.DOUBLE_ZERO="00",e}(gt||{}),tp=new iu("ngx-mask config"),_C=new iu("new ngx-mask config"),wC=new iu("initial ngx-mask config"),rFe={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:null,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:e=>e,outputTransformFn:e=>e,maskFilled:new bu,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}};gt.HOURS_MINUTES_SECONDS,gt.HOURS_MINUTES,gt.MINUTES_SECONDS;gt.PERCENT,gt.HOURS_HOUR,gt.SECONDS,gt.MINUTES,gt.SEPARATOR,gt.DAYS_MONTHS_YEARS,gt.DAYS_MONTHS,gt.DAYS,gt.MONTHS;var aFe=(()=>{const t=class t{constructor(){Lt(this,"_config",Xt(tp));Lt(this,"dropSpecialCharacters",this._config.dropSpecialCharacters);Lt(this,"hiddenInput",this._config.hiddenInput);Lt(this,"showTemplate");Lt(this,"clearIfNotMatch",this._config.clearIfNotMatch);Lt(this,"specialCharacters",this._config.specialCharacters);Lt(this,"patterns",this._config.patterns);Lt(this,"prefix",this._config.prefix);Lt(this,"suffix",this._config.suffix);Lt(this,"thousandSeparator",this._config.thousandSeparator);Lt(this,"decimalMarker",this._config.decimalMarker);Lt(this,"customPattern");Lt(this,"showMaskTyped",this._config.showMaskTyped);Lt(this,"placeHolderCharacter",this._config.placeHolderCharacter);Lt(this,"validation",this._config.validation);Lt(this,"separatorLimit",this._config.separatorLimit);Lt(this,"allowNegativeNumbers",this._config.allowNegativeNumbers);Lt(this,"leadZeroDateTime",this._config.leadZeroDateTime);Lt(this,"leadZero",this._config.leadZero);Lt(this,"apm",this._config.apm);Lt(this,"inputTransformFn",this._config.inputTransformFn);Lt(this,"outputTransformFn",this._config.outputTransformFn);Lt(this,"keepCharacterPositions",this._config.keepCharacterPositions);Lt(this,"_shift",new Set);Lt(this,"plusOnePosition",!1);Lt(this,"maskExpression","");Lt(this,"actualValue","");Lt(this,"showKeepCharacterExp","");Lt(this,"shownMaskExpression","");Lt(this,"deletedSpecialCharacter",!1);Lt(this,"ipError");Lt(this,"cpfCnpjError");Lt(this,"_formatWithSeparators",(u,i,o,l)=>{var p;let d=[],n="";if(Array.isArray(o)){let m=new RegExp(o.map(g=>"[\\^$.|?*+()".indexOf(g)>=0?`\\${g}`:g).join("|"));d=u.split(m),n=((p=u.match(m))==null?void 0:p[0])??gt.EMPTY_STRING}else d=u.split(o),n=o;let h=d.length>1?`${n}${d[1]}`:gt.EMPTY_STRING,s=d[0]??gt.EMPTY_STRING,c=this.separatorLimit.replace(/\s/g,gt.EMPTY_STRING);c&&+c&&(s[0]===gt.MINUS?s=`-${s.slice(1,s.length).slice(0,c.length)}`:s=s.slice(0,c.length));let f=/(\d+)(\d{3})/;for(;i&&f.test(s);)s=s.replace(f,"$1"+i+"$2");return typeof l>"u"?s+h:l===0?s:s+h.substring(0,l+1)});Lt(this,"percentage",u=>{let i=u.replace(",","."),o=Number(this.allowNegativeNumbers&&u.includes(gt.MINUS)?i.slice(1,u.length):i);return!isNaN(o)&&o>=0&&o<=100});Lt(this,"getPrecision",u=>{let i=u.split(gt.DOT);return i.length>1?Number(i[i.length-1]):1/0});Lt(this,"checkAndRemoveSuffix",u=>{var i,o,l,d;for(let n=((i=this.suffix)==null?void 0:i.length)-1;n>=0;n--){let h=this.suffix.substring(n,(o=this.suffix)==null?void 0:o.length);if(u.includes(h)&&n!==((l=this.suffix)==null?void 0:l.length)-1&&(n-1<0||!u.includes(this.suffix.substring(n-1,(d=this.suffix)==null?void 0:d.length))))return u.replace(h,gt.EMPTY_STRING)}return u});Lt(this,"checkInputPrecision",(u,i,o)=>{var n;let l=u,d=o;if(i<1/0){Array.isArray(d)&&(d=d.find(p=>p!==this.thousandSeparator)||d[0]);let h=new RegExp(this._charToRegExpExpression(d)+`\\d{${i}}.*$`),s=l.match(h),c=(s&&((n=s[0])==null?void 0:n.length))??0;if(c-1>i){let f=c-1-i;l=l.substring(0,l.length-f)}i===0&&this._compareOrIncludes(l[l.length-1],d,this.thousandSeparator)&&(l=l.substring(0,l.length-1))}return l})}applyMaskWithPattern(u,i){let[o,l]=i;return this.customPattern=l,this.applyMask(u,o)}applyMask(u,i,o=0,l=!1,d=!1,n=()=>{}){var N,k,I;if(!i||typeof u!="string")return gt.EMPTY_STRING;let h=0,s="",c=!1,f=!1,p=1,m=!1,g=u,E=o;g.slice(0,this.prefix.length)===this.prefix&&(g=g.slice(this.prefix.length,g.length)),this.suffix&&g.length>0&&(g=this.checkAndRemoveSuffix(g)),g==="("&&this.prefix&&(g="");let C=g.toString().split(gt.EMPTY_STRING);if(this.allowNegativeNumbers&&g.slice(h,h+1)===gt.MINUS&&(s+=g.slice(h,h+1)),i===gt.IP){let B=g.split(gt.DOT);this.ipError=this._validIP(B),i="099.099.099.099"}let A=[];for(let B=0;B<g.length;B++)(N=g[B])!=null&&N.match("\\d")&&A.push(g[B]??gt.EMPTY_STRING);if(i===gt.CPF_CNPJ&&(this.cpfCnpjError=A.length!==11&&A.length!==14,A.length>11?i="00.000.000/0000-00":i="000.000.000-00"),i.startsWith(gt.PERCENT)){if(g.match("[a-z]|[A-Z]")||g.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!d){g=this._stripToDecimal(g);let b=this.getPrecision(i);g=this.checkInputPrecision(g,b,this.decimalMarker)}let B=typeof this.decimalMarker=="string"?this.decimalMarker:gt.DOT;if(g.indexOf(B)>0&&!this.percentage(g.substring(0,g.indexOf(B)))){let b=g.substring(0,g.indexOf(B)-1);this.allowNegativeNumbers&&g.slice(h,h+1)===gt.MINUS&&!d&&(b=g.substring(0,g.indexOf(B))),g=`${b}${g.substring(g.indexOf(B),g.length)}`}let w="";this.allowNegativeNumbers&&g.slice(h,h+1)===gt.MINUS?w=`${gt.MINUS}${g.slice(h+1,h+g.length)}`:w=g,this.percentage(w)?s=this._splitPercentZero(g):s=this._splitPercentZero(g.substring(0,g.length-1))}else if(i.startsWith(gt.SEPARATOR)){(g.match("[wа-яА-Я]")||g.match("[ЁёА-я]")||g.match("[a-z]|[A-Z]")||g.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||g.match("[^A-Za-z0-9,]"))&&(g=this._stripToDecimal(g));let B=this.getPrecision(i),w=Array.isArray(this.decimalMarker)?this.thousandSeparator===gt.DOT?gt.COMMA:gt.DOT:this.decimalMarker;if(B===0?g=this.allowNegativeNumbers?g.length>2&&g[0]===gt.MINUS&&g[1]===gt.NUMBER_ZERO&&g[2]!==this.thousandSeparator&&g[2]!==gt.COMMA&&g[2]!==gt.DOT?"-"+g.slice(2,g.length):g[0]===gt.NUMBER_ZERO&&g.length>1&&g[1]!==this.thousandSeparator&&g[1]!==gt.COMMA&&g[1]!==gt.DOT?g.slice(1,g.length):g:g.length>1&&g[0]===gt.NUMBER_ZERO&&g[1]!==this.thousandSeparator&&g[1]!==gt.COMMA&&g[1]!==gt.DOT?g.slice(1,g.length):g:(g[0]===w&&g.length>1&&(g=gt.NUMBER_ZERO+g.slice(0,g.length+1),this.plusOnePosition=!0),g[0]===gt.NUMBER_ZERO&&g[1]!==w&&g[1]!==this.thousandSeparator&&(g=g.length>1?g.slice(0,1)+w+g.slice(1,g.length+1):g,this.plusOnePosition=!0),this.allowNegativeNumbers&&g[0]===gt.MINUS&&(g[1]===w||g[1]===gt.NUMBER_ZERO)&&(g=g[1]===w&&g.length>2?g.slice(0,1)+gt.NUMBER_ZERO+g.slice(1,g.length):g[1]===gt.NUMBER_ZERO&&g.length>2&&g[2]!==w?g.slice(0,2)+w+g.slice(2,g.length):g,this.plusOnePosition=!0)),d){let pe=g.slice(this._findFirstNonZeroDigitIndex(g),g.length),le=g[E]===gt.NUMBER_ZERO||g[E]===w,fe=g[0]===gt.NUMBER_ZERO,we=g[0]===gt.MINUS,Pe=g[0]===this.thousandSeparator,Ne=g[1]===w,Ie=g[1]===gt.NUMBER_ZERO,Ye=g[2]===w;fe&&Ne&&le&&E<2&&(g=pe),we&&Ie&&Ye&&le&&E<3&&(g=gt.MINUS+pe),pe!==gt.MINUS&&(E===0&&(fe||Pe)||this.allowNegativeNumbers&&E===1&&we&&!Ie)&&(g=we?gt.MINUS+pe:pe)}let b=this._charToRegExpExpression(this.thousandSeparator),_='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(b,"");if(Array.isArray(this.decimalMarker))for(let pe of this.decimalMarker)_=_.replace(this._charToRegExpExpression(pe),gt.EMPTY_STRING);else _=_.replace(this._charToRegExpExpression(this.decimalMarker),"");let S=new RegExp("["+_+"]");g.match(S)&&(g=g.substring(0,g.length-1)),g=this.checkInputPrecision(g,B,this.decimalMarker);let R=g.replace(new RegExp(b,"g"),"");s=this._formatWithSeparators(R,this.thousandSeparator,this.decimalMarker,B);let z=s.indexOf(gt.COMMA)-g.indexOf(gt.COMMA),j=s.length-g.length,ue=d&&s.length<u.length&&this.separatorLimit;if((s[E-1]===this.thousandSeparator||s[E-this.prefix.length])&&this.prefix&&d)E=E-1;else if(j>0&&s[E]!==this.thousandSeparator||ue){f=!0;let pe=0;do this._shift.add(E+pe),pe++;while(pe<j)}else s[E-1]===this.thousandSeparator||j===-4||j===-3||s[E]===this.thousandSeparator?(this._shift.clear(),this._shift.add(E-1)):z!==0&&E>0&&!(s.indexOf(gt.COMMA)>=E&&E>3)||!(s.indexOf(gt.DOT)>=E&&E>3)&&j<=0?(this._shift.clear(),f=!0,p=j,E+=j,this._shift.add(E)):this._shift.clear()}else for(let B=0,w=C[0];B<C.length&&h!==i.length;B++,w=C[B]??gt.EMPTY_STRING){let b=gt.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(w,i[h]??gt.EMPTY_STRING)&&i[h+1]===gt.SYMBOL_QUESTION)s+=w,h+=2;else if(i[h+1]===gt.SYMBOL_STAR&&c&&this._checkSymbolMask(w,i[h+2]??gt.EMPTY_STRING))s+=w,h+=3,c=!1;else if(this._checkSymbolMask(w,i[h]??gt.EMPTY_STRING)&&i[h+1]===gt.SYMBOL_STAR&&!b)s+=w,c=!0;else if(i[h+1]===gt.SYMBOL_QUESTION&&this._checkSymbolMask(w,i[h+2]??gt.EMPTY_STRING))s+=w,h+=3;else if(this._checkSymbolMask(w,i[h]??gt.EMPTY_STRING)){if(i[h]===gt.HOURS&&(this.apm?Number(w)>9:Number(w)>2)){E=this.leadZeroDateTime?E:E+1,h+=1,this._shiftStep(i,h,C.length),B--,this.leadZeroDateTime&&(s+="0");continue}if(i[h]===gt.HOUR&&(this.apm?s.length===1&&Number(s)>1||s==="1"&&Number(w)>2||g.slice(h-1,h).length===1&&Number(g.slice(h-1,h))>2||g.slice(h-1,h)==="1"&&Number(w)>2:s==="2"&&Number(w)>3||(s.slice(h-2,h)==="2"||s.slice(h-3,h)==="2"||s.slice(h-4,h)==="2"||s.slice(h-1,h)==="2")&&Number(w)>3&&h>10)){E=E+1,h+=1,B--;continue}if((i[h]===gt.MINUTE||i[h]===gt.SECOND)&&Number(w)>5){E=this.leadZeroDateTime?E:E+1,h+=1,this._shiftStep(i,h,C.length),B--,this.leadZeroDateTime&&(s+="0");continue}let _=31,S=g[h],R=g[h+1],z=g[h+2],j=g[h-1],ue=g[h-2],pe=g.slice(h-3,h-1),le=g.slice(h-1,h+1),fe=g.slice(h,h+2),we=g.slice(h-2,h);if(i[h]===gt.DAY){let Pe=i.slice(0,2)===gt.MONTHS,Ne=i.slice(0,2)===gt.MONTHS&&this.specialCharacters.includes(ue);if(Number(w)>3&&this.leadZeroDateTime||!Pe&&(Number(fe)>_||Number(le)>_||this.specialCharacters.includes(R))||(Ne?Number(le)>_||!this.specialCharacters.includes(S)&&this.specialCharacters.includes(z)||this.specialCharacters.includes(S):Number(fe)>_||this.specialCharacters.includes(R)&&!d)){E=this.leadZeroDateTime?E:E+1,h+=1,this._shiftStep(i,h,C.length),B--,this.leadZeroDateTime&&(s+="0");continue}}if(i[h]===gt.MONTH){let Pe=h===0&&(Number(w)>2||Number(fe)>12||this.specialCharacters.includes(R)&&!d),Ne=i.slice(h+2,h+3),Ie=pe.includes(Ne)&&i.includes("d0")&&(this.specialCharacters.includes(ue)&&Number(le)>12&&!this.specialCharacters.includes(S)||this.specialCharacters.includes(S)),Ye=Number(pe)<=_&&!this.specialCharacters.includes(pe)&&this.specialCharacters.includes(j)&&(Number(fe)>12||this.specialCharacters.includes(R)),ze=Number(fe)>12&&h===5||this.specialCharacters.includes(R)&&h===5,$=Number(pe)>_&&!this.specialCharacters.includes(pe)&&!this.specialCharacters.includes(we)&&Number(we)>12&&i.includes("d0"),ve=Number(pe)<=_&&!this.specialCharacters.includes(pe)&&!this.specialCharacters.includes(j)&&Number(le)>12;if(Number(w)>1&&this.leadZeroDateTime||Pe||Ie||ve||$||Ye||ze&&!this.leadZeroDateTime){E=this.leadZeroDateTime?E:E+1,h+=1,this._shiftStep(i,h,C.length),B--,this.leadZeroDateTime&&(s+="0");continue}}s+=w,h++}else this.specialCharacters.includes(w)&&i[h]===w?(s+=w,h++):this.specialCharacters.indexOf(i[h]??gt.EMPTY_STRING)!==-1?(s+=i[h],h++,this._shiftStep(i,h,C.length),B--):i[h]===gt.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(i,h,C.length):this.patterns[i[h]??gt.EMPTY_STRING]&&((k=this.patterns[i[h]??gt.EMPTY_STRING])!=null&&k.optional)?(C[h]&&i!=="099.099.099.099"&&i!=="000.000.000-00"&&i!=="00.000.000/0000-00"&&!i.match(/^9+\.0+$/)&&!((I=this.patterns[i[h]??gt.EMPTY_STRING])!=null&&I.optional)&&(s+=C[h]),i.includes(gt.NUMBER_NINE+gt.SYMBOL_STAR)&&i.includes(gt.NUMBER_ZERO+gt.SYMBOL_STAR)&&h++,h++,B--):this.maskExpression[h+1]===gt.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[h+2]??gt.EMPTY_STRING)&&this._findSpecialChar(w)===this.maskExpression[h+2]&&c||this.maskExpression[h+1]===gt.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[h+2]??gt.EMPTY_STRING)&&this._findSpecialChar(w)===this.maskExpression[h+2]&&c?(h+=3,s+=w):this.showMaskTyped&&this.specialCharacters.indexOf(w)<0&&w!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(m=!0)}s.length+1===i.length&&this.specialCharacters.indexOf(i[i.length-1]??gt.EMPTY_STRING)!==-1&&(s+=i[i.length-1]);let F=E+1;for(;this._shift.has(F);)p++,F++;let v=l&&!i.startsWith(gt.SEPARATOR)?h:this._shift.has(E)?p:0;m&&v--,n(v,f),p<0&&this._shift.clear();let a=!1;d&&(a=C.every(B=>this.specialCharacters.includes(B)));let D=`${this.prefix}${a?gt.EMPTY_STRING:s}${this.showMaskTyped?"":this.suffix}`;s.length===0&&(D=this.dropSpecialCharacters?`${s}`:`${this.prefix}${s}`);let x=g.length===1&&this.specialCharacters.includes(i[0])&&g!==i[0];if(!this._checkSymbolMask(g,i[1])&&x)return"";if(s.includes(gt.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(d&&s===gt.MINUS)return"";D=`${gt.MINUS}${this.prefix}${s.split(gt.MINUS).join(gt.EMPTY_STRING)}${this.suffix}`}return D}_findDropSpecialChar(u){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(i=>i===u):this._findSpecialChar(u)}_findSpecialChar(u){return this.specialCharacters.find(i=>i===u)}_checkSymbolMask(u,i){var o,l;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((o=this.patterns[i])==null?void 0:o.pattern)&&((l=this.patterns[i])==null?void 0:l.pattern.test(u)))??!1}_stripToDecimal(u){return u.split(gt.EMPTY_STRING).filter((i,o)=>{let l=typeof this.decimalMarker=="string"?i===this.decimalMarker:this.decimalMarker.includes(i);return i.match("^-?\\d")||i===this.thousandSeparator||l||i===gt.MINUS&&o===0&&this.allowNegativeNumbers}).join(gt.EMPTY_STRING)}_charToRegExpExpression(u){return u&&(u===" "?"\\s":"[\\^$.|?*+()".indexOf(u)>=0?`\\${u}`:u)}_shiftStep(u,i,o){let l=/[*?]/g.test(u.slice(0,i))?o:i;this._shift.add(l+this.prefix.length||0)}_compareOrIncludes(u,i,o){return Array.isArray(i)?i.filter(l=>l!==o).includes(u):u===i}_validIP(u){return!(u.length===4&&!u.some((i,o)=>u.length!==o+1?i===gt.EMPTY_STRING||Number(i)>255:i===gt.EMPTY_STRING||Number(i.substring(0,3))>255))}_splitPercentZero(u){if(u===gt.MINUS&&this.allowNegativeNumbers)return u;let i=typeof this.decimalMarker=="string"?u.indexOf(this.decimalMarker):u.indexOf(gt.DOT),o=this.allowNegativeNumbers&&u.includes(gt.MINUS)?"-":"";if(i===-1){let l=parseInt(o?u.slice(1,u.length):u,10);return isNaN(l)?gt.EMPTY_STRING:`${o}${l}`}else{let l=parseInt(u.replace("-","").substring(0,i),10),d=u.substring(i+1),n=isNaN(l)?"":l.toString(),h=typeof this.decimalMarker=="string"?this.decimalMarker:gt.DOT;return n===gt.EMPTY_STRING?gt.EMPTY_STRING:`${o}${n}${h}${d}`}}_findFirstNonZeroDigitIndex(u){for(let i=0;i<u.length;i++){let o=u[i];if(o&&o>="1"&&o<="9")return i}return-1}};Lt(t,"ɵfac",function(u){return new(u||t)}),Lt(t,"ɵprov",hu({token:t,factory:t.ɵfac}));let e=t;return e})(),oFe=(()=>{const t=class t extends aFe{constructor(){super(...arguments);Lt(this,"isNumberValue",!1);Lt(this,"maskIsShown","");Lt(this,"selStart",null);Lt(this,"selEnd",null);Lt(this,"writingValue",!1);Lt(this,"maskChanged",!1);Lt(this,"_maskExpressionArray",[]);Lt(this,"triggerOnMaskChange",!1);Lt(this,"_previousValue","");Lt(this,"_currentValue","");Lt(this,"_emitValue",!1);Lt(this,"_start");Lt(this,"_end");Lt(this,"onChange",i=>{});Lt(this,"_elementRef",Xt(ai,{optional:!0}));Lt(this,"document",Xt(hi));Lt(this,"_config",Xt(tp));Lt(this,"_renderer",Xt(Mc,{optional:!0}))}applyMask(i,o,l=0,d=!1,n=!1,h=()=>{}){if(!o)return i!==this.actualValue?this.actualValue:i;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():gt.EMPTY_STRING,this.maskExpression===gt.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(i||gt.HASH)),this.maskExpression===gt.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(i||gt.HASH)),!i&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let s=i&&typeof this.selStart=="number"?i[this.selStart]??gt.EMPTY_STRING:gt.EMPTY_STRING,c="",f=l;if(this.hiddenInput!==null&&!this.writingValue){let E=i&&i.length===1?i.split(gt.EMPTY_STRING):this.actualValue.split(gt.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):i!==gt.EMPTY_STRING&&E.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(i.length>E.length?E.splice(this.selStart,0,s):i.length<E.length&&(E.length-i.length===1?n?E.splice(this.selStart-1,1):E.splice(i.length-1,1):E.splice(this.selStart,this.selEnd-this.selStart))):E=[],this.showMaskTyped&&!this.hiddenInput&&(c=this.removeMask(i)),c=this.actualValue.length&&E.length<=i.length?this.shiftTypedSymbols(E.join(gt.EMPTY_STRING)):i}if(d&&(this.hiddenInput||!this.hiddenInput)&&(c=i),n&&this.specialCharacters.indexOf(this.maskExpression[f]??gt.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(c=this._currentValue),this.deletedSpecialCharacter&&f&&(this.specialCharacters.includes(this.actualValue.slice(f,f+1))?f=f+1:o.slice(f-1,f+1)!==gt.MONTHS&&(f=f-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(c=this.removeMask(i)),this.maskChanged?c=i:c=c&&c.length?c:i,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!d&&!this.writingValue){let E=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(E),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let p=super.applyMask(c,o,f,d,n,h);if(this.actualValue=this.getActualValue(p),this.thousandSeparator===gt.DOT&&this.decimalMarker===gt.DOT&&(this.decimalMarker=gt.COMMA),this.maskExpression.startsWith(gt.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(E=>!this._compareOrIncludes(E,this.decimalMarker,this.thousandSeparator))),(p||p==="")&&(this._previousValue=this._currentValue,this._currentValue=p,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&d),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(p)):this.formControlResult(p)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?n?this.hideInput(p,this.maskExpression):`${this.hideInput(p,this.maskExpression)}${this.maskIsShown.slice(p.length)}`:p;let m=p.length,g=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(gt.HOURS)){let E=this._numberSkipedSymbols(p);return`${p}${g.slice(m+E)}`}else if(this.maskExpression===gt.IP||this.maskExpression===gt.CPF_CNPJ)return`${p}${g}`;return`${p}${g.slice(m)}`}_numberSkipedSymbols(i){let o=/(^|\D)(\d\D)/g,l=o.exec(i),d=0;for(;l!=null;)d+=1,l=o.exec(i);return d}applyValueChanges(i,o,l,d=()=>{}){var h;let n=(h=this._elementRef)==null?void 0:h.nativeElement;n&&(n.value=this.applyMask(n.value,this.maskExpression,i,o,l,d),n!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(i,o){return i.split(gt.EMPTY_STRING).map((l,d)=>{var n,h;return this.patterns&&this.patterns[o[d]??gt.EMPTY_STRING]&&((n=this.patterns[o[d]??gt.EMPTY_STRING])!=null&&n.symbol)?(h=this.patterns[o[d]??gt.EMPTY_STRING])==null?void 0:h.symbol:l}).join(gt.EMPTY_STRING)}getActualValue(i){let o=i.split(gt.EMPTY_STRING).filter((l,d)=>{let n=this.maskExpression[d]??gt.EMPTY_STRING;return this._checkSymbolMask(l,n)||this.specialCharacters.includes(n)&&l===n});return o.join(gt.EMPTY_STRING)===i?o.join(gt.EMPTY_STRING):i}shiftTypedSymbols(i){let o="";return(i&&i.split(gt.EMPTY_STRING).map((l,d)=>{if(this.specialCharacters.includes(i[d+1]??gt.EMPTY_STRING)&&i[d+1]!==this.maskExpression[d+1])return o=l,i[d+1];if(o.length){let n=o;return o=gt.EMPTY_STRING,n}return l})||[]).join(gt.EMPTY_STRING)}numberToString(i){return!i&&i!==0||this.maskExpression.startsWith(gt.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(gt.SEPARATOR)&&this.separatorLimit.length>14&&String(i).length>14?String(i):Number(i).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${gt.MINUS}/`,gt.MINUS)}showMaskInInput(i){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}else if(this.showMaskTyped){if(i){if(this.maskExpression===gt.IP)return this._checkForIp(i);if(this.maskExpression===gt.CPF_CNPJ)return this._checkForCpfCnpj(i)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var o;let i=(o=this._elementRef)==null?void 0:o.nativeElement;i&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==i.value.replace(this.placeHolderCharacter,gt.EMPTY_STRING).length&&(this.formElementProperty=["value",gt.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([i,o]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var l,d;return(d=this._renderer)==null?void 0:d.setProperty((l=this._elementRef)==null?void 0:l.nativeElement,i,o)})}checkDropSpecialCharAmount(i){return i.split(gt.EMPTY_STRING).filter(o=>this._findDropSpecialChar(o)).length}removeMask(i){return this._removeMask(this._removeSuffix(this._removePrefix(i)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(i){if(i===gt.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let o=[];for(let l=0;l<i.length;l++){let d=i[l]??gt.EMPTY_STRING;d&&d.match("\\d")&&o.push(d)}return o.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:o.length>3&&o.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:o.length>6&&o.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(i){let o=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,l=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(i===gt.HASH)return o;let d=[];for(let n=0;n<i.length;n++){let h=i[n]??gt.EMPTY_STRING;h&&h.match("\\d")&&d.push(h)}return d.length<=3?o.slice(d.length,o.length):d.length>3&&d.length<=6?o.slice(d.length+1,o.length):d.length>6&&d.length<=9?o.slice(d.length+2,o.length):d.length>9&&d.length<11?o.slice(d.length+3,o.length):d.length===11?"":d.length===12?i.length===17?l.slice(16,l.length):l.slice(15,l.length):d.length>12&&d.length<=14?l.slice(d.length+4,l.length):""}_getActiveElement(i=this.document){var l;let o=(l=i==null?void 0:i.activeElement)==null?void 0:l.shadowRoot;return o!=null&&o.activeElement?this._getActiveElement(o):i.activeElement}formControlResult(i){if(this.writingValue&&!i){this.onChange("");return}if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged){this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(i)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(i)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===i?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(i)))))):this.onChange(this.outputTransformFn(this._toNumber(i)))}_toNumber(i){if(!this.isNumberValue||i===gt.EMPTY_STRING||this.maskExpression.startsWith(gt.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return i;if(String(i).length>14&&this.maskExpression.startsWith(gt.SEPARATOR))return String(i);let o=Number(i);if(this.maskExpression.startsWith(gt.SEPARATOR)&&Number.isNaN(o)){let l=String(i).replace(",",".");return Number(l)}return Number.isNaN(o)?i:o}_removeMask(i,o){return this.maskExpression.startsWith(gt.PERCENT)&&i.includes(gt.DOT)?i:i&&i.replace(this._regExpForRemove(o),gt.EMPTY_STRING)}_removePrefix(i){return this.prefix?i&&i.replace(this.prefix,gt.EMPTY_STRING):i}_removeSuffix(i){return this.suffix?i&&i.replace(this.suffix,gt.EMPTY_STRING):i}_retrieveSeparatorValue(i){let o=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(l=>this.dropSpecialCharacters.includes(l)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&i.includes(gt.WHITE_SPACE)&&this.maskExpression.includes(gt.SYMBOL_STAR)&&(o=o.filter(l=>l!==gt.WHITE_SPACE)),this._removeMask(i,o)}_regExpForRemove(i){return new RegExp(i.map(o=>`\\${o}`).join("|"),"gi")}_replaceDecimalMarkerToDot(i){let o=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return i.replace(this._regExpForRemove(o),gt.DOT)}_checkSymbols(i){let o=i;if(o===gt.EMPTY_STRING)return o;this.maskExpression.startsWith(gt.PERCENT)&&this.decimalMarker===gt.COMMA&&(o=o.replace(gt.COMMA,gt.DOT));let l=this._retrieveSeparatorPrecision(this.maskExpression),d=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(o));return this.isNumberValue&&l?o===this.decimalMarker?null:d.length>14?String(d):this._checkPrecision(this.maskExpression,d):d}_checkPatternForSpace(){var i,o,l;for(let d in this.patterns)if(this.patterns[d]&&((i=this.patterns[d])!=null&&i.hasOwnProperty("pattern"))){let n=(o=this.patterns[d])==null?void 0:o.pattern.toString(),h=(l=this.patterns[d])==null?void 0:l.pattern;if(n!=null&&n.includes(gt.WHITE_SPACE)&&(h!=null&&h.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(i){let o=i.match(new RegExp("^separator\\.([^d]*)"));return o?Number(o[1]):null}_checkPrecision(i,o){let l=this.getPrecision(i),d=o;return i.indexOf("2")>0||this.leadZero&&Number(l)>0?(this.decimalMarker===gt.COMMA&&this.leadZero&&(d=d.replace(",",".")),this.leadZero?Number(d).toFixed(Number(l)):Number(d).toFixed(2)):this.numberToString(d)}_repeatPatternSymbols(i){return i.match(/{[0-9]+}/)&&i.split(gt.EMPTY_STRING).reduce((o,l,d)=>{if(this._start=l===gt.CURLY_BRACKETS_LEFT?d:this._start,l!==gt.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(l)?o+l:o;this._end=d;let n=Number(i.slice(this._start+1,this._end)),h=new Array(n+1).join(i[this._start-1]);if(i.slice(0,this._start).length>1&&i.includes(gt.LETTER_S)){let s=i.slice(0,this._start-1);return s.includes(gt.CURLY_BRACKETS_LEFT)?o+h:s+o+h}else return o+h},"")||i}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};Lt(t,"ɵfac",(()=>{let i;return function(o){return(i||(i=Kr(t)))(o||t)}})()),Lt(t,"ɵprov",hu({token:t,factory:t.ɵfac}));let e=t;return e})();function sFe(){let e=Xt(wC),t=Xt(_C);return t instanceof Function?Fu(Fu({},e),t()):Fu(Fu({},e),t)}function lFe(e){return[{provide:_C,useValue:e},{provide:wC,useValue:rFe},{provide:tp,useFactory:sFe},oFe]}function cFe(e){return N6(lFe(e))}function Hc(e){e||(k4(),e=Xt(Qa));let t=new vn(r=>e.onDestroy(r.next.bind(r)));return r=>r.pipe(rn(t))}function dFe(e,t){}var zd=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}},SC=(()=>{const t=class t extends Sh{constructor(u,i,o,l,d,n,h,s){super(),this._elementRef=u,this._focusTrapFactory=i,this._config=l,this._interactivityChecker=d,this._ngZone=n,this._overlayRef=h,this._focusMonitor=s,this._platform=Xt(_n),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=Xt(kn),this.attachDomPortal=c=>{this._portalOutlet.hasAttached();let f=this._portalOutlet.attachDomPortal(c);return this._contentAttached(),f},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(u){this._ariaLabelledByQueue.push(u),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(u){let i=this._ariaLabelledByQueue.indexOf(u);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(u){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(u);return this._contentAttached(),i}attachTemplatePortal(u){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(u);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(u,i){this._interactivityChecker.isFocusable(u)||(u.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{u.removeEventListener("blur",o),u.removeEventListener("mousedown",o),u.removeAttribute("tabindex")};u.addEventListener("blur",o),u.addEventListener("mousedown",o)})),u.focus(i)}_focusByCssSelector(u,i){let o=this._elementRef.nativeElement.querySelector(u);o&&this._forceFocus(o,i)}_trapFocus(){var i;let u=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||u.focus();break;case!0:case"first-tabbable":(i=this._focusTrap)==null||i.focusInitialElementWhenReady().then(o=>{o||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}}_restoreFocus(){let u=this._config.restoreFocus,i=null;if(typeof u=="string"?i=this._document.querySelector(u):typeof u=="boolean"?i=u?this._elementFocusedBeforeDialogWasOpened:null:u&&(i=u),this._config.restoreFocus&&i&&typeof i.focus=="function"){let o=Zl(),l=this._elementRef.nativeElement;(!o||o===this._document.body||o===l||l.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let u=this._elementRef.nativeElement,i=Zl();return u===i||u.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Zl()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};t.ɵfac=function(u){return new(u||t)(ct(ai),ct(_f),ct(hi,8),ct(zd),ct(xf),ct(ri),ct(Ih),ct(cl))},t.ɵcmp=Ai({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(u,i){if(u&1&&An(ds,7),u&2){let o;ci(o=di())&&(i._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(u,i){u&2&&Ku("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledByQueue[0])("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},standalone:!0,features:[Sn,_i],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(u,i){u&1&&Iu(0,dFe,0,0,"ng-template",0)},dependencies:[ds],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let e=t;return e})(),j1=class{constructor(e,t){this.overlayRef=e,this.config=t,this.closed=new Mu,this.disableClose=t.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(r=>{r.keyCode===27&&!this.disableClose&&!vr(r)&&(r.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{t.closeOnOverlayDetachments!==!1&&this.close()})}close(e,t){if(this.containerInstance){let r=this.closed;this.containerInstance._closeInteractionType=(t==null?void 0:t.focusOrigin)||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),r.next(e),r.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",t=""){return this.overlayRef.updateSize({width:e,height:t}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},hFe=new iu("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=Xt(rr);return()=>e.scrollStrategies.block()}}),fFe=new iu("DialogData"),pFe=new iu("DefaultDialogConfig"),mFe=0,kC=(()=>{const t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(u,i,o,l,d,n){this._overlay=u,this._injector=i,this._defaultOptions=o,this._parentDialog=l,this._overlayContainer=d,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Mu,this._afterOpenedAtThisLevel=new Mu,this._ariaHiddenElements=new Map,this.afterAllClosed=$l(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(qr(void 0))),this._scrollStrategy=n}open(u,i){let o=this._defaultOptions||new zd;i=Fu(Fu({},o),i),i.id=i.id||`cdk-dialog-${mFe++}`,i.id&&this.getDialogById(i.id);let l=this._getOverlayConfig(i),d=this._overlay.create(l),n=new j1(d,i),h=this._attachContainer(d,n,i);return n.containerInstance=h,this._attachDialogContent(u,n,h,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(n),n.closed.subscribe(()=>this._removeOpenDialog(n,!0)),this.afterOpened.next(n),n}closeAll(){U1(this.openDialogs,u=>u.close())}getDialogById(u){return this.openDialogs.find(i=>i.id===u)}ngOnDestroy(){U1(this._openDialogsAtThisLevel,u=>{u.config.closeOnDestroy===!1&&this._removeOpenDialog(u,!1)}),U1(this._openDialogsAtThisLevel,u=>u.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(u){let i=new Vc({positionStrategy:u.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:u.scrollStrategy||this._scrollStrategy(),panelClass:u.panelClass,hasBackdrop:u.hasBackdrop,direction:u.direction,minWidth:u.minWidth,minHeight:u.minHeight,maxWidth:u.maxWidth,maxHeight:u.maxHeight,width:u.width,height:u.height,disposeOnNavigation:u.closeOnNavigation});return u.backdropClass&&(i.backdropClass=u.backdropClass),i}_attachContainer(u,i,o){var s;let l=o.injector||((s=o.viewContainerRef)==null?void 0:s.injector),d=[{provide:zd,useValue:o},{provide:j1,useValue:i},{provide:Ih,useValue:u}],n;o.container?typeof o.container=="function"?n=o.container:(n=o.container.type,d.push(...o.container.providers(o))):n=SC;let h=new Do(n,o.viewContainerRef,Or.create({parent:l||this._injector,providers:d}),o.componentFactoryResolver);return u.attach(h).instance}_attachDialogContent(u,i,o,l){if(u instanceof ls){let d=this._createInjector(l,i,o,void 0),n={$implicit:l.data,dialogRef:i};l.templateContext&&(n=Fu(Fu({},n),typeof l.templateContext=="function"?l.templateContext():l.templateContext)),o.attachTemplatePortal(new wh(u,null,n,d))}else{let d=this._createInjector(l,i,o,this._injector),n=o.attachComponentPortal(new Do(u,l.viewContainerRef,d,l.componentFactoryResolver));i.componentRef=n,i.componentInstance=n.instance}}_createInjector(u,i,o,l){var h;let d=u.injector||((h=u.viewContainerRef)==null?void 0:h.injector),n=[{provide:fFe,useValue:u.data},{provide:j1,useValue:i}];return u.providers&&(typeof u.providers=="function"?n.push(...u.providers(i,u,o)):n.push(...u.providers)),u.direction&&(!d||!d.get(Xr,null,{optional:!0}))&&n.push({provide:Xr,useValue:{value:u.direction,change:gn()}}),Or.create({parent:d||l,providers:n})}_removeOpenDialog(u,i){let o=this.openDialogs.indexOf(u);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((l,d)=>{l?d.setAttribute("aria-hidden",l):d.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let u=this._overlayContainer.getContainerElement();if(u.parentElement){let i=u.parentElement.children;for(let o=i.length-1;o>-1;o--){let l=i[o];l!==u&&l.nodeName!=="SCRIPT"&&l.nodeName!=="STYLE"&&!l.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let u=this._parentDialog;return u?u._getAfterAllClosed():this._afterAllClosedAtThisLevel}};t.ɵfac=function(u){return new(u||t)(It(rr),It(Or),It(pFe,8),It(t,12),It(kh),It(hFe))},t.ɵprov=hu({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function U1(e,t){let r=e.length;for(;r--;)t(e[r])}var gFe=(()=>{const t=class t{};t.ɵfac=function(u){return new(u||t)},t.ɵmod=dn({type:t}),t.ɵinj=cn({providers:[kC],imports:[Ph,fc,vg,fc]});let e=t;return e})();function CFe(e,t){}var s6=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},H1="mdc-dialog--open",F7="mdc-dialog--opening",A7="mdc-dialog--closing",EFe=150,FFe=75,AFe=(()=>{const t=class t extends SC{constructor(u,i,o,l,d,n,h,s,c){super(u,i,o,l,d,n,h,c),this._animationMode=s,this._animationStateChanged=new bu,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?v7(this._config.enterAnimationDuration)??EFe:0,this._exitAnimationDuration=this._animationsEnabled?v7(this._config.exitAnimationDuration)??FFe:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(D7,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(F7,H1)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(H1),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(H1),this._animationsEnabled?(this._hostElement.style.setProperty(D7,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(A7)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(u){this._actionSectionCount+=u,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(F7,A7)}_waitForAnimationToComplete(u,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,u)}_requestAnimationFrame(u){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(u):u()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(u){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:u})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(u){let i=super.attachComponentPortal(u);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}};t.ɵfac=function(u){return new(u||t)(ct(ai),ct(_f),ct(hi,8),ct(s6),ct(xf),ct(ri),ct(Ih),ct(Jr,8),ct(cl))},t.ɵcmp=Ai({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(u,i){u&2&&(eo("id",i._config.id),Ku("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledByQueue[0])("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),zi("_mat-animation-noopable",!i._animationsEnabled)("mat-mdc-dialog-container-with-actions",i._actionSectionCount>0))},standalone:!0,features:[Sn,_i],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(u,i){u&1&&(At(0,"div",0)(1,"div",1),Iu(2,CFe,0,0,"ng-template",2),vt()())},dependencies:[ds],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2});let e=t;return e})(),D7="--mat-dialog-transition-duration";function v7(e){return e==null?null:typeof e=="number"?e:e.endsWith("ms")?bd(e.substring(0,e.length-2)):e.endsWith("s")?bd(e.substring(0,e.length-1))*1e3:e==="0"?0:null}var id=function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e}(id||{}),up=class{constructor(e,t,r){this._ref=e,this._containerInstance=r,this._afterOpened=new Mu,this._beforeClosed=new Mu,this._state=id.OPEN,this.disableClose=t.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),r._animationStateChanged.pipe(tr(u=>u.state==="opened"),Yn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),r._animationStateChanged.pipe(tr(u=>u.state==="closed"),Yn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Wr(this.backdropClick(),this.keydownEvents().pipe(tr(u=>u.keyCode===27&&!this.disableClose&&!vr(u)))).subscribe(u=>{this.disableClose||(u.preventDefault(),IC(this,u.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(tr(t=>t.state==="closing"),Yn(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=id.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let t=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",t=""){return this._ref.updateSize(e,t),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=id.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function IC(e,t,r){return e._closeInteractionType=t,e.close(r)}var PC=new iu("MatMdcDialogData"),DFe=new iu("mat-mdc-dialog-default-options"),vFe=new iu("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=Xt(rr);return()=>e.scrollStrategies.block()}}),BFe=0,gs=(()=>{const t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let u=this._parentDialog;return u?u._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(u,i,o,l,d,n,h,s){this._overlay=u,this._defaultOptions=l,this._scrollStrategy=d,this._parentDialog=n,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Mu,this._afterOpenedAtThisLevel=new Mu,this.dialogConfigClass=s6,this.afterAllClosed=$l(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(qr(void 0))),this._dialog=i.get(kC),this._dialogRefConstructor=up,this._dialogContainerType=AFe,this._dialogDataToken=PC}open(u,i){let o;i=Fu(Fu({},this._defaultOptions||new s6),i),i.id=i.id||`mat-mdc-dialog-${BFe++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let l=this._dialog.open(u,ln(Fu({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:zd,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(d,n,h)=>(o=new this._dialogRefConstructor(d,i,h),o.updatePosition(i==null?void 0:i.position),[{provide:this._dialogContainerType,useValue:h},{provide:this._dialogDataToken,useValue:n.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=l.componentRef,o.componentInstance=l.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let d=this.openDialogs.indexOf(o);d>-1&&(this.openDialogs.splice(d,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(u){return this.openDialogs.find(i=>i.id===u)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(u){let i=u.length;for(;i--;)u[i].close()}};t.ɵfac=function(u){return new(u||t)(It(rr),It(Or),It(bf,8),It(DFe,8),It(vFe),It(t,12),It(kh),It(Jr,8))},t.ɵprov=hu({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),yFe=0,ip=(()=>{const t=class t{constructor(u,i,o){this.dialogRef=u,this._elementRef=i,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=OC(this._elementRef,this._dialog.openDialogs))}ngOnChanges(u){let i=u._matDialogClose||u._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(u){IC(this.dialogRef,u.screenX===0&&u.screenY===0?"keyboard":"mouse",this.dialogResult)}};t.ɵfac=function(u){return new(u||t)(ct(up,8),ct(ai),ct(gs))},t.ɵdir=$u({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(u,i){u&1&&Ou("click",function(o){return i._onButtonClick(o)}),u&2&&Ku("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:[Gt.None,"aria-label","ariaLabel"],type:"type",dialogResult:[Gt.None,"mat-dialog-close","dialogResult"],_matDialogClose:[Gt.None,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[Kn]});let e=t;return e})(),TC=(()=>{const t=class t{constructor(u,i,o){this._dialogRef=u,this._elementRef=i,this._dialog=o}ngOnInit(){this._dialogRef||(this._dialogRef=OC(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){var u;(u=this._dialogRef)!=null&&u._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}};t.ɵfac=function(u){return new(u||t)(ct(up,8),ct(ai),ct(gs))},t.ɵdir=$u({type:t,standalone:!0});let e=t;return e})(),np=(()=>{const t=class t extends TC{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${yFe++}`}_onAdd(){var u,i;(i=(u=this._dialogRef._containerInstance)==null?void 0:u._addAriaLabelledBy)==null||i.call(u,this.id)}_onRemove(){var u,i,o;(o=(i=(u=this._dialogRef)==null?void 0:u._containerInstance)==null?void 0:i._removeAriaLabelledBy)==null||o.call(i,this.id)}};t.ɵfac=(()=>{let u;return function(i){return(u||(u=Kr(t)))(i||t)}})(),t.ɵdir=$u({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(u,i){u&2&&eo("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[Sn]});let e=t;return e})(),rp=(()=>{const t=class t{};t.ɵfac=function(u){return new(u||t)},t.ɵdir=$u({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0});let e=t;return e})(),ap=(()=>{const t=class t extends TC{_onAdd(){var u,i;(i=(u=this._dialogRef._containerInstance)==null?void 0:u._updateActionSectionCount)==null||i.call(u,1)}_onRemove(){var u,i;(i=(u=this._dialogRef._containerInstance)==null?void 0:u._updateActionSectionCount)==null||i.call(u,-1)}};t.ɵfac=(()=>{let u;return function(i){return(u||(u=Kr(t)))(i||t)}})(),t.ɵdir=$u({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(u,i){u&2&&zi("mat-mdc-dialog-actions-align-start",i.align==="start")("mat-mdc-dialog-actions-align-center",i.align==="center")("mat-mdc-dialog-actions-align-end",i.align==="end")},inputs:{align:"align"},standalone:!0,features:[Sn]});let e=t;return e})();function OC(e,t){let r=e.nativeElement.parentElement;for(;r&&!r.classList.contains("mat-mdc-dialog-container");)r=r.parentElement;return r?t.find(u=>u.id===r.id):null}var bFe=(()=>{const t=class t{};t.ɵfac=function(u){return new(u||t)},t.ɵmod=dn({type:t}),t.ɵinj=cn({providers:[gs],imports:[gFe,Ph,fc,qn,qn]});let e=t;return e})();Fc(m9());var xFe=["*"],L0;function _Fe(){if(L0===void 0&&(L0=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(L0=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return L0}function Rl(e){var t;return((t=_Fe())==null?void 0:t.createHTML(e))||e}function B7(e){return Error(`Unable to find icon with the name "${e}"`)}function wFe(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function y7(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function b7(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var jo=class{constructor(e,t,r){this.url=e,this.svgText=t,this.options=r}},SFe=(()=>{const t=class t{constructor(u,i,o,l){this._httpClient=u,this._sanitizer=i,this._errorHandler=l,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(u,i,o){return this.addSvgIconInNamespace("",u,i,o)}addSvgIconLiteral(u,i,o){return this.addSvgIconLiteralInNamespace("",u,i,o)}addSvgIconInNamespace(u,i,o,l){return this._addSvgIconConfig(u,i,new jo(o,null,l))}addSvgIconResolver(u){return this._resolvers.push(u),this}addSvgIconLiteralInNamespace(u,i,o,l){let d=this._sanitizer.sanitize(Ir.HTML,o);if(!d)throw b7(o);let n=Rl(d);return this._addSvgIconConfig(u,i,new jo("",n,l))}addSvgIconSet(u,i){return this.addSvgIconSetInNamespace("",u,i)}addSvgIconSetLiteral(u,i){return this.addSvgIconSetLiteralInNamespace("",u,i)}addSvgIconSetInNamespace(u,i,o){return this._addSvgIconSetConfig(u,new jo(i,null,o))}addSvgIconSetLiteralInNamespace(u,i,o){let l=this._sanitizer.sanitize(Ir.HTML,i);if(!l)throw b7(i);let d=Rl(l);return this._addSvgIconSetConfig(u,new jo("",d,o))}registerFontClassAlias(u,i=u){return this._fontCssClassesByAlias.set(u,i),this}classNameForFontAlias(u){return this._fontCssClassesByAlias.get(u)||u}setDefaultFontSetClass(...u){return this._defaultFontSetClass=u,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(u){let i=this._sanitizer.sanitize(Ir.RESOURCE_URL,u);if(!i)throw y7(u);let o=this._cachedIconsByUrl.get(i);return o?gn(z0(o)):this._loadSvgIconFromConfig(new jo(u,null)).pipe(Wl(l=>this._cachedIconsByUrl.set(i,l)),Dn(l=>z0(l)))}getNamedSvgIcon(u,i=""){let o=x7(i,u),l=this._svgIconConfigs.get(o);if(l)return this._getSvgFromConfig(l);if(l=this._getIconConfigFromResolvers(i,u),l)return this._svgIconConfigs.set(o,l),this._getSvgFromConfig(l);let d=this._iconSetConfigs.get(i);return d?this._getSvgFromIconSetConfigs(u,d):U9(B7(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(u){return u.svgText?gn(z0(this._svgElementFromConfig(u))):this._loadSvgIconFromConfig(u).pipe(Dn(i=>z0(i)))}_getSvgFromIconSetConfigs(u,i){let o=this._extractIconWithNameFromAnySet(u,i);if(o)return gn(o);let l=i.filter(d=>!d.svgText).map(d=>this._loadSvgIconSetFromConfig(d).pipe(eh(n=>{let h=`Loading icon set URL: ${this._sanitizer.sanitize(Ir.RESOURCE_URL,d.url)} failed: ${n.message}`;return this._errorHandler.handleError(new Error(h)),gn(null)})));return P6(l).pipe(Dn(()=>{let d=this._extractIconWithNameFromAnySet(u,i);if(!d)throw B7(u);return d}))}_extractIconWithNameFromAnySet(u,i){for(let o=i.length-1;o>=0;o--){let l=i[o];if(l.svgText&&l.svgText.toString().indexOf(u)>-1){let d=this._svgElementFromConfig(l),n=this._extractSvgIconFromSet(d,u,l.options);if(n)return n}}return null}_loadSvgIconFromConfig(u){return this._fetchIcon(u).pipe(Wl(i=>u.svgText=i),Dn(()=>this._svgElementFromConfig(u)))}_loadSvgIconSetFromConfig(u){return u.svgText?gn(null):this._fetchIcon(u).pipe(Wl(i=>u.svgText=i))}_extractSvgIconFromSet(u,i,o){let l=u.querySelector(`[id="${i}"]`);if(!l)return null;let d=l.cloneNode(!0);if(d.removeAttribute("id"),d.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(d,o);if(d.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(d),o);let n=this._svgElementFromString(Rl("<svg></svg>"));return n.appendChild(d),this._setSvgAttributes(n,o)}_svgElementFromString(u){let i=this._document.createElement("DIV");i.innerHTML=u;let o=i.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(u){let i=this._svgElementFromString(Rl("<svg></svg>")),o=u.attributes;for(let l=0;l<o.length;l++){let{name:d,value:n}=o[l];d!=="id"&&i.setAttribute(d,n)}for(let l=0;l<u.childNodes.length;l++)u.childNodes[l].nodeType===this._document.ELEMENT_NODE&&i.appendChild(u.childNodes[l].cloneNode(!0));return i}_setSvgAttributes(u,i){return u.setAttribute("fit",""),u.setAttribute("height","100%"),u.setAttribute("width","100%"),u.setAttribute("preserveAspectRatio","xMidYMid meet"),u.setAttribute("focusable","false"),i&&i.viewBox&&u.setAttribute("viewBox",i.viewBox),u}_fetchIcon(u){let{url:i,options:o}=u,l=(o==null?void 0:o.withCredentials)??!1;if(!this._httpClient)throw wFe();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let d=this._sanitizer.sanitize(Ir.RESOURCE_URL,i);if(!d)throw y7(i);let n=this._inProgressUrlFetches.get(d);if(n)return n;let h=this._httpClient.get(d,{responseType:"text",withCredentials:l}).pipe(Dn(s=>Rl(s)),J9(()=>this._inProgressUrlFetches.delete(d)),Q9());return this._inProgressUrlFetches.set(d,h),h}_addSvgIconConfig(u,i,o){return this._svgIconConfigs.set(x7(u,i),o),this}_addSvgIconSetConfig(u,i){let o=this._iconSetConfigs.get(u);return o?o.push(i):this._iconSetConfigs.set(u,[i]),this}_svgElementFromConfig(u){if(!u.svgElement){let i=this._svgElementFromString(u.svgText);this._setSvgAttributes(i,u.options),u.svgElement=i}return u.svgElement}_getIconConfigFromResolvers(u,i){for(let o=0;o<this._resolvers.length;o++){let l=this._resolvers[o](i,u);if(l)return kFe(l)?new jo(l.url,null,l.options):new jo(l,null)}}};t.ɵfac=function(u){return new(u||t)(It(Yf,8),It(yC),It(hi,8),It(Ja))},t.ɵprov=hu({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function z0(e){return e.cloneNode(!0)}function x7(e,t){return e+":"+t}function kFe(e){return!!(e.url&&e.options)}var IFe=new iu("MAT_ICON_DEFAULT_OPTIONS"),PFe=new iu("mat-icon-location",{providedIn:"root",factory:TFe});function TFe(){let e=Xt(hi),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var RC=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],OFe=RC.map(e=>`[${e}]`).join(", "),RFe=/^url\(['"]?#(.*?)['"]?\)$/,So=(()=>{const t=class t{get color(){return this._color||this._defaultColor}set color(u){this._color=u}get svgIcon(){return this._svgIcon}set svgIcon(u){u!==this._svgIcon&&(u?this._updateSvgIcon(u):this._svgIcon&&this._clearSvgElement(),this._svgIcon=u)}get fontSet(){return this._fontSet}set fontSet(u){let i=this._cleanupFontValue(u);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(u){let i=this._cleanupFontValue(u);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(u,i,o,l,d,n){this._elementRef=u,this._iconRegistry=i,this._location=l,this._errorHandler=d,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=an.EMPTY,n&&(n.color&&(this.color=this._defaultColor=n.color),n.fontSet&&(this.fontSet=n.fontSet)),o||u.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(u){if(!u)return["",""];let i=u.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${u}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let u=this._elementsWithExternalReferences;if(u&&u.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(u){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(u),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(u)}_clearSvgElement(){let u=this._elementRef.nativeElement,i=u.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let o=u.childNodes[i];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let u=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>u.classList.remove(o)),i.forEach(o=>u.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&u.classList.remove(this._previousFontIconClass),this.fontIcon&&u.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(u){return typeof u=="string"?u.trim().split(" ")[0]:u}_prependPathToReferences(u){let i=this._elementsWithExternalReferences;i&&i.forEach((o,l)=>{o.forEach(d=>{l.setAttribute(d.name,`url('${u}#${d.value}')`)})})}_cacheChildrenWithExternalReferences(u){let i=u.querySelectorAll(OFe),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l<i.length;l++)RC.forEach(d=>{let n=i[l],h=n.getAttribute(d),s=h?h.match(RFe):null;if(s){let c=o.get(n);c||(c=[],o.set(n,c)),c.push({name:d,value:s[1]})}})}_updateSvgIcon(u){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),u){let[i,o]=this._splitIconName(u);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(Yn(1)).subscribe(l=>this._setSvgElement(l),l=>{let d=`Error retrieving icon ${i}:${o}! ${l.message}`;this._errorHandler.handleError(new Error(d))})}}};t.ɵfac=function(u){return new(u||t)(ct(ai),ct(SFe),Pc("aria-hidden"),ct(PFe),ct(Ja),ct(IFe,8))},t.ɵcmp=Ai({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(u,i){u&2&&(Ku("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),el(i.color?"mat-"+i.color:""),zi("mat-icon-inline",i.inline)("mat-icon-no-color",i.color!=="primary"&&i.color!=="accent"&&i.color!=="warn"))},inputs:{color:"color",inline:[Gt.HasDecoratorInputTransform,"inline","inline",ki],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[Mr,_i],ngContentSelectors:xFe,decls:1,vars:0,template:function(u,i){u&1&&(xr(),Zi(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let e=t;return e})(),MFe=(()=>{const t=class t{};t.ɵfac=function(u){return new(u||t)},t.ɵmod=dn({type:t}),t.ɵinj=cn({imports:[qn,qn]});let e=t;return e})(),NFe=(()=>{const t=class t{};t.ɵfac=function(u){return new(u||t)},t.ɵcmp=Ai({type:t,selectors:[["nihdi-error-display"]],inputs:{message:"message"},standalone:!0,features:[_i],decls:3,vars:3,consts:[["color","warning","fontIcon","info",1,"material-icons"]],template:function(u,i){u&1&&(Hu(0,"mat-icon",0),Kt(1),ru(2,"translate")),u&2&&(pt(),ii(" ",pu(2,1,"commons.errors."+i.message)," "))},dependencies:[So,Nr,ka],styles:["[_nghost-%COMP%]{display:flex;align-items:center;background:#f443360d;color:#f44336;font-weight:700;padding:16px}mat-icon[_ngcontent-%COMP%]{margin-right:8px}"]});let e=t;return e})(),LFe="1.2",nd=LFe,Ms=(e=>(e.DEV="dev",e.INT="int",e.ACC="acc",e.PROD="prod",e))(Ms||{}),zFe=(()=>{const t=class t{constructor(){Lt(this,"version");Lt(this,"language");Lt(this,"configName");Lt(this,"services");Lt(this,"onError",new bu);Lt(this,"initialized",!1);Lt(this,"_ngInitDone",!1);Lt(this,"_ngFirstChangesDone",!1)}validateVersion(){let u=nd.split(".").map(o=>parseInt(o)),i=(this.version||"").split(".").map(o=>parseInt(o));if(i.length!==2)throw new Error(`The given version (${this.version}) has the wrong format <major>.<minor>!`);if(i[0]!==u[0])throw new Error(`The given version (${this.version})'s major is not compatible with this component's major version (${nd})!`)}validateInputs(){console.log("[BaseWebComponent] validating inputs..."),this.validateVersion();let u=this;if(["language","configName","services"].forEach(i=>{if(u[i]===void 0)throw new Error(`Missing required component input "${i}"!`)}),this.services.cache==null)throw new Error("The given services input does not contain a cache service!");if(this.services.getAccessToken==null)throw new Error("The given services input does not contain a getAccessToken() function!");if(this.services.registerRefreshCallback==null)throw new Error("The given services input does not contain a registerRefreshCallack() function!");console.log("[BaseWebComponent] all inputs validated ok!")}finalizeInitialization(){!this._ngInitDone||!this._ngFirstChangesDone||(this.validateInputs(),console.log(`[BaseWebComponent] host version = [${this.version}], our version = [${nd}]`),this.onInitialized(),this.initialized=!0)}ngOnInit(){console.log("[BaseWebComponent] onInit"),this._ngInitDone||(this._ngInitDone=!0,this.finalizeInitialization())}ngOnChanges(u){console.log("[BaseWebComponent] onChange: ",u),this._ngFirstChangesDone?this.onPropsChanged(u):(this._ngFirstChangesDone=!0,this.finalizeInitialization())}isInitialized(){return this.initialized}onInitialized(){}onPropsChanged(u){}fireError(u,i){this.onError.emit({title:u,text:i})}};Lt(t,"ɵfac",function(u){return new(u||t)}),Lt(t,"ɵcmp",Ai({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onError:"onError"},features:[Kn],decls:0,vars:0,template:function(u,i){},encapsulation:2}));let e=t;return e})(),VFe=()=>{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)},Vl=class extends Error{};Vl.prototype.name="InvalidTokenError";function jFe(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,r)=>{let u=r.charCodeAt(0).toString(16).toUpperCase();return u.length<2&&(u="0"+u),"%"+u}))}function UFe(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 jFe(t)}catch{return atob(t)}}function HFe(e,t){if(typeof e!="string")throw new Vl("Invalid token specified: must be a string");t||(t={});let r=t.header===!0?0:1,u=e.split(".")[r];if(typeof u!="string")throw new Vl(`Invalid token specified: missing part #${r+1}`);let i;try{i=UFe(u)}catch(o){throw new Vl(`Invalid token specified: invalid base64 for part #${r+1} (${o.message})`)}try{return JSON.parse(i)}catch(o){throw new Vl(`Invalid token specified: invalid json for part #${r+1} (${o.message})`)}}var op=(()=>{const t=class t{registerAccessToken(u){this.getLocalAccessToken=u}getAccessToken(){return bo(this.getLocalAccessToken("nihii-vidis"))}getSsin(){return Sr(this,null,function*(){return(yield this.decodedToken()).userProfile.ssin})}getPatientInfo(){return Sr(this,null,function*(){return(yield this.decodedToken()).userProfile})}decodedToken(){return Sr(this,null,function*(){return HFe(yield this.getLocalAccessToken("nihii-vidis"))})}};t.ɵfac=function(u){return new(u||t)},t.ɵprov=hu({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function _7(e){return new Du(3e3,!1)}function WFe(){return new Du(3100,!1)}function qFe(){return new Du(3101,!1)}function GFe(e){return new Du(3001,!1)}function XFe(e){return new Du(3003,!1)}function ZFe(e){return new Du(3004,!1)}function YFe(e,t){return new Du(3005,!1)}function KFe(){return new Du(3006,!1)}function JFe(){return new Du(3007,!1)}function QFe(e,t){return new Du(3008,!1)}function $Fe(e){return new Du(3002,!1)}function eAe(e,t,r,u,i){return new Du(3010,!1)}function tAe(){return new Du(3011,!1)}function uAe(){return new Du(3012,!1)}function iAe(){return new Du(3200,!1)}function nAe(){return new Du(3202,!1)}function rAe(){return new Du(3013,!1)}function aAe(e){return new Du(3014,!1)}function oAe(e){return new Du(3015,!1)}function sAe(e){return new Du(3016,!1)}function lAe(e,t){return new Du(3404,!1)}function cAe(e){return new Du(3502,!1)}function dAe(e){return new Du(3503,!1)}function hAe(){return new Du(3300,!1)}function fAe(e){return new Du(3504,!1)}function pAe(e){return new Du(3301,!1)}function mAe(e,t){return new Du(3302,!1)}function gAe(e){return new Du(3303,!1)}function CAe(e,t){return new Du(3400,!1)}function EAe(e){return new Du(3401,!1)}function FAe(e){return new Du(3402,!1)}function AAe(e,t){return new Du(3505,!1)}function mo(e){switch(e.length){case 0:return new pc;case 1:return e[0];default:return new Og(e)}}function MC(e,t,r=new Map,u=new Map){let i=[],o=[],l=-1,d=null;if(t.forEach(n=>{let h=n.get("offset"),s=h==l,c=s&&d||new Map;n.forEach((f,p)=>{let m=p,g=f;if(p!=="offset")switch(m=e.normalizePropertyName(m,i),g){case Tf:g=r.get(p);break;case Ua:g=u.get(p);break;default:g=e.normalizeStyleValue(p,m,g,i);break}c.set(m,g)}),s||o.push(c),d=c,l=h}),i.length)throw cAe();return o}function sp(e,t,r,u){switch(t){case"start":e.onStart(()=>u(r&&W1(r,"start",e)));break;case"done":e.onDone(()=>u(r&&W1(r,"done",e)));break;case"destroy":e.onDestroy(()=>u(r&&W1(r,"destroy",e)));break}}function W1(e,t,r){let u=r.totalTime,i=!!r.disabled,o=lp(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,u??e.totalTime,i),l=e._data;return l!=null&&(o._data=l),o}function lp(e,t,r,u,i="",o=0,l){return{element:e,triggerName:t,fromState:r,toState:u,phaseName:i,totalTime:o,disabled:!!l}}function Pr(e,t,r){let u=e.get(t);return u||e.set(t,u=r),u}function w7(e){let t=e.indexOf(":"),r=e.substring(1,t),u=e.slice(t+1);return[r,u]}var DAe=typeof document>"u"?null:document.documentElement;function cp(e){let t=e.parentNode||e.host||null;return t===DAe?null:t}function vAe(e){return e.substring(1,6)=="ebkit"}var Uo=null,S7=!1;function BAe(e){Uo||(Uo=yAe()||{},S7=Uo.style?"WebkitAppearance"in Uo.style:!1);let t=!0;return Uo.style&&!vAe(e)&&(t=e in Uo.style,!t&&S7&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Uo.style)),t}function yAe(){return typeof document<"u"?document.body:null}function NC(e,t){for(;t;){if(t===e)return!0;t=cp(t)}return!1}function LC(e,t,r){if(r)return Array.from(e.querySelectorAll(t));let u=e.querySelector(t);return u?[u]:[]}var bAe=(()=>{const t=class t{validateStyleProperty(u){return BAe(u)}matchesElement(u,i){return!1}containsElement(u,i){return NC(u,i)}getParentElement(u){return cp(u)}query(u,i,o){return LC(u,i,o)}computeStyle(u,i,o){return o||""}animate(u,i,o,l,d,n=[],h){return new pc(o,l)}};t.ɵfac=function(u){return new(u||t)},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})(),Ws,zC=(Ws=class{},Ws.NOOP=new bAe,Ws),dp=class{},xAe=1e3,VC="{{",_Ae="}}",jC="ng-enter",l6="ng-leave",V0="ng-trigger",Vd=".ng-trigger",k7="ng-animating",c6=".ng-animating";function La(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:d6(parseFloat(t[1]),t[2])}function d6(e,t){switch(t){case"s":return e*xAe;default:return e}}function jd(e,t,r){return e.hasOwnProperty("duration")?e:wAe(e,t,r)}function wAe(e,t,r){let u=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,l="";if(typeof e=="string"){let d=e.match(u);if(d===null)return t.push(_7()),{duration:0,delay:0,easing:""};i=d6(parseFloat(d[1]),d[2]);let n=d[3];n!=null&&(o=d6(parseFloat(n),d[4]));let h=d[5];h&&(l=h)}else i=e;if(!r){let d=!1,n=t.length;i<0&&(t.push(WFe()),d=!0),o<0&&(t.push(qFe()),d=!0),d&&t.splice(n,0,_7())}return{duration:i,delay:o,easing:l}}function SAe(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function Aa(e,t,r){t.forEach((u,i)=>{let o=hp(i);r&&!r.has(i)&&r.set(i,e.style[o]),e.style[o]=u})}function Jo(e,t){t.forEach((r,u)=>{let i=hp(u);e.style[i]=""})}function Ml(e){return Array.isArray(e)?e.length==1?e[0]:ige(e):e}function kAe(e,t,r){let u=t.params||{},i=UC(e);i.length&&i.forEach(o=>{u.hasOwnProperty(o)||r.push(GFe())})}var h6=new RegExp(`${VC}\\s*(.+?)\\s*${_Ae}`,"g");function UC(e){let t=[];if(typeof e=="string"){let r;for(;r=h6.exec(e);)t.push(r[1]);h6.lastIndex=0}return t}function gc(e,t,r){let u=`${e}`,i=u.replace(h6,(o,l)=>{let d=t[l];return d==null&&(r.push(XFe()),d=""),d.toString()});return i==u?e:i}var IAe=/-+([a-z0-9])/g;function hp(e){return e.replace(IAe,(...t)=>t[1].toUpperCase())}function PAe(e,t){return e===0||t===0}function TAe(e,t,r){if(r.size&&t.length){let u=t[0],i=[];if(r.forEach((o,l)=>{u.has(l)||i.push(l),u.set(l,o)}),i.length)for(let o=1;o<t.length;o++){let l=t[o];i.forEach(d=>l.set(d,fp(e,d)))}}return t}function kr(e,t,r){switch(t.type){case ui.Trigger:return e.visitTrigger(t,r);case ui.State:return e.visitState(t,r);case ui.Transition:return e.visitTransition(t,r);case ui.Sequence:return e.visitSequence(t,r);case ui.Group:return e.visitGroup(t,r);case ui.Animate:return e.visitAnimate(t,r);case ui.Keyframes:return e.visitKeyframes(t,r);case ui.Style:return e.visitStyle(t,r);case ui.Reference:return e.visitReference(t,r);case ui.AnimateChild:return e.visitAnimateChild(t,r);case ui.AnimateRef:return e.visitAnimateRef(t,r);case ui.Query:return e.visitQuery(t,r);case ui.Stagger:return e.visitStagger(t,r);default:throw ZFe(t.type)}}function fp(e,t){return window.getComputedStyle(e)[t]}var OAe=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),RAe=class extends dp{normalizePropertyName(e,t){return hp(e)}normalizeStyleValue(e,t,r,u){let i="",o=r.toString().trim();if(OAe.has(t)&&r!==0&&r!=="0")if(typeof r=="number")i="px";else{let l=r.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&l[1].length==0&&u.push(YFe())}return o+i}},Ud="*";function MAe(e,t){let r=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(u=>NAe(u,r,t)):r.push(e),r}function NAe(e,t,r){if(e[0]==":"){let n=LAe(e,r);if(typeof n=="function"){t.push(n);return}e=n}let u=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(u==null||u.length<4)return r.push(oAe()),t;let i=u[1],o=u[2],l=u[3];t.push(I7(i,l));let d=i==Ud&&l==Ud;o[0]=="<"&&!d&&t.push(I7(l,i))}function LAe(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,u)=>parseFloat(u)>parseFloat(r);case":decrement":return(r,u)=>parseFloat(u)<parseFloat(r);default:return t.push(sAe()),"* => *"}}var j0=new Set(["true","1"]),U0=new Set(["false","0"]);function I7(e,t){let r=j0.has(e)||U0.has(e),u=j0.has(t)||U0.has(t);return(i,o)=>{let l=e==Ud||e==i,d=t==Ud||t==o;return!l&&r&&typeof i=="boolean"&&(l=i?j0.has(e):U0.has(e)),!d&&u&&typeof o=="boolean"&&(d=o?j0.has(t):U0.has(t)),l&&d}}var HC=":self",zAe=new RegExp(`s*${HC}s*,?`,"g");function WC(e,t,r,u){return new VAe(e).build(t,r,u)}var P7="",VAe=class{constructor(e){this._driver=e}build(e,t,r){let u=new HAe(t);return this._resetContextStyleTimingState(u),kr(this,Ml(e),u)}_resetContextStyleTimingState(e){e.currentQuerySelector=P7,e.collectedStyles=new Map,e.collectedStyles.set(P7,new Map),e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,u=t.depCount=0,i=[],o=[];return e.name.charAt(0)=="@"&&t.errors.push(KFe()),e.definitions.forEach(l=>{if(this._resetContextStyleTimingState(t),l.type==ui.State){let d=l,n=d.name;n.toString().split(/\s*,\s*/).forEach(h=>{d.name=h,i.push(this.visitState(d,t))}),d.name=n}else if(l.type==ui.Transition){let d=this.visitTransition(l,t);r+=d.queryCount,u+=d.depCount,o.push(d)}else t.errors.push(JFe())}),{type:ui.Trigger,name:e.name,states:i,transitions:o,queryCount:r,depCount:u,options:null}}visitState(e,t){let r=this.visitStyle(e.styles,t),u=e.options&&e.options.params||null;if(r.containsDynamicStyles){let i=new Set,o=u||{};r.styles.forEach(l=>{l instanceof Map&&l.forEach(d=>{UC(d).forEach(n=>{o.hasOwnProperty(n)||i.add(n)})})}),i.size&&t.errors.push(QFe(e.name,[...i.values()]))}return{type:ui.State,name:e.name,style:r,options:u?{params:u}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let r=kr(this,Ml(e.animation),t),u=MAe(e.expr,t.errors);return{type:ui.Transition,matchers:u,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:Ho(e.options)}}visitSequence(e,t){return{type:ui.Sequence,steps:e.steps.map(r=>kr(this,r,t)),options:Ho(e.options)}}visitGroup(e,t){let r=t.currentTime,u=0,i=e.steps.map(o=>{t.currentTime=r;let l=kr(this,o,t);return u=Math.max(u,t.currentTime),l});return t.currentTime=u,{type:ui.Group,steps:i,options:Ho(e.options)}}visitAnimate(e,t){let r=qAe(e.timings,t.errors);t.currentAnimateTimings=r;let u,i=e.styles?e.styles:Qn({});if(i.type==ui.Keyframes)u=this.visitKeyframes(i,t);else{let o=e.styles,l=!1;if(!o){l=!0;let n={};r.easing&&(n.easing=r.easing),o=Qn(n)}t.currentTime+=r.duration+r.delay;let d=this.visitStyle(o,t);d.isEmptyStep=l,u=d}return t.currentAnimateTimings=null,{type:ui.Animate,timings:r,style:u,options:null}}visitStyle(e,t){let r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){let r=[],u=Array.isArray(e.styles)?e.styles:[e.styles];for(let l of u)typeof l=="string"?l===Ua?r.push(l):t.errors.push($Fe()):r.push(new Map(Object.entries(l)));let i=!1,o=null;return r.forEach(l=>{if(l instanceof Map&&(l.has("easing")&&(o=l.get("easing"),l.delete("easing")),!i)){for(let d of l.values())if(d.toString().indexOf(VC)>=0){i=!0;break}}}),{type:ui.Style,styles:r,easing:o,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,t){let r=t.currentAnimateTimings,u=t.currentTime,i=t.currentTime;r&&i>0&&(i-=r.duration+r.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((l,d)=>{let n=t.collectedStyles.get(t.currentQuerySelector),h=n.get(d),s=!0;h&&(i!=u&&i>=h.startTime&&u<=h.endTime&&(t.errors.push(eAe(d,h.startTime,h.endTime)),s=!1),i=h.startTime),s&&n.set(d,{startTime:i,endTime:u}),t.options&&kAe(l,t.options,t.errors)})})}visitKeyframes(e,t){let r={type:ui.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(tAe()),r;let u=1,i=0,o=[],l=!1,d=!1,n=0,h=e.steps.map(E=>{let C=this._makeStyleAst(E,t),A=C.offset!=null?C.offset:WAe(C.styles),F=0;return A!=null&&(i++,F=C.offset=A),d=d||F<0||F>1,l=l||F<n,n=F,o.push(F),C});d&&t.errors.push(uAe()),l&&t.errors.push(iAe());let s=e.steps.length,c=0;i>0&&i<s?t.errors.push(nAe()):i==0&&(c=u/(s-1));let f=s-1,p=t.currentTime,m=t.currentAnimateTimings,g=m.duration;return h.forEach((E,C)=>{let A=c>0?C==f?1:c*C:o[C],F=A*g;t.currentTime=p+m.delay+F,m.duration=F,this._validateStyleAst(E,t),E.offset=A,r.styles.push(E)}),r}visitReference(e,t){return{type:ui.Reference,animation:kr(this,Ml(e.animation),t),options:Ho(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:ui.AnimateChild,options:Ho(e.options)}}visitAnimateRef(e,t){return{type:ui.AnimateRef,animation:this.visitReference(e.animation,t),options:Ho(e.options)}}visitQuery(e,t){let r=t.currentQuerySelector,u=e.options||{};t.queryCount++,t.currentQuery=e;let[i,o]=jAe(e.selector);t.currentQuerySelector=r.length?r+" "+i:i,Pr(t.collectedStyles,t.currentQuerySelector,new Map);let l=kr(this,Ml(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:ui.Query,selector:i,limit:u.limit||0,optional:!!u.optional,includeSelf:o,animation:l,originalSelector:e.selector,options:Ho(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(rAe());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:jd(e.timings,t.errors,!0);return{type:ui.Stagger,animation:kr(this,Ml(e.animation),t),timings:r,options:null}}};function jAe(e){let t=!!e.split(/\s*,\s*/).find(r=>r==HC);return t&&(e=e.replace(zAe,"")),e=e.replace(/@\*/g,Vd).replace(/@\w+/g,r=>Vd+"-"+r.slice(1)).replace(/:animating/g,c6),[e,t]}function UAe(e){return e?Fu({},e):null}var HAe=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function WAe(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(r=>{if(r instanceof Map&&r.has("offset")){let u=r;t=parseFloat(u.get("offset")),u.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let r=e;t=parseFloat(r.get("offset")),r.delete("offset")}return t}function qAe(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let i=jd(e,t).duration;return q1(i,0,"")}let r=e;if(r.split(/\s+/).some(i=>i.charAt(0)=="{"&&i.charAt(1)=="{")){let i=q1(0,0,"");return i.dynamic=!0,i.strValue=r,i}let u=jd(r,t);return q1(u.duration,u.delay,u.easing)}function Ho(e){return e?(e=Fu({},e),e.params&&(e.params=UAe(e.params))):e={},e}function q1(e,t,r){return{duration:e,delay:t,easing:r}}function pp(e,t,r,u,i,o,l=null,d=!1){return{type:1,element:e,keyframes:t,preStyleProps:r,postStyleProps:u,duration:i,delay:o,totalTime:i+o,easing:l,subTimeline:d}}var mp=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},GAe=1,XAe=":enter",ZAe=new RegExp(XAe,"g"),YAe=":leave",KAe=new RegExp(YAe,"g");function qC(e,t,r,u,i,o=new Map,l=new Map,d,n,h=[]){return new JAe().buildKeyframes(e,t,r,u,i,o,l,d,n,h)}var JAe=class{buildKeyframes(e,t,r,u,i,o,l,d,n,h=[]){n=n||new mp;let s=new QAe(e,t,n,u,i,h,[]);s.options=d;let c=d.delay?La(d.delay):0;s.currentTimeline.delayNextStep(c),s.currentTimeline.setStyles([o],null,s.errors,d),kr(this,r,s);let f=s.timelines.filter(p=>p.containsAnimation());if(f.length&&l.size){let p;for(let m=f.length-1;m>=0;m--){let g=f[m];if(g.element===t){p=g;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([l],null,s.errors,d)}return f.length?f.map(p=>p.buildKeyframes()):[pp(t,[],[],[],0,c,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let r=t.subInstructions.get(t.element);if(r){let u=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(r,u,u.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){let r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,r){for(let u of e){let i=u==null?void 0:u.delay;if(i){let o=typeof i=="number"?i:La(gc(i,(u==null?void 0:u.params)??{},t.errors));r.delayNextStep(o)}}}_visitSubInstructions(e,t,r){let u=t.currentTimeline.currentTime,i=r.duration!=null?La(r.duration):null,o=r.delay!=null?La(r.delay):null;return i!==0&&e.forEach(l=>{let d=t.appendInstructionToTimeline(l,i,o);u=Math.max(u,d.duration+d.delay)}),u}visitReference(e,t){t.updateOptions(e.options,!0),kr(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let r=t.subContextCount,u=t,i=e.options;if(i&&(i.params||i.delay)&&(u=t.createSubContext(i),u.transformIntoNewTimeline(),i.delay!=null)){u.previousNode.type==ui.Style&&(u.currentTimeline.snapshotCurrentStyles(),u.previousNode=Hd);let o=La(i.delay);u.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>kr(this,o,u)),u.currentTimeline.applyStylesToKeyframe(),u.subContextCount>r&&u.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let r=[],u=t.currentTimeline.currentTime,i=e.options&&e.options.delay?La(e.options.delay):0;e.steps.forEach(o=>{let l=t.createSubContext(e.options);i&&l.delayNextStep(i),kr(this,o,l),u=Math.max(u,l.currentTimeline.currentTime),r.push(l.currentTimeline)}),r.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(u),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let r=e.strValue,u=t.params?gc(r,t.params,t.errors):r;return jd(u,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let r=t.currentAnimateTimings=this._visitTiming(e.timings,t),u=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),u.snapshotCurrentStyles());let i=e.style;i.type==ui.Keyframes?this.visitKeyframes(i,t):(t.incrementTime(r.duration),this.visitStyle(i,t),u.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let r=t.currentTimeline,u=t.currentAnimateTimings;!u&&r.hasCurrentStyleProperties()&&r.forwardFrame();let i=u&&u.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(i):r.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let r=t.currentAnimateTimings,u=t.currentTimeline.duration,i=r.duration,o=t.createSubContext().currentTimeline;o.easing=r.easing,e.styles.forEach(l=>{let d=l.offset||0;o.forwardTime(d*i),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(u+i),t.previousNode=e}visitQuery(e,t){let r=t.currentTimeline.currentTime,u=e.options||{},i=u.delay?La(u.delay):0;i&&(t.previousNode.type===ui.Style||r==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Hd);let o=r,l=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!u.optional,t.errors);t.currentQueryTotal=l.length;let d=null;l.forEach((n,h)=>{t.currentQueryIndex=h;let s=t.createSubContext(e.options,n);i&&s.delayNextStep(i),n===t.element&&(d=s.currentTimeline),kr(this,e.animation,s),s.currentTimeline.applyStylesToKeyframe();let c=s.currentTimeline.currentTime;o=Math.max(o,c)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),d&&(t.currentTimeline.mergeTimelineCollectedStyles(d),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let r=t.parentContext,u=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),l=o*(t.currentQueryTotal-1),d=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":d=l-d;break;case"full":d=r.currentStaggerTime;break}let n=t.currentTimeline;d&&n.delayNextStep(d);let h=n.currentTime;kr(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=u.currentTime-h+(u.startTime-r.currentTimeline.startTime)}},Hd={},QAe=class GC{constructor(t,r,u,i,o,l,d,n){this._driver=t,this.element=r,this.subInstructions=u,this._enterClassName=i,this._leaveClassName=o,this.errors=l,this.timelines=d,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Hd,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=n||new XC(this._driver,r,0),d.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,r){if(!t)return;let u=t,i=this.options;u.duration!=null&&(i.duration=La(u.duration)),u.delay!=null&&(i.delay=La(u.delay));let o=u.params;if(o){let l=i.params;l||(l=this.options.params={}),Object.keys(o).forEach(d=>{(!r||!l.hasOwnProperty(d))&&(l[d]=gc(o[d],l,this.errors))})}}_copyOptions(){let t={};if(this.options){let r=this.options.params;if(r){let u=t.params={};Object.keys(r).forEach(i=>{u[i]=r[i]})}}return t}createSubContext(t=null,r,u){let i=r||this.element,o=new GC(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,u||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=Hd,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,r,u){let i={duration:r??t.duration,delay:this.currentTimeline.currentTime+(u??0)+t.delay,easing:""},o=new $Ae(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,r,u,i,o,l){let d=[];if(i&&d.push(this.element),t.length>0){t=t.replace(ZAe,"."+this._enterClassName),t=t.replace(KAe,"."+this._leaveClassName);let n=u!=1,h=this._driver.query(this.element,t,n);u!==0&&(h=u<0?h.slice(h.length+u,h.length):h.slice(0,u)),d.push(...h)}return!o&&d.length==0&&l.push(aAe()),d}},XC=class ZC{constructor(t,r,u,i){this._driver=t,this.element=r,this.startTime=u,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+t),r&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,r){return this.applyStylesToKeyframe(),new ZC(this._driver,t,r||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=GAe,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,r){this._localTimelineStyles.set(t,r),this._globalTimelineStyles.set(t,r),this._styleSummary.set(t,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[r,u]of this._globalTimelineStyles)this._backFill.set(r,u||Ua),this._currentKeyframe.set(r,Ua);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,r,u,i){r&&this._previousKeyframe.set("easing",r);let o=i&&i.params||{},l=eDe(t,this._globalTimelineStyles);for(let[d,n]of l){let h=gc(n,o,u);this._pendingStyles.set(d,h),this._localTimelineStyles.has(d)||this._backFill.set(d,this._globalTimelineStyles.get(d)??Ua),this._updateStyle(d,h)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,r)=>{this._currentKeyframe.set(r,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,t)}))}snapshotCurrentStyles(){for(let[t,r]of this._localTimelineStyles)this._pendingStyles.set(t,r),this._updateStyle(t,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let r in this._currentKeyframe)t.push(r);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((r,u)=>{let i=this._styleSummary.get(u);(!i||r.time>i.time)&&this._updateStyle(u,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,r=new Set,u=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((d,n)=>{let h=new Map([...this._backFill,...d]);h.forEach((s,c)=>{s===Tf?t.add(c):s===Ua&&r.add(c)}),u||h.set("offset",n/this.duration),i.push(h)});let o=[...t.values()],l=[...r.values()];if(u){let d=i[0],n=new Map(d);d.set("offset",0),n.set("offset",1),i=[d,n]}return pp(this.element,i,o,l,this.duration,this.startTime,this.easing,!1)}},$Ae=class extends XC{constructor(e,t,r,u,i,o,l=!1){super(e,t,o.delay),this.keyframes=r,this.preStyleProps=u,this.postStyleProps=i,this._stretchStartingKeyframe=l,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:r,easing:u}=this.timings;if(this._stretchStartingKeyframe&&t){let i=[],o=r+t,l=t/o,d=new Map(e[0]);d.set("offset",0),i.push(d);let n=new Map(e[0]);n.set("offset",T7(l)),i.push(n);let h=e.length-1;for(let s=1;s<=h;s++){let c=new Map(e[s]),f=c.get("offset"),p=t+f*r;c.set("offset",T7(p/o)),i.push(c)}r=o,t=0,u="",e=i}return pp(this.element,e,this.preStyleProps,this.postStyleProps,r,t,u,!0)}};function T7(e,t=3){let r=Math.pow(10,t-1);return Math.round(e*r)/r}function eDe(e,t){let r=new Map,u;return e.forEach(i=>{if(i==="*"){u??(u=t.keys());for(let o of u)r.set(o,Ua)}else for(let[o,l]of i)r.set(o,l)}),r}function O7(e,t,r,u,i,o,l,d,n,h,s,c,f){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:r,fromStyles:o,toState:u,toStyles:l,timelines:d,queriedElements:n,preStyleProps:h,postStyleProps:s,totalTime:c,errors:f}}var G1={},YC=class{constructor(e,t,r){this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,u){return tDe(this.ast.matchers,e,t,r,u)}buildStyles(e,t,r){let u=this._stateStyles.get("*");return e!==void 0&&(u=this._stateStyles.get(e==null?void 0:e.toString())||u),u?u.buildStyles(t,r):new Map}build(e,t,r,u,i,o,l,d,n,h){var x;let s=[],c=this.ast.options&&this.ast.options.params||G1,f=l&&l.params||G1,p=this.buildStyles(r,f,s),m=d&&d.params||G1,g=this.buildStyles(u,m,s),E=new Set,C=new Map,A=new Map,F=u==="void",v={params:KC(m,c),delay:(x=this.ast.options)==null?void 0:x.delay},a=h?[]:qC(e,t,this.ast.animation,i,o,p,g,v,n,s),D=0;return a.forEach(N=>{D=Math.max(N.duration+N.delay,D)}),s.length?O7(t,this._triggerName,r,u,F,p,g,[],[],C,A,D,s):(a.forEach(N=>{let k=N.element,I=Pr(C,k,new Set);N.preStyleProps.forEach(w=>I.add(w));let B=Pr(A,k,new Set);N.postStyleProps.forEach(w=>B.add(w)),k!==t&&E.add(k)}),O7(t,this._triggerName,r,u,F,p,g,a,[...E.values()],C,A,D))}};function tDe(e,t,r,u,i){return e.some(o=>o(t,r,u,i))}function KC(e,t){let r=Fu({},t);return Object.entries(e).forEach(([u,i])=>{i!=null&&(r[u]=i)}),r}var uDe=class{constructor(e,t,r){this.styles=e,this.defaultParams=t,this.normalizer=r}buildStyles(e,t){let r=new Map,u=KC(e,this.defaultParams);return this.styles.styles.forEach(i=>{typeof i!="string"&&i.forEach((o,l)=>{o&&(o=gc(o,u,t));let d=this.normalizer.normalizePropertyName(l,t);o=this.normalizer.normalizeStyleValue(l,d,o,t),r.set(l,o)})}),r}};function iDe(e,t,r){return new nDe(e,t,r)}var nDe=class{constructor(e,t,r){this.name=e,this.ast=t,this._normalizer=r,this.transitionFactories=[],this.states=new Map,t.states.forEach(u=>{let i=u.options&&u.options.params||{};this.states.set(u.name,new uDe(u.style,i,r))}),R7(this.states,"true","1"),R7(this.states,"false","0"),t.transitions.forEach(u=>{this.transitionFactories.push(new YC(e,u,this.states))}),this.fallbackTransition=rDe(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,u){return this.transitionFactories.find(i=>i.match(e,t,r,u))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}};function rDe(e,t,r){let u=[(l,d)=>!0],i={type:ui.Sequence,steps:[],options:null},o={type:ui.Transition,animation:i,matchers:u,options:null,queryCount:0,depCount:0};return new YC(e,o,t)}function R7(e,t,r){e.has(t)?e.has(r)||e.set(r,e.get(t)):e.has(r)&&e.set(t,e.get(r))}var aDe=new mp,oDe=class{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let r=[],u=[],i=WC(this._driver,t,r,u);if(r.length)throw dAe();u.length,this._animations.set(e,i)}_buildPlayer(e,t,r){let u=e.element,i=MC(this._normalizer,e.keyframes,t,r);return this._driver.animate(u,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){let u=[],i=this._animations.get(e),o,l=new Map;if(i?(o=qC(this._driver,t,i,jC,l6,new Map,new Map,r,aDe,u),o.forEach(h=>{let s=Pr(l,h.element,new Map);h.postStyleProps.forEach(c=>s.set(c,null))})):(u.push(hAe()),o=[]),u.length)throw fAe();l.forEach((h,s)=>{h.forEach((c,f)=>{h.set(f,this._driver.computeStyle(s,f,Ua))})});let d=o.map(h=>{let s=l.get(h.element);return this._buildPlayer(h,new Map,s)}),n=mo(d);return this._playersById.set(e,n),n.onDestroy(()=>this.destroy(e)),this.players.push(n),n}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw pAe();return t}listen(e,t,r,u){let i=lp(t,"","","");return sp(this._getPlayer(e),r,i,u),()=>{}}command(e,t,r,u){if(r=="register"){this.register(e,u[0]);return}if(r=="create"){let o=u[0]||{};this.create(e,t,o);return}let i=this._getPlayer(e);switch(r){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(u[0]));break;case"destroy":this.destroy(e);break}}},M7="ng-animate-queued",sDe=".ng-animate-queued",X1="ng-animate-disabled",lDe=".ng-animate-disabled",cDe="ng-star-inserted",dDe=".ng-star-inserted",hDe=[],JC={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},fDe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ta="__ng_removed",f6=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let r=e&&e.hasOwnProperty("value"),u=r?e.value:e;if(this.value=CDe(u),r){let i=e,{value:o}=i,l=r5e(i,["value"]);this.options=l}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let r=this.options.params;Object.keys(t).forEach(u=>{r[u]==null&&(r[u]=t[u])})}}},Yl="void",Z1=new f6(Yl),pDe=class{constructor(e,t,r){this.id=e,this.hostElement=t,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Ur(t,this._hostClassName)}listen(e,t,r,u){if(!this._triggers.has(t))throw mAe();if(r==null||r.length==0)throw gAe();if(!EDe(r))throw CAe();let i=Pr(this._elementListeners,e,[]),o={name:t,phase:r,callback:u};i.push(o);let l=Pr(this._engine.statesByElement,e,new Map);return l.has(t)||(Ur(e,V0),Ur(e,V0+"-"+t),l.set(t,Z1)),()=>{this._engine.afterFlush(()=>{let d=i.indexOf(o);d>=0&&i.splice(d,1),this._triggers.has(t)||l.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw EAe();return t}trigger(e,t,r,u=!0){let i=this._getTrigger(t),o=new p6(this.id,t,e),l=this._engine.statesByElement.get(e);l||(Ur(e,V0),Ur(e,V0+"-"+t),this._engine.statesByElement.set(e,l=new Map));let d=l.get(t),n=new f6(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&d&&n.absorbOptions(d.options),l.set(t,n),d||(d=Z1),n.value!==Yl&&d.value===n.value){if(!DDe(d.params,n.params)){let f=[],p=i.matchStyles(d.value,d.params,f),m=i.matchStyles(n.value,n.params,f);f.length?this._engine.reportError(f):this._engine.afterFlush(()=>{Jo(e,p),Aa(e,m)})}return}let h=Pr(this._engine.playersByElement,e,[]);h.forEach(f=>{f.namespaceId==this.id&&f.triggerName==t&&f.queued&&f.destroy()});let s=i.matchTransition(d.value,n.value,e,n.params),c=!1;if(!s){if(!u)return;s=i.fallbackTransition,c=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:s,fromState:d,toState:n,player:o,isFallbackTransition:c}),c||(Ur(e,M7),o.onStart(()=>{Is(e,M7)})),o.onDone(()=>{let f=this.players.indexOf(o);f>=0&&this.players.splice(f,1);let p=this._engine.playersByElement.get(e);if(p){let m=p.indexOf(o);m>=0&&p.splice(m,1)}}),this.players.push(o),h.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(u=>u.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let r=this._engine.driver.query(e,Vd,!0);r.forEach(u=>{if(u[ta])return;let i=this._engine.fetchNamespacesByElement(u);i.size?i.forEach(o=>o.triggerLeaveAnimation(u,t,!1,!0)):this.clearElementCache(u)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(u=>this.clearElementCache(u)))}triggerLeaveAnimation(e,t,r,u){let i=this._engine.statesByElement.get(e),o=new Map;if(i){let l=[];if(i.forEach((d,n)=>{if(o.set(n,d.value),this._triggers.has(n)){let h=this.trigger(e,n,Yl,u);h&&l.push(h)}}),l.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),r&&mo(l).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){let u=new Set;t.forEach(i=>{let o=i.name;if(u.has(o))return;u.add(o);let l=this._triggers.get(o).fallbackTransition,d=r.get(o)||Z1,n=new f6(Yl),h=new p6(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:d,toState:n,player:h,isFallbackTransition:!0})})}}removeNode(e,t){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let u=!1;if(r.totalAnimations){let i=r.players.length?r.playersByQueriedElement.get(e):[];if(i&&i.length)u=!0;else{let o=e;for(;o=o.parentNode;)if(r.statesByElement.get(o)){u=!0;break}}}if(this.prepareLeaveAnimationListeners(e),u)r.markElementAsRemoved(this.id,e,!1,t);else{let i=e[ta];(!i||i===JC)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){Ur(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(r=>{let u=r.player;if(u.destroyed)return;let i=r.element,o=this._elementListeners.get(i);o&&o.forEach(l=>{if(l.name==r.triggerName){let d=lp(i,r.triggerName,r.fromState.value,r.toState.value);d._data=e,sp(r.player,l.phase,d,l.callback)}}),u.markedForDestroy?this._engine.afterFlush(()=>{u.destroy()}):t.push(r)}),this._queue=[],t.sort((r,u)=>{let i=r.transition.ast.depCount,o=u.transition.ast.depCount;return i==0||o==0?i-o:this._engine.driver.containsElement(r.element,u.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},mDe=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,r,u){this.bodyNode=e,this.driver=t,this._normalizer=r,this.scheduler=u,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,t){let r=new pDe(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){let r=this._namespaceList,u=this.namespacesByHostElement;if(r.length-1>=0){let i=!1,o=this.driver.getParentElement(t);for(;o;){let l=u.get(o);if(l){let d=r.indexOf(l);r.splice(d+1,0,e),i=!0;break}o=this.driver.getParentElement(o)}i||r.unshift(e)}else r.push(e);return u.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let u=this._namespaceLookup[e];u&&u.register(t,r)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let u=this._namespaceList.indexOf(r);u>=0&&this._namespaceList.splice(u,1),r.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,r=this.statesByElement.get(e);if(r){for(let u of r.values())if(u.namespaceId){let i=this._fetchNamespace(u.namespaceId);i&&t.add(i)}}return t}trigger(e,t,r,u){if(H0(t)){let i=this._fetchNamespace(e);if(i)return i.trigger(t,r,u),!0}return!1}insertNode(e,t,r,u){if(!H0(t))return;let i=t[ta];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;let o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(t,r)}u&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ur(e,X1)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Is(e,X1))}removeNode(e,t,r){var u;if(H0(t)){(u=this.scheduler)==null||u.notify();let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r);let o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,r,u,i){this.collectedLeaveElements.push(t),t[ta]={namespaceId:e,setForRemoval:u,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:i}}listen(e,t,r,u,i){return H0(t)?this._fetchNamespace(e).listen(t,r,u,i):()=>{}}_buildInstruction(e,t,r,u,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,u,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,Vd,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,c6,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return mo(this.players).onDone(()=>e());e()})}processLeaveNode(e){var r;let t=e[ta];if(t&&t.setForRemoval){if(e[ta]=JC,t.namespaceId){this.destroyInnerAnimations(e);let u=this._fetchNamespace(t.namespaceId);u&&u.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(r=e.classList)!=null&&r.contains(X1)&&this.markElementAsDisabled(e,!1),this.driver.query(e,lDe,!0).forEach(u=>{this.markElementAsDisabled(u,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,u)=>this._balanceNamespaceList(r,u)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let u=this.collectedEnterElements[r];Ur(u,cDe)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{t=this._flushAnimations(r,e)}finally{for(let u=0;u<r.length;u++)r[u]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let u=this.collectedLeaveElements[r];this.processLeaveNode(u)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],t.length?mo(t).onDone(()=>{r.forEach(u=>u())}):r.forEach(u=>u())}}reportError(e){throw FAe()}_flushAnimations(e,t){let r=new mp,u=[],i=new Map,o=[],l=new Map,d=new Map,n=new Map,h=new Set;this.disabledNodes.forEach(_=>{h.add(_);let S=this.driver.query(_,sDe,!0);for(let R=0;R<S.length;R++)h.add(S[R])});let s=this.bodyNode,c=Array.from(this.statesByElement.keys()),f=z7(c,this.collectedEnterElements),p=new Map,m=0;f.forEach((_,S)=>{let R=jC+m++;p.set(S,R),_.forEach(z=>Ur(z,R))});let g=[],E=new Set,C=new Set;for(let _=0;_<this.collectedLeaveElements.length;_++){let S=this.collectedLeaveElements[_],R=S[ta];R&&R.setForRemoval&&(g.push(S),E.add(S),R.hasAnimation?this.driver.query(S,dDe,!0).forEach(z=>E.add(z)):C.add(S))}let A=new Map,F=z7(c,Array.from(E));F.forEach((_,S)=>{let R=l6+m++;A.set(S,R),_.forEach(z=>Ur(z,R))}),e.push(()=>{f.forEach((_,S)=>{let R=p.get(S);_.forEach(z=>Is(z,R))}),F.forEach((_,S)=>{let R=A.get(S);_.forEach(z=>Is(z,R))}),g.forEach(_=>{this.processLeaveNode(_)})});let v=[],a=[];for(let _=this._namespaceList.length-1;_>=0;_--)this._namespaceList[_].drainQueuedTransitions(t).forEach(S=>{let R=S.player,z=S.element;if(v.push(R),this.collectedEnterElements.length){let Pe=z[ta];if(Pe&&Pe.setForMove){if(Pe.previousTriggersValues&&Pe.previousTriggersValues.has(S.triggerName)){let Ne=Pe.previousTriggersValues.get(S.triggerName),Ie=this.statesByElement.get(S.element);if(Ie&&Ie.has(S.triggerName)){let Ye=Ie.get(S.triggerName);Ye.value=Ne,Ie.set(S.triggerName,Ye)}}R.destroy();return}}let j=!s||!this.driver.containsElement(s,z),ue=A.get(z),pe=p.get(z),le=this._buildInstruction(S,r,pe,ue,j);if(le.errors&&le.errors.length){a.push(le);return}if(j){R.onStart(()=>Jo(z,le.fromStyles)),R.onDestroy(()=>Aa(z,le.toStyles)),u.push(R);return}if(S.isFallbackTransition){R.onStart(()=>Jo(z,le.fromStyles)),R.onDestroy(()=>Aa(z,le.toStyles)),u.push(R);return}let fe=[];le.timelines.forEach(Pe=>{Pe.stretchStartingKeyframe=!0,this.disabledNodes.has(Pe.element)||fe.push(Pe)}),le.timelines=fe,r.append(z,le.timelines);let we={instruction:le,player:R,element:z};o.push(we),le.queriedElements.forEach(Pe=>Pr(l,Pe,[]).push(R)),le.preStyleProps.forEach((Pe,Ne)=>{if(Pe.size){let Ie=d.get(Ne);Ie||d.set(Ne,Ie=new Set),Pe.forEach((Ye,ze)=>Ie.add(ze))}}),le.postStyleProps.forEach((Pe,Ne)=>{let Ie=n.get(Ne);Ie||n.set(Ne,Ie=new Set),Pe.forEach((Ye,ze)=>Ie.add(ze))})});if(a.length){let _=[];a.forEach(S=>{_.push(AAe(S.triggerName,S.errors))}),v.forEach(S=>S.destroy()),this.reportError(_)}let D=new Map,x=new Map;o.forEach(_=>{let S=_.element;r.has(S)&&(x.set(S,S),this._beforeAnimationBuild(_.player.namespaceId,_.instruction,D))}),u.forEach(_=>{let S=_.element;this._getPreviousPlayers(S,!1,_.namespaceId,_.triggerName,null).forEach(R=>{Pr(D,S,[]).push(R),R.destroy()})});let N=g.filter(_=>V7(_,d,n)),k=new Map;L7(k,this.driver,C,n,Ua).forEach(_=>{V7(_,d,n)&&N.push(_)});let I=new Map;f.forEach((_,S)=>{L7(I,this.driver,new Set(_),d,Tf)}),N.forEach(_=>{let S=k.get(_),R=I.get(_);k.set(_,new Map([...(S==null?void 0:S.entries())??[],...(R==null?void 0:R.entries())??[]]))});let B=[],w=[],b={};o.forEach(_=>{let{element:S,player:R,instruction:z}=_;if(r.has(S)){if(h.has(S)){R.onDestroy(()=>Aa(S,z.toStyles)),R.disabled=!0,R.overrideTotalTime(z.totalTime),u.push(R);return}let j=b;if(x.size>1){let pe=S,le=[];for(;pe=pe.parentNode;){let fe=x.get(pe);if(fe){j=fe;break}le.push(pe)}le.forEach(fe=>x.set(fe,j))}let ue=this._buildAnimation(R.namespaceId,z,D,i,I,k);if(R.setRealPlayer(ue),j===b)B.push(R);else{let pe=this.playersByElement.get(j);pe&&pe.length&&(R.parentPlayer=mo(pe)),u.push(R)}}else Jo(S,z.fromStyles),R.onDestroy(()=>Aa(S,z.toStyles)),w.push(R),h.has(S)&&u.push(R)}),w.forEach(_=>{let S=i.get(_.element);if(S&&S.length){let R=mo(S);_.setRealPlayer(R)}}),u.forEach(_=>{_.parentPlayer?_.syncPlayerEvents(_.parentPlayer):_.destroy()});for(let _=0;_<g.length;_++){let S=g[_],R=S[ta];if(Is(S,l6),R&&R.hasAnimation)continue;let z=[];if(l.size){let ue=l.get(S);ue&&ue.length&&z.push(...ue);let pe=this.driver.query(S,c6,!0);for(let le=0;le<pe.length;le++){let fe=l.get(pe[le]);fe&&fe.length&&z.push(...fe)}}let j=z.filter(ue=>!ue.destroyed);j.length?FDe(this,S,j):this.processLeaveNode(S)}return g.length=0,B.forEach(_=>{this.players.push(_),_.onDone(()=>{_.destroy();let S=this.players.indexOf(_);this.players.splice(S,1)}),_.play()}),B}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,u,i){let o=[];if(t){let l=this.playersByQueriedElement.get(e);l&&(o=l)}else{let l=this.playersByElement.get(e);if(l){let d=!i||i==Yl;l.forEach(n=>{n.queued||!d&&n.triggerName!=u||o.push(n)})}}return(r||u)&&(o=o.filter(l=>!(r&&r!=l.namespaceId||u&&u!=l.triggerName))),o}_beforeAnimationBuild(e,t,r){let u=t.triggerName,i=t.element,o=t.isRemovalTransition?void 0:e,l=t.isRemovalTransition?void 0:u;for(let d of t.timelines){let n=d.element,h=n!==i,s=Pr(r,n,[]);this._getPreviousPlayers(n,h,o,l,t.toState).forEach(c=>{let f=c.getRealPlayer();f.beforeDestroy&&f.beforeDestroy(),c.destroy(),s.push(c)})}Jo(i,t.fromStyles)}_buildAnimation(e,t,r,u,i,o){let l=t.triggerName,d=t.element,n=[],h=new Set,s=new Set,c=t.timelines.map(p=>{let m=p.element;h.add(m);let g=m[ta];if(g&&g.removedBeforeQueried)return new pc(p.duration,p.delay);let E=m!==d,C=ADe((r.get(m)||hDe).map(D=>D.getRealPlayer())).filter(D=>{let x=D;return x.element?x.element===m:!1}),A=i.get(m),F=o.get(m),v=MC(this._normalizer,p.keyframes,A,F),a=this._buildPlayer(p,v,C);if(p.subTimeline&&u&&s.add(m),E){let D=new p6(e,l,m);D.setRealPlayer(a),n.push(D)}return a});n.forEach(p=>{Pr(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>gDe(this.playersByQueriedElement,p.element,p))}),h.forEach(p=>Ur(p,k7));let f=mo(c);return f.onDestroy(()=>{h.forEach(p=>Is(p,k7)),Aa(d,t.toStyles)}),s.forEach(p=>{Pr(u,p,[]).push(f)}),f}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new pc(e.duration,e.delay)}},p6=class{constructor(e,t,r){this.namespaceId=e,this.triggerName=t,this.element=r,this._player=new pc,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,r)=>{t.forEach(u=>sp(e,r,void 0,u))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Pr(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function gDe(e,t,r){let u=e.get(t);if(u){if(u.length){let i=u.indexOf(r);u.splice(i,1)}u.length==0&&e.delete(t)}return u}function CDe(e){return e??null}function H0(e){return e&&e.nodeType===1}function EDe(e){return e=="start"||e=="done"}function N7(e,t){let r=e.style.display;return e.style.display=t??"none",r}function L7(e,t,r,u,i){let o=[];r.forEach(n=>o.push(N7(n)));let l=[];u.forEach((n,h)=>{let s=new Map;n.forEach(c=>{let f=t.computeStyle(h,c,i);s.set(c,f),(!f||f.length==0)&&(h[ta]=fDe,l.push(h))}),e.set(h,s)});let d=0;return r.forEach(n=>N7(n,o[d++])),l}function z7(e,t){let r=new Map;if(e.forEach(d=>r.set(d,[])),t.length==0)return r;let u=1,i=new Set(t),o=new Map;function l(d){if(!d)return u;let n=o.get(d);if(n)return n;let h=d.parentNode;return r.has(h)?n=h:i.has(h)?n=u:n=l(h),o.set(d,n),n}return t.forEach(d=>{let n=l(d);n!==u&&r.get(n).push(d)}),r}function Ur(e,t){var r;(r=e.classList)==null||r.add(t)}function Is(e,t){var r;(r=e.classList)==null||r.remove(t)}function FDe(e,t,r){mo(r).onDone(()=>e.processLeaveNode(t))}function ADe(e){let t=[];return QC(e,t),t}function QC(e,t){for(let r=0;r<e.length;r++){let u=e[r];u instanceof Og?QC(u.players,t):t.push(u)}}function DDe(e,t){let r=Object.keys(e),u=Object.keys(t);if(r.length!=u.length)return!1;for(let i=0;i<r.length;i++){let o=r[i];if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}function V7(e,t,r){let u=r.get(e);if(!u)return!1;let i=t.get(e);return i?u.forEach(o=>i.add(o)):t.set(e,u),r.delete(e),!0}var m6=class{constructor(e,t,r,u){this._driver=t,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new mDe(e.body,t,r,u),this._timelineEngine=new oDe(e.body,t,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,t,r,u,i){let o=e+"-"+u,l=this._triggerCache[o];if(!l){let d=[],n=[],h=WC(this._driver,i,d,n);if(d.length)throw lAe();n.length,l=iDe(u,h,this._normalizer),this._triggerCache[o]=l}this._transitionEngine.registerTrigger(t,u,l)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,r,u){this._transitionEngine.insertNode(e,t,r,u)}onRemove(e,t,r){this._transitionEngine.removeNode(e,t,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,u){if(r.charAt(0)=="@"){let[i,o]=w7(r),l=u;this._timelineEngine.command(i,t,o,l)}else this._transitionEngine.trigger(e,t,r,u)}listen(e,t,r,u,i){if(r.charAt(0)=="@"){let[o,l]=w7(r);return this._timelineEngine.listen(o,t,l,i)}return this._transitionEngine.listen(e,t,r,u,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function vDe(e,t){let r=null,u=null;return Array.isArray(t)&&t.length?(r=Y1(t[0]),t.length>1&&(u=Y1(t[t.length-1]))):t instanceof Map&&(r=Y1(t)),r||u?new BDe(e,r,u):null}var Wa,BDe=(Wa=class{constructor(t,r,u){this._element=t,this._startStyles=r,this._endStyles=u,this._state=0;let i=Wa.initialStylesByElement.get(t);i||Wa.initialStylesByElement.set(t,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Aa(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Aa(this._element,this._initialStyles),this._endStyles&&(Aa(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Wa.initialStylesByElement.delete(this._element),this._startStyles&&(Jo(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Jo(this._element,this._endStyles),this._endStyles=null),Aa(this._element,this._initialStyles),this._state=3)}},Wa.initialStylesByElement=new WeakMap,Wa);function Y1(e){let t=null;return e.forEach((r,u)=>{yDe(u)&&(t=t||new Map,t.set(u,r))}),t}function yDe(e){return e==="display"||e==="position"}var j7=class{constructor(e,t,r,u){this.element=e,this.keyframes=t,this.options=r,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(e,t,r){return e.animate(this._convertKeyframesToObject(t),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,r)=>{r!=="offset"&&e.set(r,this._finished?t:fp(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},bDe=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return NC(e,t)}getParentElement(e){return cp(e)}query(e,t,r){return LC(e,t,r)}computeStyle(e,t,r){return fp(e,t)}animate(e,t,r,u,i,o=[]){let l=u==0?"both":"forwards",d={duration:r,delay:u,fill:l};i&&(d.easing=i);let n=new Map,h=o.filter(f=>f instanceof j7);PAe(r,u)&&h.forEach(f=>{f.currentSnapshot.forEach((p,m)=>n.set(m,p))});let s=SAe(t).map(f=>new Map(f));s=TAe(e,s,n);let c=vDe(e,s);return new j7(e,s,d,c)}},rd="@",$C="@.disabled",eE=class{constructor(e,t,r,u){this.namespaceId=e,this.delegate=t,this.engine=r,this._onDestroy=u,this.ɵtype=0}get data(){return this.delegate.data}destroyNode(e){var t,r;(r=(t=this.delegate).destroyNode)==null||r.call(t,e)}destroy(){var e;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),(e=this._onDestroy)==null||e.call(this)}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,r,u=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,u)}removeChild(e,t,r){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,r,u){this.delegate.setAttribute(e,t,r,u)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,u){this.delegate.setStyle(e,t,r,u)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){t.charAt(0)==rd&&t==$C?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r){return this.delegate.listen(e,t,r)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},xDe=class extends eE{constructor(e,t,r,u,i){super(t,r,u,i),this.factory=e,this.namespaceId=t}setProperty(e,t,r){t.charAt(0)==rd?t.charAt(1)=="."&&t==$C?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,t.slice(1),r):this.delegate.setProperty(e,t,r)}listen(e,t,r){if(t.charAt(0)==rd){let u=_De(e),i=t.slice(1),o="";return i.charAt(0)!=rd&&([i,o]=wDe(i)),this.engine.listen(this.namespaceId,u,i,o,l=>{let d=l._data||-1;this.factory.scheduleListenerCallback(d,r,l)})}return this.delegate.listen(e,t,r)}};function _De(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function wDe(e){let t=e.indexOf("."),r=e.substring(0,t),u=e.slice(t+1);return[r,u]}var SDe=class{constructor(e,t,r){this.delegate=e,this.engine=t,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(u,i)=>{let o=i==null?void 0:i.parentNode(u);o&&i.removeChild(o,u)}}createRenderer(e,t){var d;let r="",u=this.delegate.createRenderer(e,t);if(!e||!((d=t==null?void 0:t.data)!=null&&d.animation)){let n=this._rendererCache,h=n.get(u);if(!h){let s=()=>n.delete(u);h=new eE(r,u,this.engine,s),n.set(u,h)}return h}let i=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let l=n=>{Array.isArray(n)?n.forEach(l):this.engine.registerTrigger(i,o,e,n.name,n)};return t.data.animation.forEach(l),new xDe(this,o,u,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(r));return}let u=this._animationCallbacksBuffer;u.length==0&&queueMicrotask(()=>{this._zone.run(()=>{u.forEach(i=>{let[o,l]=i;o(l)}),this._animationCallbacksBuffer=[]})}),u.push([t,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}},kDe=(()=>{const t=class t extends m6{constructor(u,i,o){super(u,i,o,Xt(c3,{optional:!0}))}ngOnDestroy(){this.flush()}};t.ɵfac=function(u){return new(u||t)(It(hi),It(zC),It(dp))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})();function IDe(){return new RAe}function PDe(e,t,r){return new SDe(e,t,r)}var TDe=[{provide:dp,useFactory:IDe},{provide:m6,useClass:kDe},{provide:gf,useFactory:PDe,deps:[t6,m6,ri]}],ODe=[{provide:zC,useFactory:()=>new bDe},{provide:Jr,useValue:"BrowserAnimations"},...TDe];function gp(){return Nc("NgEagerAnimations"),[...ODe]}var RDe=Fc(j5e(),1),MDe=new iu("MESSAGE_FORMAT_CONFIG"),NDe={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},Cp=(()=>{const t=class t extends Bo{constructor(u){super(),this.mfCache=new Map;let{formatters:i,biDiSupport:o,strictNumberSign:l,currency:d,strictPluralKeys:n,throwOnError:h,fallbackPrefix:s}=Fu(Fu({},NDe),u);this.messageFormatOptions={customFormatters:i,biDiSupport:o,strict:l,currency:d,strictPluralKeys:n},this.throwOnError=!!h,this.fallbackPrefix=s}compile(u,i){if(this.fallbackPrefix&&u.startsWith(this.fallbackPrefix))return u.slice(this.fallbackPrefix.length);let o;try{o=this.getMessageFormatInstance(i).compile(u)}catch(l){if(this.throwOnError)throw l;console.error(l),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${i}': '${u}'`),o=zDe(u,i)}return this.throwOnError||(o=LDe(o,u)),o}compileTranslations(u,i){return typeof u=="string"?this.compile(u,i):Object.keys(u).reduce((o,l)=>{let d=u[l];return o[l]=this.compileTranslations(d,i),o},{})}getMessageFormatInstance(u){return this.mfCache.has(u)||this.mfCache.set(u,new RDe.default(u,this.messageFormatOptions)),this.mfCache.get(u)}};t.ɵfac=function(u){return new(u||t)(It(MDe,8))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})();function LDe(e,t){return r=>{let u=t;try{u=e(r)}catch(i){console.error(i),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${r}'`)}return u}}function zDe(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var tE={};du(tE,{"00001":()=>uE,"00002":()=>iE,"00003":()=>nE,"00004":()=>rE,"00005":()=>aE,"00006":()=>oE,"00007":()=>sE,"00008":()=>lE,"00009":()=>cE,"00010":()=>dE,"00011":()=>hE,"00012":()=>fE,"00013":()=>pE,"00014":()=>mE,"00015":()=>gE,"00016":()=>CE,"00017":()=>EE,"00018":()=>FE,"00019":()=>AE,"00020":()=>DE,"00021":()=>vE,"00022":()=>BE,"00023":()=>yE,"00024":()=>bE,"00025":()=>xE,"00026":()=>_E,"00027":()=>wE,"00028":()=>SE,"00029":()=>kE,"00030":()=>IE,ampoule:()=>iF,bandage:()=>QE,bottle:()=>nF,box:()=>eF,cm:()=>PE,default:()=>VDe,dropsperminute:()=>TE,"effervescent-tablet":()=>KE,gm:()=>OE,internationalunits:()=>RE,iu:()=>ZE,liter:()=>tF,"mck/h":()=>ME,"mck/kg/minute":()=>NE,measure:()=>LE,meq:()=>GE,mg:()=>WE,"mg/h":()=>zE,"mg/ml":()=>qE,micrograms:()=>JE,miu:()=>XE,"ml/h":()=>VE,mmol:()=>YE,piece:()=>$E,syringe:()=>uF,"syringe-ampoule":()=>rF,tbl:()=>jE,tsp:()=>UE,"unt/h":()=>HE});var uE="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",iE="{count, plural, one{Ampulle} other{Ampullen}}",nE="anwenden",rE="{count, plural, one{Kapsel} other{Kapseln}}",aE="{count, plural, one{Tablette} other{Tabletten}}",oE="Dosis",sE="{count, plural, one{Tropf} other{Tropfen}}",lE="{count, plural, one{Fläsche} other{Fläschchen}}",cE="{count, plural, one{Implantat} other{Implantate}}",dE="{count, plural, one{Infusion} other{Infusionen}}",hE="{count, plural, one{Inhalation} other{Inhalationen}}",fE="Einstechen",pE="Kaugummi",mE="{count, plural, one{Kompresse} other{Kompressen}}",gE="{count, plural, one{Einlauf} other{Einläufe}}",CE="ml",EE="Ov.",FE="{count, plural, one{Perle} other{Perlen}}",AE="{count, plural, one{Pastille} other{Pastillen}}",DE="Pflaster",vE="cart",BE="Pen",yE="{count, plural, one{Puff} other{Puffs}}",bE="{count, plural, one{Schwamm} other{Schwämme}}",xE="{count, plural, one{Stift} other{Stifte}}",_E="Suppo",wE="Tube",SE="{count, plural, one{Docht} other{Dochte}}",kE="Beutel",IE="Beutel",PE="Zentimeter",TE="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",OE="Gramm",RE="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",ME="Mikrogramm pro Stunde",NE="Mikrogramm pro Kilogramm pro Minute",LE="Maß",zE="Miligramm pro Stunde",VE="Milliliter pro Stunde",jE="Esslöffel",UE="Kaffeelöffel",HE="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",WE="Milligramm",qE="Milligramm pro Millimeter",GE="meq",XE="miu",ZE="iu",YE="mmol",KE="effervescent-tablet",JE="micrograms",QE="{count, plural, one{bandage} other{bandagen}}",$E="{count, plural, one{stück} other{stücke}}",eF="schachteln",tF="liter",uF="{count, plural, one{spritze} other{spritzen}}",iF="{count, plural, one{glühbirn} other{glühbirnen}}",nF="{count, plural, one{Fläsche} other{Fläschchen}}",rF="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",VDe={"00001":uE,"00002":iE,"00003":nE,"00004":rE,"00005":aE,"00006":oE,"00007":sE,"00008":lE,"00009":cE,"00010":dE,"00011":hE,"00012":fE,"00013":pE,"00014":mE,"00015":gE,"00016":CE,"00017":EE,"00018":FE,"00019":AE,"00020":DE,"00021":vE,"00022":BE,"00023":yE,"00024":bE,"00025":xE,"00026":_E,"00027":wE,"00028":SE,"00029":kE,"00030":IE,cm:PE,dropsperminute:TE,gm:OE,internationalunits:RE,"mck/h":ME,"mck/kg/minute":NE,measure:LE,"mg/h":zE,"ml/h":VE,tbl:jE,tsp:UE,"unt/h":HE,mg:WE,"mg/ml":qE,meq:GE,miu:XE,iu:ZE,mmol:YE,"effervescent-tablet":KE,micrograms:JE,bandage:QE,piece:$E,box:eF,liter:tF,syringe:uF,ampoule:iF,bottle:nF,"syringe-ampoule":rF},aF={};du(aF,{"00001":()=>oF,"00002":()=>sF,"00003":()=>lF,"00004":()=>cF,"00005":()=>dF,"00006":()=>hF,"00007":()=>fF,"00008":()=>pF,"00009":()=>mF,"00010":()=>gF,"00011":()=>CF,"00012":()=>EF,"00013":()=>FF,"00014":()=>AF,"00015":()=>DF,"00016":()=>vF,"00017":()=>BF,"00018":()=>yF,"00019":()=>bF,"00020":()=>xF,"00021":()=>_F,"00022":()=>wF,"00023":()=>SF,"00024":()=>kF,"00025":()=>IF,"00026":()=>PF,"00027":()=>TF,"00028":()=>OF,"00029":()=>RF,"00030":()=>MF,ampoule:()=>sA,bandage:()=>iA,bottle:()=>lA,box:()=>rA,cm:()=>NF,default:()=>jDe,dropsperminute:()=>LF,"effervescent-tablet":()=>tA,gm:()=>zF,internationalunits:()=>VF,iu:()=>$F,liter:()=>aA,"mck/h":()=>jF,"mck/kg/minute":()=>UF,measure:()=>HF,meq:()=>JF,mg:()=>YF,"mg/h":()=>WF,"mg/ml":()=>KF,micrograms:()=>uA,miu:()=>QF,"ml/h":()=>qF,mmol:()=>eA,piece:()=>nA,syringe:()=>oA,"syringe-ampoule":()=>cA,tbl:()=>GF,tsp:()=>XF,"unt/h":()=>ZF});var oF="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",sF="{count, plural, one{ampoule} other{ampoules}}",lF="applic.",cF="{count, plural, one{capsule} other{capsules}}",dF="{count, plural, one{tablet} other{tablets}}",hF="{count, plural, one{dose} other{doses}}",fF="{count, plural, one{drop} other{drops}}",pF="{count, plural, one{bottle} other{bottles}}",mF="{count, plural, one{implant} other{implants}}",gF="{count, plural, one{perfusion} other{perfusions}}",CF="{count, plural, one{inhalation} other{inhalations}}",EF="insert",FF="{count, plural, one{chewing gum} other{chewing gums}}",AF="{count, plural, one{compress} other{compresses}}",DF="enema",vF="ml",BF="{count, plural, one{ovule} other{ovules}}",yF="{count, plural, one{pearl} other{pearls}}",bF="{count, plural, one{pastille} other{pastilles}}",xF="{count, plural, one{patch} other{patches}}",_F="{count, plural, one{cartridge} other{cartridges}}",wF="{count, plural, one{pen} other{pens}}",SF="{count, plural, one{puff} other{puffs}}",kF="{count, plural, one{sponge} other{sponges}}",IF="{count, plural, one{stylo} other{stylos}}",PF="{count, plural, one{supository} other{supositories}}",TF="{count, plural, one{tube} other{tubes}}",OF="{count, plural, one{wick} other{wicks}}",RF="{count, plural, one{bag} other{bags}}",MF="{count, plural, one{small bag} other{small bags}}",NF="centimeter",LF="{count, plural, one{drop per minute} other{drops per minute}}",zF="gram",VF="international units",jF="microgram per hour",UF="microgram per kilogram per minute",HF="{count, plural, one{measure} other{measures}}",WF="milligram per hour",qF="milliliter per hour",GF="{count, plural, one{tablespoon} other{tablespoons}}",XF="{count, plural, one{teaspoon} other{teaspoons}}",ZF="{count, plural, one{unit per hour} other{units per hour}}",YF="milligram",KF="milligram per milliliter",JF="milli-equivalent",QF="miu",$F="international units",eA="millimole",tA="{count, plural, one{effervescent tablet} other{effervescent tablets}}",uA="microgram",iA="{count, plural, one{bandage} other{bandages}}",nA="{count, plural, one{piece} other{pieces}}",rA="{count, plural, one{spray} other{sprays}}",aA="liter",oA="{count, plural, one{syringe} other{syringes}}",sA="{count, plural, one{ampoule} other{ampoules}}",lA="{count, plural, one{bottle} other{bottles}}",cA="{count, plural, one{syringe ampoule} other{syringe ampoules}}",jDe={"00001":oF,"00002":sF,"00003":lF,"00004":cF,"00005":dF,"00006":hF,"00007":fF,"00008":pF,"00009":mF,"00010":gF,"00011":CF,"00012":EF,"00013":FF,"00014":AF,"00015":DF,"00016":vF,"00017":BF,"00018":yF,"00019":bF,"00020":xF,"00021":_F,"00022":wF,"00023":SF,"00024":kF,"00025":IF,"00026":PF,"00027":TF,"00028":OF,"00029":RF,"00030":MF,cm:NF,dropsperminute:LF,gm:zF,internationalunits:VF,"mck/h":jF,"mck/kg/minute":UF,measure:HF,"mg/h":WF,"ml/h":qF,tbl:GF,tsp:XF,"unt/h":ZF,mg:YF,"mg/ml":KF,meq:JF,miu:QF,iu:$F,mmol:eA,"effervescent-tablet":tA,micrograms:uA,bandage:iA,piece:nA,box:rA,liter:aA,syringe:oA,ampoule:sA,bottle:lA,"syringe-ampoule":cA},dA={};du(dA,{"00001":()=>hA,"00002":()=>fA,"00003":()=>pA,"00004":()=>mA,"00005":()=>gA,"00006":()=>CA,"00007":()=>EA,"00008":()=>FA,"00009":()=>AA,"00010":()=>DA,"00011":()=>vA,"00012":()=>BA,"00013":()=>yA,"00014":()=>bA,"00015":()=>xA,"00016":()=>_A,"00017":()=>wA,"00018":()=>SA,"00019":()=>kA,"00020":()=>IA,"00021":()=>PA,"00022":()=>TA,"00023":()=>OA,"00024":()=>RA,"00025":()=>MA,"00026":()=>NA,"00027":()=>LA,"00028":()=>zA,"00029":()=>VA,"00030":()=>jA,ampoule:()=>fD,bandage:()=>sD,bottle:()=>pD,box:()=>cD,cm:()=>UA,default:()=>UDe,dropsperminute:()=>HA,"effervescent-tablet":()=>aD,gm:()=>WA,internationalunits:()=>qA,iu:()=>nD,liter:()=>dD,"mck/h":()=>GA,"mck/kg/minute":()=>XA,measure:()=>ZA,meq:()=>uD,mg:()=>eD,"mg/h":()=>YA,"mg/ml":()=>tD,micrograms:()=>oD,miu:()=>iD,"ml/h":()=>KA,mmol:()=>rD,piece:()=>lD,syringe:()=>hD,"syringe-ampoule":()=>mD,tbl:()=>JA,tsp:()=>QA,"unt/h":()=>$A});var hA="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",fA="amp.",pA="applic.",mA="caps.",gA="compr.",CA="{count, plural, one{dose} other{doses}}",EA="{count, plural, one{goutte} other{gouttes}}",FA="flac.",AA="{count, plural, one{implant} other{implants}}",DA="{count, plural, one{perfusion} other{perfusions}}",vA="{count, plural, one{inhalation} other{inhalations}}",BA="insert",yA="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",bA="{count, plural, one{compres(se)} other{compres(ses)}}",xA="{count, plural, one{lavement} other{lavements}}",_A="ml",wA="ov.",SA="{count, plural, one{perle} other{perles}}",kA="{count, plural, one{pastille} other{pastilles}}",IA="{count, plural, one{patch} other{patchs}}",PA="patr.",TA="{count, plural, one{stylo} other{stylos}}",OA="{count, plural, one{puff} other{puffs}}",RA="{count, plural, one{éponge} other{éponges}}",MA="{count, plural, one{stylo} other{stylos}}",NA="suppo",LA="{count, plural, one{tube} other{tubes}}",zA="{count, plural, one{mèche} other{mèches}}",VA="{count, plural, one{sac} other{sacs}}",jA="{count, plural, one{sachet} other{sachets}}",UA="{count, plural, one{centimètre} other{centimètres}}",HA="{count, plural, one{goute par minute} other{goutes par minute}}",WA="{count, plural, one{gramme} other{grammes}}",qA="{count, plural, one{unité internationales} other{unités internationales}}",GA="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",XA="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",ZA="{count, plural, one{mesure} other{mesures}}",YA="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",KA="{count, plural, one{millilitre par heure} other{millilitres par heure}}",JA="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",QA="{count, plural, one{cuillère à café} other{cuillères à café}}",$A="{count, plural, one{unité par heure} other{unités par heure}}",eD="{count, plural, one{miligramme} other{miligrammes}}",tD="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",uD="milli-équivalent",iD="miu",nD="{count, plural, one{unité internationales} other{unités internationales}}",rD="millimol",aD="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",oD="{count, plural, one{microgramme} other{microgrammes}}",sD="{count, plural, one{bandage} other{bandages}}",lD="{count, plural, one{pièce} other{pièces}}",cD="{count, plural, one{vaporisateur} other{vaporisateurs}}",dD="{count, plural, one{litre} other{litres}}",hD="{count, plural, one{seringue} other{seringues}}",fD="{count, plural, one{ampoule} other{ampoules}}",pD="{count, plural, one{fiole} other{fioles}}",mD="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",UDe={"00001":hA,"00002":fA,"00003":pA,"00004":mA,"00005":gA,"00006":CA,"00007":EA,"00008":FA,"00009":AA,"00010":DA,"00011":vA,"00012":BA,"00013":yA,"00014":bA,"00015":xA,"00016":_A,"00017":wA,"00018":SA,"00019":kA,"00020":IA,"00021":PA,"00022":TA,"00023":OA,"00024":RA,"00025":MA,"00026":NA,"00027":LA,"00028":zA,"00029":VA,"00030":jA,cm:UA,dropsperminute:HA,gm:WA,internationalunits:qA,"mck/h":GA,"mck/kg/minute":XA,measure:ZA,"mg/h":YA,"ml/h":KA,tbl:JA,tsp:QA,"unt/h":$A,mg:eD,"mg/ml":tD,meq:uD,miu:iD,iu:nD,mmol:rD,"effervescent-tablet":aD,micrograms:oD,bandage:sD,piece:lD,box:cD,liter:dD,syringe:hD,ampoule:fD,bottle:pD,"syringe-ampoule":mD},gD={};du(gD,{"00001":()=>CD,"00002":()=>ED,"00003":()=>FD,"00004":()=>AD,"00005":()=>DD,"00006":()=>vD,"00007":()=>BD,"00008":()=>yD,"00009":()=>bD,"00010":()=>xD,"00011":()=>_D,"00012":()=>wD,"00013":()=>SD,"00014":()=>kD,"00015":()=>ID,"00016":()=>PD,"00017":()=>TD,"00018":()=>OD,"00019":()=>RD,"00020":()=>MD,"00021":()=>ND,"00022":()=>LD,"00023":()=>zD,"00024":()=>VD,"00025":()=>jD,"00026":()=>UD,"00027":()=>HD,"00028":()=>WD,"00029":()=>qD,"00030":()=>GD,ampoule:()=>Ev,bandage:()=>fv,bottle:()=>Fv,box:()=>mv,cm:()=>XD,default:()=>HDe,dropsperminute:()=>ZD,"effervescent-tablet":()=>dv,gm:()=>YD,internationalunits:()=>KD,iu:()=>lv,liter:()=>gv,"mck/h":()=>JD,"mck/kg/minute":()=>QD,measure:()=>$D,meq:()=>ov,mg:()=>rv,"mg/h":()=>ev,"mg/ml":()=>av,micrograms:()=>hv,miu:()=>sv,"ml/h":()=>tv,mmol:()=>cv,piece:()=>pv,syringe:()=>Cv,"syringe-ampoule":()=>Av,tbl:()=>uv,tsp:()=>iv,"unt/h":()=>nv});var CD="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",ED="{count, plural, one{ampule} other{ampullen}}",FD="aanbrengen",AD="{count, plural, one{capsule} other{capsules}}",DD="{count, plural, one{tablet} other{tabletten}}",vD="{count, plural, one{dose} other{dosissen}}",BD="{count, plural, one{druppel} other{druppels}}",yD="{count, plural, one{flesje} other{flesjes}}",bD="{count, plural, one{implantaat} other{implantaten}}",xD="{count, plural, one{infuus} other{infusen}}",_D="{count, plural, one{inhalatie} other{inhalaties}}",wD="inbrengen",SD="{count, plural, one{kauwgom} other{kauwgommen}}",kD="{count, plural, one{kompres} other{kompressen}}",ID="lavement",PD="ml",TD="{count, plural, one{ovule} other{ovules}}",OD="{count, plural, one{parel} other{parels}}",RD="{count, plural, one{pastille} other{pastilles}}",MD="{count, plural, one{pleister} other{pleisters}}",ND="{count, plural, one{patroon} other{patronen}}",LD="{count, plural, one{pen} other{pennen}}",zD="{count, plural, one{puff} other{puffs}}",VD="{count, plural, one{spons} other{sponsen}}",jD="{count, plural, one{stylo} other{stylos}}",UD="{count, plural, one{zetpil} other{zetpillen}}",HD="{count, plural, one{tube} other{tubes}}",WD="{count, plural, one{wiek} other{wieken}}",qD="{count, plural, one{zak} other{zakken}}",GD="{count, plural, one{zakje} other{zakjes}}",XD="centimeter",ZD="{count, plural, one{druppel per minuut} other{druppels per minuut}}",YD="gram",KD="internationale eenheden",JD="microgram per uur",QD="microgram per kilogram per minuut",$D="{count, plural, one{maat} other{maten}}",ev="milligram per uur",tv="milliliter per uur",uv="{count, plural, one{eetlepel} other{eetlepels}}",iv="{count, plural, one{koffielepel} other{koffielepels}}",nv="{count, plural, one{eenheid per uur} other{eenheden per uur}}",rv="miligram",av="miligram per milimeter",ov="milli-equivalent",sv="miu",lv="internationale eenheden",cv="millimol",dv="{count, plural, one{bruistablet} other{bruistabletten}}",hv="microgram",fv="{count, plural, one{verband} other{verbanden}}",pv="{count, plural, one{stuk} other{stuks}}",mv="{count, plural, one{verstuiving} other{verstuivingen}}",gv="liter",Cv="{count, plural, one{spuit} other{spuiten}}",Ev="{count, plural, one{ampul} other{ampullen}}",Fv="{count, plural, one{fles} other{flessen}}",Av="{count, plural, one{spuitampul} other{spuitampullen}}",HDe={"00001":CD,"00002":ED,"00003":FD,"00004":AD,"00005":DD,"00006":vD,"00007":BD,"00008":yD,"00009":bD,"00010":xD,"00011":_D,"00012":wD,"00013":SD,"00014":kD,"00015":ID,"00016":PD,"00017":TD,"00018":OD,"00019":RD,"00020":MD,"00021":ND,"00022":LD,"00023":zD,"00024":VD,"00025":jD,"00026":UD,"00027":HD,"00028":WD,"00029":qD,"00030":GD,cm:XD,dropsperminute:ZD,gm:YD,internationalunits:KD,"mck/h":JD,"mck/kg/minute":QD,measure:$D,"mg/h":ev,"ml/h":tv,tbl:uv,tsp:iv,"unt/h":nv,mg:rv,"mg/ml":av,meq:ov,miu:sv,iu:lv,mmol:cv,"effervescent-tablet":dv,micrograms:hv,bandage:fv,piece:pv,box:mv,liter:gv,syringe:Cv,ampoule:Ev,bottle:Fv,"syringe-ampoule":Av},WDe={nl:gD,fr:dA,de:tE,en:aF},Dv={};du(Dv,{default:()=>qDe,friday:()=>xv,monday:()=>vv,saturday:()=>_v,sunday:()=>wv,thursday:()=>bv,tuesday:()=>Bv,wednesday:()=>yv});var vv="Montag",Bv="Dienstag",yv="Mittwoch",bv="Donnerstag",xv="Freitag",_v="Samstag",wv="Sonntag",qDe={monday:vv,tuesday:Bv,wednesday:yv,thursday:bv,friday:xv,saturday:_v,sunday:wv},Sv={};du(Sv,{default:()=>GDe,friday:()=>Ov,monday:()=>kv,saturday:()=>Rv,sunday:()=>Mv,thursday:()=>Tv,tuesday:()=>Iv,wednesday:()=>Pv});var kv="Monday",Iv="Tuesday",Pv="Wednesday",Tv="Thursday",Ov="Friday",Rv="Saturday",Mv="Sunday",GDe={monday:kv,tuesday:Iv,wednesday:Pv,thursday:Tv,friday:Ov,saturday:Rv,sunday:Mv},Nv={};du(Nv,{default:()=>XDe,friday:()=>Uv,monday:()=>Lv,saturday:()=>Hv,sunday:()=>Wv,thursday:()=>jv,tuesday:()=>zv,wednesday:()=>Vv});var Lv="Lundi",zv="Mardi",Vv="Mercredi",jv="Jeudi",Uv="Vendredi",Hv="Samedi",Wv="Dimanche",XDe={monday:Lv,tuesday:zv,wednesday:Vv,thursday:jv,friday:Uv,saturday:Hv,sunday:Wv},qv={};du(qv,{default:()=>ZDe,friday:()=>Kv,monday:()=>Gv,saturday:()=>Jv,sunday:()=>Qv,thursday:()=>Yv,tuesday:()=>Xv,wednesday:()=>Zv});var Gv="Maandag",Xv="Dinsdag",Zv="Woensdag",Yv="Donderdag",Kv="Vrijdag",Jv="Zaterdag",Qv="Zondag",ZDe={monday:Gv,tuesday:Xv,wednesday:Zv,thursday:Yv,friday:Kv,saturday:Jv,sunday:Qv},$v={nl:qv,fr:Nv,de:Dv,en:Sv},eB={};du(eB,{VIDIS_0035:()=>tB,VIDIS_0050:()=>uB,VIDIS_0090:()=>iB,VIDIS_0100:()=>nB,VIDIS_0110:()=>rB,VIDIS_0120:()=>aB,VIDIS_0121:()=>oB,VIDIS_0122:()=>sB,VIDIS_0123:()=>lB,VIDIS_0124:()=>cB,VIDIS_0125:()=>dB,VIDIS_0126:()=>hB,VIDIS_0190:()=>fB,VIDIS_0200:()=>pB,VIDIS_0210:()=>mB,VIDIS_0211:()=>gB,VIDIS_0230:()=>CB,VIDIS_0290:()=>EB,VIDIS_0330:()=>FB,VIDIS_0340:()=>AB,VIDIS_0341:()=>DB,VIDIS_0400:()=>vB,VIDIS_0435:()=>BB,VIDIS_0440:()=>yB,VIDIS_5000:()=>bB,VIDIS_7000:()=>xB,default:()=>YDe,general:()=>wB,invalid_date_format:()=>TB,myHealth:()=>kB,myHealthUrl:()=>IB,network_error:()=>PB,"no-access":()=>SB,prescriptionList:()=>_B,"status-message-content":()=>RB,"status-message-title":()=>OB});var tB="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",uB="Die Patienten-INSS fehlt. (VIDIS_0050)",iB="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",nB="Der Benutzer ist für diesen Vorgang nicht autorisiert. (VIDIS_0100)",rB="Der Patient hat keine informierte Einwilligung für den Austausch von Gesundheitsdaten erteilt. (VIDIS_0110)",aB="Es besteht keine therapeutische Beziehung zwischen der Bezugsperson und dem Patienten. (VIDIS_0120)",oB="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",sB="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",lB="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",cB="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",dB="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",hB="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",fB="Ungültige INSS-Patientennummer. (VIDIS_0190)",pB="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen. (VIDIS_0200)",mB="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",gB="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",CB="Der Vorgang ist ungültig (VIDIS_0230)",EB='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',FB="Ihre Authentifizierungsstufe erlaubt keinen Zugriff auf diese Seite. Bitte melden Sie sich mit einem anderen Authentifizierungsmittel an (itsme, eID oder mit einem per E-Mail oder App verschickten Sicherheitscode). (VIDIS_0330)",AB="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, da Ihr Visum nicht aktiv ist. Bitte wenden Sie sich per E-Mail unter visa@health.belgium.be an den FÖD Gesundheit. (VIDIS_0340)",DB="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, entweder weil Ihr Visum nicht aktiv ist, bitte wenden Sie sich in diesem Fall per E-Mail an den FÖD Gesundheit unter visa@health.belgium.be, oder weil die LIKIV-Nummer der Apotheke ungültig ist, bitte kontaktieren Sie in diesem Fall das LIKIV per E-Mail unter dossierpharma@riziv-inami.fgov.be. (VIDIS_0341)",vB="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später nochmal. (VIDIS_0400)",BB="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",yB="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",bB="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",xB="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",_B="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",wB="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",SB="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",kB="Zurück zum Portal Meine Gesundheit",IB="https://wwwint.meinegesundheit.belgien.be/#/",PB="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",TB="Ungültiges Datumsformat.",OB="Dienst vorübergehend nicht verfügbar",RB=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
|
|
262
|
+
`).forEach(r=>{let u=r.indexOf(":");if(u>0){let i=r.slice(0,u),o=i.toLowerCase(),l=r.slice(u+1).trim();this.maybeSetNormalizedName(i,o),this.headers.has(o)?this.headers.get(o).push(l):this.headers.set(o,[l])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((r,u)=>{this.setHeaderEntries(u,r)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([r,u])=>{this.setHeaderEntries(r,u)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();let r=this.headers.get(t.toLowerCase());return r&&r.length>0?r[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,r){return this.clone({name:t,value:r,op:"a"})}set(t,r){return this.clone({name:t,value:r,op:"s"})}delete(t,r){return this.clone({name:t,value:r,op:"d"})}maybeSetNormalizedName(t,r){this.normalizedNames.has(r)||this.normalizedNames.set(r,t)}init(){this.lazyInit&&(this.lazyInit instanceof ud?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(r=>{this.headers.set(r,t.headers.get(r)),this.normalizedNames.set(r,t.normalizedNames.get(r))})}clone(t){let r=new ud;return r.lazyInit=this.lazyInit&&this.lazyInit instanceof ud?this.lazyInit:this,r.lazyUpdate=(this.lazyUpdate||[]).concat([t]),r}applyUpdate(t){let r=t.name.toLowerCase();switch(t.op){case"a":case"s":let u=t.value;if(typeof u=="string"&&(u=[u]),u.length===0)return;this.maybeSetNormalizedName(t.name,r);let i=(t.op==="a"?this.headers.get(r):void 0)||[];i.push(...u),this.headers.set(r,i);break;case"d":let o=t.value;if(!o)this.headers.delete(r),this.normalizedNames.delete(r);else{let l=this.headers.get(r);if(!l)return;l=l.filter(d=>o.indexOf(d)===-1),l.length===0?(this.headers.delete(r),this.normalizedNames.delete(r)):this.headers.set(r,l)}break}}setHeaderEntries(t,r){let u=(Array.isArray(r)?r:[r]).map(o=>o.toString()),i=t.toLowerCase();this.headers.set(i,u),this.maybeSetNormalizedName(t,i)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(r=>t(this.normalizedNames.get(r),this.headers.get(r)))}},rEe=class{encodeKey(e){return r7(e)}encodeValue(e){return r7(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function aEe(e,t){let r=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(u=>{let i=u.indexOf("="),[o,l]=i==-1?[t.decodeKey(u),""]:[t.decodeKey(u.slice(0,i)),t.decodeValue(u.slice(i+1))],d=r.get(o)||[];d.push(l),r.set(o,d)}),r}var oEe=/%(\d[a-f0-9])/gi,sEe={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function r7(e){return encodeURIComponent(e).replace(oEe,(t,r)=>sEe[r]??t)}function N0(e){return`${e}`}var Us=class cC{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new rEe,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=aEe(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(r=>{let u=t.fromObject[r],i=Array.isArray(u)?u.map(N0):[N0(u)];this.map.set(r,i)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();let r=this.map.get(t);return r?r[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,r){return this.clone({param:t,value:r,op:"a"})}appendAll(t){let r=[];return Object.keys(t).forEach(u=>{let i=t[u];Array.isArray(i)?i.forEach(o=>{r.push({param:u,value:o,op:"a"})}):r.push({param:u,value:i,op:"a"})}),this.clone(r)}set(t,r){return this.clone({param:t,value:r,op:"s"})}delete(t,r){return this.clone({param:t,value:r,op:"d"})}toString(){return this.init(),this.keys().map(t=>{let r=this.encoder.encodeKey(t);return this.map.get(t).map(u=>r+"="+this.encoder.encodeValue(u)).join("&")}).filter(t=>t!=="").join("&")}clone(t){let r=new cC({encoder:this.encoder});return r.cloneFrom=this.cloneFrom||this,r.updates=(this.updates||[]).concat(t),r}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":let r=(t.op==="a"?this.map.get(t.param):void 0)||[];r.push(N0(t.value)),this.map.set(t.param,r);break;case"d":if(t.value!==void 0){let u=this.map.get(t.param)||[],i=u.indexOf(N0(t.value));i!==-1&&u.splice(i,1),u.length>0?this.map.set(t.param,u):this.map.delete(t.param)}else{this.map.delete(t.param);break}}}),this.cloneFrom=this.updates=null)}},lEe=class{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}};function cEe(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function a7(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function o7(e){return typeof Blob<"u"&&e instanceof Blob}function s7(e){return typeof FormData<"u"&&e instanceof FormData}function dEe(e){return typeof URLSearchParams<"u"&&e instanceof URLSearchParams}var M1=class dC{constructor(t,r,u,i){this.url=r,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase();let o;if(cEe(this.method)||i?(this.body=u!==void 0?u:null,o=i):o=u,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),this.headers??(this.headers=new il),this.context??(this.context=new lEe),!this.params)this.params=new Us,this.urlWithParams=r;else{let l=this.params.toString();if(l.length===0)this.urlWithParams=r;else{let d=r.indexOf("?"),n=d===-1?"?":d<r.length-1?"&":"";this.urlWithParams=r+n+l}}}serializeBody(){return this.body===null?null:typeof this.body=="string"||a7(this.body)||o7(this.body)||s7(this.body)||dEe(this.body)?this.body:this.body instanceof Us?this.body.toString():typeof this.body=="object"||typeof this.body=="boolean"||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return this.body===null||s7(this.body)?null:o7(this.body)?this.body.type||null:a7(this.body)?null:typeof this.body=="string"?"text/plain":this.body instanceof Us?"application/x-www-form-urlencoded;charset=UTF-8":typeof this.body=="object"||typeof this.body=="number"||typeof this.body=="boolean"?"application/json":null}clone(t={}){let r=t.method||this.method,u=t.url||this.url,i=t.responseType||this.responseType,o=t.transferCache??this.transferCache,l=t.body!==void 0?t.body:this.body,d=t.withCredentials??this.withCredentials,n=t.reportProgress??this.reportProgress,h=t.headers||this.headers,s=t.params||this.params,c=t.context??this.context;return t.setHeaders!==void 0&&(h=Object.keys(t.setHeaders).reduce((f,p)=>f.set(p,t.setHeaders[p]),h)),t.setParams&&(s=Object.keys(t.setParams).reduce((f,p)=>f.set(p,t.setParams[p]),s)),new dC(r,u,l,{params:s,headers:h,context:c,reportProgress:n,responseType:i,withCredentials:d,transferCache:o})}},Hs=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}(Hs||{}),Zf=class{constructor(e,t=Md.Ok,r="OK"){this.headers=e.headers||new il,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||r,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}},hEe=class hC extends Zf{constructor(t={}){super(t),this.type=Hs.ResponseHeader}clone(t={}){return new hC({headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},fC=class pC extends Zf{constructor(t={}){super(t),this.type=Hs.Response,this.body=t.body!==void 0?t.body:null}clone(t={}){return new pC({body:t.body!==void 0?t.body:this.body,headers:t.headers||this.headers,status:t.status!==void 0?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}},l7=class extends Zf{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Md=function(e){return e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",e}(Md||{});function N1(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}var Yf=(()=>{const t=class t{constructor(u){this.handler=u}request(u,i,o={}){let l;if(u instanceof M1)l=u;else{let h;o.headers instanceof il?h=o.headers:h=new il(o.headers);let s;o.params&&(o.params instanceof Us?s=o.params:s=new Us({fromObject:o.params})),l=new M1(u,i,o.body!==void 0?o.body:null,{headers:h,context:o.context,params:s,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials,transferCache:o.transferCache})}let d=gn(l).pipe(Z9(h=>this.handler.handle(h)));if(u instanceof M1||o.observe==="events")return d;let n=d.pipe(tr(h=>h instanceof fC));switch(o.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return n.pipe(Dn(h=>{if(h.body!==null&&!(h.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return h.body}));case"blob":return n.pipe(Dn(h=>{if(h.body!==null&&!(h.body instanceof Blob))throw new Error("Response is not a Blob.");return h.body}));case"text":return n.pipe(Dn(h=>{if(h.body!==null&&typeof h.body!="string")throw new Error("Response is not a string.");return h.body}));case"json":default:return n.pipe(Dn(h=>h.body))}case"response":return n;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(u,i={}){return this.request("DELETE",u,i)}get(u,i={}){return this.request("GET",u,i)}head(u,i={}){return this.request("HEAD",u,i)}jsonp(u,i){return this.request("JSONP",u,{params:new Us().append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(u,i={}){return this.request("OPTIONS",u,i)}patch(u,i,o={}){return this.request("PATCH",u,N1(o,i))}post(u,i,o={}){return this.request("POST",u,N1(o,i))}put(u,i,o={}){return this.request("PUT",u,N1(o,i))}};t.ɵfac=function(u){return new(u||t)(It(Xf))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})();function fEe(e,t){return t(e)}function pEe(e,t,r){return(u,i)=>ope(r,()=>t(u,o=>e(o,i)))}var Kf=new iu(""),mEe=new iu(""),gEe=new iu(""),c7=(()=>{const t=class t extends Xf{constructor(u,i){super(),this.backend=u,this.injector=i,this.chain=null,this.pendingTasks=Xt(gh);let o=Xt(gEe,{optional:!0});this.backend=o??u}handle(u){if(this.chain===null){let o=Array.from(new Set([...this.injector.get(Kf),...this.injector.get(mEe,[])]));this.chain=o.reduceRight((l,d)=>pEe(l,d,this.injector),fEe)}let i=this.pendingTasks.add();return this.chain(u,o=>this.backend.handle(o)).pipe(J9(()=>this.pendingTasks.remove(i)))}};t.ɵfac=function(u){return new(u||t)(It(lC),It(us))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})(),CEe=/^\)\]\}',?\n/;function EEe(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}var d7=(()=>{const t=class t{constructor(u){this.xhrFactory=u}handle(u){if(u.method==="JSONP")throw new Du(-2800,!1);let i=this.xhrFactory;return(i.ɵloadImpl?bo(i.ɵloadImpl()):gn(null)).pipe(es(()=>new vn(o=>{let l=i.build();if(l.open(u.method,u.urlWithParams),u.withCredentials&&(l.withCredentials=!0),u.headers.forEach((g,E)=>l.setRequestHeader(g,E.join(","))),u.headers.has("Accept")||l.setRequestHeader("Accept","application/json, text/plain, */*"),!u.headers.has("Content-Type")){let g=u.detectContentTypeHeader();g!==null&&l.setRequestHeader("Content-Type",g)}if(u.responseType){let g=u.responseType.toLowerCase();l.responseType=g!=="json"?g:"text"}let d=u.serializeBody(),n=null,h=()=>{if(n!==null)return n;let g=l.statusText||"OK",E=new il(l.getAllResponseHeaders()),C=EEe(l)||u.url;return n=new hEe({headers:E,status:l.status,statusText:g,url:C}),n},s=()=>{let{headers:g,status:E,statusText:C,url:A}=h(),F=null;E!==Md.NoContent&&(F=typeof l.response>"u"?l.responseText:l.response),E===0&&(E=F?Md.Ok:0);let v=E>=200&&E<300;if(u.responseType==="json"&&typeof F=="string"){let a=F;F=F.replace(CEe,"");try{F=F!==""?JSON.parse(F):null}catch(D){F=a,v&&(v=!1,F={error:D,text:F})}}v?(o.next(new fC({body:F,headers:g,status:E,statusText:C,url:A||void 0})),o.complete()):o.error(new l7({error:F,headers:g,status:E,statusText:C,url:A||void 0}))},c=g=>{let{url:E}=h(),C=new l7({error:g,status:l.status||0,statusText:l.statusText||"Unknown Error",url:E||void 0});o.error(C)},f=!1,p=g=>{f||(o.next(h()),f=!0);let E={type:Hs.DownloadProgress,loaded:g.loaded};g.lengthComputable&&(E.total=g.total),u.responseType==="text"&&l.responseText&&(E.partialText=l.responseText),o.next(E)},m=g=>{let E={type:Hs.UploadProgress,loaded:g.loaded};g.lengthComputable&&(E.total=g.total),o.next(E)};return l.addEventListener("load",s),l.addEventListener("error",c),l.addEventListener("timeout",c),l.addEventListener("abort",c),u.reportProgress&&(l.addEventListener("progress",p),d!==null&&l.upload&&l.upload.addEventListener("progress",m)),l.send(d),o.next({type:Hs.Sent}),()=>{l.removeEventListener("error",c),l.removeEventListener("abort",c),l.removeEventListener("load",s),l.removeEventListener("timeout",c),u.reportProgress&&(l.removeEventListener("progress",p),d!==null&&l.upload&&l.upload.removeEventListener("progress",m)),l.readyState!==l.DONE&&l.abort()}})))}};t.ɵfac=function(u){return new(u||t)(It(lg))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})(),mC=new iu(""),FEe="XSRF-TOKEN",AEe=new iu("",{providedIn:"root",factory:()=>FEe}),DEe="X-XSRF-TOKEN",vEe=new iu("",{providedIn:"root",factory:()=>DEe}),gC=class{},BEe=(()=>{const t=class t{constructor(u,i,o){this.doc=u,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if(this.platform==="server")return null;let u=this.doc.cookie||"";return u!==this.lastCookieString&&(this.parseCount++,this.lastToken=ig(u,this.cookieName),this.lastCookieString=u),this.lastToken}};t.ɵfac=function(u){return new(u||t)(It(hi),It(ll),It(AEe))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})();function yEe(e,t){let r=e.url.toLowerCase();if(!Xt(mC)||e.method==="GET"||e.method==="HEAD"||r.startsWith("http://")||r.startsWith("https://"))return t(e);let u=Xt(gC).getToken(),i=Xt(vEe);return u!=null&&!e.headers.has(i)&&(e=e.clone({headers:e.headers.set(i,u)})),t(e)}var CC=function(e){return e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch",e}(CC||{});function bEe(e,t){return{ɵkind:e,ɵproviders:t}}function Jf(...e){let t=[Yf,d7,c7,{provide:Xf,useExisting:c7},{provide:lC,useExisting:d7},{provide:Kf,useValue:yEe,multi:!0},{provide:mC,useValue:!0},{provide:gC,useClass:BEe}];for(let r of e)t.push(...r.ɵproviders);return N6(t)}function Qf(e){return bEe(CC.Interceptors,e.map(t=>({provide:Kf,useValue:t,multi:!0})))}var xEe=class extends L4e{constructor(){super(...arguments),this.supportsDOMEvents=!0}},_Ee=class EC extends xEe{static makeCurrent(){N4e(new EC)}onAndCancel(t,r,u){return t.addEventListener(r,u),()=>{t.removeEventListener(r,u)}}dispatchEvent(t,r){t.dispatchEvent(r)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,r){return r=r||this.getDefaultDocument(),r.createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,r){return r==="window"?window:r==="document"?t:r==="body"?t.body:null}getBaseHref(t){let r=wEe();return r==null?null:SEe(r)}resetBaseElement(){zl=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return ig(document.cookie,t)}},zl=null;function wEe(){return zl=zl||document.querySelector("base"),zl?zl.getAttribute("href"):null}function SEe(e){return new URL(e,document.baseURI).pathname}var kEe=(()=>{const t=class t{build(){return new XMLHttpRequest}};t.ɵfac=function(u){return new(u||t)},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})(),e6=new iu(""),FC=(()=>{const t=class t{constructor(u,i){this._zone=i,this._eventNameToPlugin=new Map,u.forEach(o=>{o.manager=this}),this._plugins=u.slice().reverse()}addEventListener(u,i,o){return this._findPluginFor(i).addEventListener(u,i,o)}getZone(){return this._zone}_findPluginFor(u){let i=this._eventNameToPlugin.get(u);if(i)return i;if(i=this._plugins.find(o=>o.supports(u)),!i)throw new Du(5101,!1);return this._eventNameToPlugin.set(u,i),i}};t.ɵfac=function(u){return new(u||t)(It(e6),It(ri))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})(),AC=class{constructor(e){this._doc=e}},L1="ng-app-id",DC=(()=>{const t=class t{constructor(u,i,o,l={}){this.doc=u,this.appId=i,this.nonce=o,this.platformId=l,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=sg(l),this.resetHostNodes()}addStyles(u){for(let i of u)this.changeUsageCount(i,1)===1&&this.onStyleAdded(i)}removeStyles(u){for(let i of u)this.changeUsageCount(i,-1)<=0&&this.onStyleRemoved(i)}ngOnDestroy(){let u=this.styleNodesInDOM;u&&(u.forEach(i=>i.remove()),u.clear());for(let i of this.getAllStyles())this.onStyleRemoved(i);this.resetHostNodes()}addHost(u){this.hostNodes.add(u);for(let i of this.getAllStyles())this.addStyleToHost(u,i)}removeHost(u){this.hostNodes.delete(u)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(u){for(let i of this.hostNodes)this.addStyleToHost(i,u)}onStyleRemoved(u){var o,l;let i=this.styleRef;(l=(o=i.get(u))==null?void 0:o.elements)==null||l.forEach(d=>d.remove()),i.delete(u)}collectServerRenderedStyles(){var i;let u=(i=this.doc.head)==null?void 0:i.querySelectorAll(`style[${L1}="${this.appId}"]`);if(u!=null&&u.length){let o=new Map;return u.forEach(l=>{l.textContent!=null&&o.set(l.textContent,l)}),o}return null}changeUsageCount(u,i){let o=this.styleRef;if(o.has(u)){let l=o.get(u);return l.usage+=i,l.usage}return o.set(u,{usage:i,elements:[]}),i}getStyleElement(u,i){let o=this.styleNodesInDOM,l=o==null?void 0:o.get(i);if((l==null?void 0:l.parentNode)===u)return o.delete(i),l.removeAttribute(L1),l;{let d=this.doc.createElement("style");return this.nonce&&d.setAttribute("nonce",this.nonce),d.textContent=i,this.platformIsServer&&d.setAttribute(L1,this.appId),u.appendChild(d),d}}addStyleToHost(u,i){var n;let o=this.getStyleElement(u,i),l=this.styleRef,d=(n=l.get(i))==null?void 0:n.elements;d?d.push(o):l.set(i,{elements:[o],usage:1})}resetHostNodes(){let u=this.hostNodes;u.clear(),u.add(this.doc.head)}};t.ɵfac=function(u){return new(u||t)(It(hi),It(rf),It(af,8),It(ll))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})(),z1={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},$f=/%COMP%/g,vC="%COMP%",IEe=`_nghost-${vC}`,PEe=`_ngcontent-${vC}`,TEe=!0,OEe=new iu("",{providedIn:"root",factory:()=>TEe});function REe(e){return PEe.replace($f,e)}function MEe(e){return IEe.replace($f,e)}function BC(e,t){return t.map(r=>r.replace($f,e))}var t6=(()=>{const t=class t{constructor(u,i,o,l,d,n,h,s=null){this.eventManager=u,this.sharedStylesHost=i,this.appId=o,this.removeStylesOnCompDestroy=l,this.doc=d,this.platformId=n,this.ngZone=h,this.nonce=s,this.rendererByCompId=new Map,this.platformIsServer=sg(n),this.defaultRenderer=new ep(u,d,h,this.platformIsServer)}createRenderer(u,i){if(!u||!i)return this.defaultRenderer;this.platformIsServer&&i.encapsulation===za.ShadowDom&&(i=ln(Fu({},i),{encapsulation:za.Emulated}));let o=this.getOrCreateRenderer(u,i);return o instanceof f7?o.applyToHost(u):o instanceof u6&&o.applyStyles(),o}getOrCreateRenderer(u,i){let o=this.rendererByCompId,l=o.get(i.id);if(!l){let d=this.doc,n=this.ngZone,h=this.eventManager,s=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,f=this.platformIsServer;switch(i.encapsulation){case za.Emulated:l=new f7(h,s,i,this.appId,c,d,n,f);break;case za.ShadowDom:return new NEe(h,s,u,i,d,n,this.nonce,f);default:l=new u6(h,s,i,c,d,n,f);break}o.set(i.id,l)}return l}ngOnDestroy(){this.rendererByCompId.clear()}};t.ɵfac=function(u){return new(u||t)(It(FC),It(DC),It(rf),It(OEe),It(hi),It(ll),It(ri),It(af))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})(),ep=class{constructor(e,t,r,u){this.eventManager=e,this.doc=t,this.ngZone=r,this.platformIsServer=u,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,t){return t?this.doc.createElementNS(z1[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(h7(e)?e.content:e).appendChild(t)}insertBefore(e,t,r){e&&(h7(e)?e.content:e).insertBefore(t,r)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let r=typeof e=="string"?this.doc.querySelector(e):e;if(!r)throw new Du(-5104,!1);return t||(r.textContent=""),r}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,r,u){if(u){t=u+":"+t;let i=z1[u];i?e.setAttributeNS(i,t,r):e.setAttribute(t,r)}else e.setAttribute(t,r)}removeAttribute(e,t,r){if(r){let u=z1[r];u?e.removeAttributeNS(u,t):e.removeAttribute(`${r}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,r,u){u&(go.DashCase|go.Important)?e.style.setProperty(t,r,u&go.Important?"important":""):e.style[t]=r}removeStyle(e,t,r){r&go.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,r){e!=null&&(e[t]=r)}setValue(e,t){e.nodeValue=t}listen(e,t,r){if(typeof e=="string"&&(e=$o().getGlobalEventTarget(this.doc,e),!e))throw new Error(`Unsupported event target ${e} for event ${t}`);return this.eventManager.addEventListener(e,t,this.decoratePreventDefault(r))}decoratePreventDefault(e){return t=>{if(t==="__ngUnwrap__")return e;(this.platformIsServer?this.ngZone.runGuarded(()=>e(t)):e(t))===!1&&t.preventDefault()}}};function h7(e){return e.tagName==="TEMPLATE"&&e.content!==void 0}var NEe=class extends ep{constructor(e,t,r,u,i,o,l,d){super(e,i,o,d),this.sharedStylesHost=t,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);let n=BC(u.id,u.styles);for(let h of n){let s=document.createElement("style");l&&s.setAttribute("nonce",l),s.textContent=h,this.shadowRoot.appendChild(s)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,r){return super.insertBefore(this.nodeOrShadowRoot(e),t,r)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}},u6=class extends ep{constructor(e,t,r,u,i,o,l,d){super(e,i,o,l),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=u,this.styles=d?BC(d,r.styles):r.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}},f7=class extends u6{constructor(e,t,r,u,i,o,l,d){let n=u+"-"+r.id;super(e,t,r,i,o,l,d,n),this.contentAttr=REe(n),this.hostAttr=MEe(n)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){let r=super.createElement(e,t);return super.setAttribute(r,this.contentAttr,""),r}},LEe=(()=>{const t=class t extends AC{constructor(u){super(u)}supports(u){return!0}addEventListener(u,i,o){return u.addEventListener(i,o,!1),()=>this.removeEventListener(u,i,o)}removeEventListener(u,i,o){return u.removeEventListener(i,o)}};t.ɵfac=function(u){return new(u||t)(It(hi))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})(),p7=["alt","control","meta","shift"],zEe={"\b":"Backspace"," ":"Tab","":"Delete","\x1B":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},VEe={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},jEe=(()=>{const t=class t extends AC{constructor(u){super(u)}supports(u){return t.parseEventName(u)!=null}addEventListener(u,i,o){let l=t.parseEventName(i),d=t.eventCallback(l.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>$o().onAndCancel(u,l.domEventName,d))}static parseEventName(u){let i=u.toLowerCase().split("."),o=i.shift();if(i.length===0||!(o==="keydown"||o==="keyup"))return null;let l=t._normalizeKey(i.pop()),d="",n=i.indexOf("code");if(n>-1&&(i.splice(n,1),d="code."),p7.forEach(s=>{let c=i.indexOf(s);c>-1&&(i.splice(c,1),d+=s+".")}),d+=l,i.length!=0||l.length===0)return null;let h={};return h.domEventName=o,h.fullKey=d,h}static matchEventFullKeyCode(u,i){let o=zEe[u.key]||u.key,l="";return i.indexOf("code.")>-1&&(o=u.code,l="code."),o==null||!o?!1:(o=o.toLowerCase(),o===" "?o="space":o==="."&&(o="dot"),p7.forEach(d=>{if(d!==o){let n=VEe[d];n(u)&&(l+=d+".")}}),l+=o,l===i)}static eventCallback(u,i,o){return l=>{t.matchEventFullKeyCode(l,u)&&o.runGuarded(()=>i(l))}}static _normalizeKey(u){return u==="esc"?"escape":u}};t.ɵfac=function(u){return new(u||t)(It(hi))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})();function UEe(e){return C4e(HEe(e))}function HEe(e){return{appProviders:[...ZEe,...(e==null?void 0:e.providers)??[]],platformProviders:XEe}}function WEe(){_Ee.makeCurrent()}function qEe(){return new Ja}function GEe(){return l2e(document),document}var XEe=[{provide:ll,useValue:og},{provide:Fm,useValue:WEe,multi:!0},{provide:hi,useFactory:GEe,deps:[]}],ZEe=[{provide:z6,useValue:"root"},{provide:Ja,useFactory:qEe,deps:[]},{provide:e6,useClass:LEe,multi:!0,deps:[hi,ri,ll]},{provide:e6,useClass:jEe,multi:!0,deps:[hi]},t6,DC,FC,{provide:gf,useExisting:t6},{provide:lg,useClass:kEe,deps:[]},[]],yC=(()=>{const t=class t{};t.ɵfac=function(u){return new(u||t)},t.ɵprov=hu({token:t,factory:function(u){let i=null;return u?i=new(u||t):i=It(YEe),i},providedIn:"root"});let e=t;return e})(),YEe=(()=>{const t=class t extends yC{constructor(u){super(),this._doc=u}sanitize(u,i){if(i==null)return null;switch(u){case Ir.NONE:return i;case Ir.HTML:return ks(i,"HTML")?po(i):_m(this._doc,String(i)).toString();case Ir.STYLE:return ks(i,"Style")?po(i):i;case Ir.SCRIPT:if(ks(i,"Script"))return po(i);throw new Du(5200,!1);case Ir.URL:return ks(i,"URL")?po(i):Dm(String(i));case Ir.RESOURCE_URL:if(ks(i,"ResourceURL"))return po(i);throw new Du(5201,!1);default:throw new Du(5202,!1)}}bypassSecurityTrustHtml(u){return D2e(u)}bypassSecurityTrustStyle(u){return v2e(u)}bypassSecurityTrustScript(u){return B2e(u)}bypassSecurityTrustUrl(u){return y2e(u)}bypassSecurityTrustResourceUrl(u){return b2e(u)}};t.ɵfac=function(u){return new(u||t)(It(hi))},t.ɵprov=hu({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function KEe(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var JEe=["de",[["AM","PM"],void 0,void 0],void 0,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],void 0,void 0],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",void 0,"{1} 'um' {0}",void 0],[",",".",";","%","+","-","E","·","‰","∞","NaN",":"],["#,##0.###","#,##0 %","#,##0.00 ¤","#E0"],"EUR","€","Euro",{ATS:["öS"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],BYN:[void 0,"р."],CUC:[void 0,"Cub$"],DEM:["DM"],FKP:[void 0,"Fl£"],GHS:[void 0,"₵"],GNF:[void 0,"F.G."],KMF:[void 0,"FC"],PHP:[void 0,"₱"],RON:[void 0,"L"],RUR:[void 0,"р."],RWF:[void 0,"F.Rw"],SYP:[],THB:["฿"],TWD:["NT$"],XXX:[],ZMW:[void 0,"K"]},"ltr",KEe];function QEe(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var $Ee=["en",[["a","p"],["AM","PM"],void 0],[["AM","PM"],void 0,void 0],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],void 0,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",void 0,"{1} 'at' {0}",void 0],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",QEe];function eFe(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length,u=parseInt(e.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return t===0||t===1?1:u===0&&t!==0&&t%1e6===0&&r===0||!(u>=0&&u<=5)?4:5}var tFe=["fr",[["AM","PM"],void 0,void 0],void 0,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]],void 0,[["av. J.-C.","ap. J.-C."],void 0,["avant Jésus-Christ","après Jésus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1}, {0}","{1} 'à' {0}",void 0],[","," ",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0 %","#,##0.00 ¤","#E0"],"EUR","€","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BYN:[void 0,"р."],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[void 0,"¥"],COP:["$CO","$"],CYP:["£CY"],EGP:[void 0,"£E"],FJD:["$FJ","$"],FKP:["£FK","£"],FRF:["F"],GBP:["£GB","£"],GIP:["£GI","£"],HKD:[void 0,"$"],IEP:["£IE"],ILP:["£IL"],ITL:["₤IT"],JPY:[void 0,"¥"],KMF:[void 0,"FC"],LBP:["£LB","£L"],MTP:["£MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[void 0,"$C"],NZD:["$NZ","$"],PHP:[void 0,"₱"],RHD:["$RH"],RON:[void 0,"L"],RWF:[void 0,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[void 0,"$T"],TTD:["$TT","$"],TWD:[void 0,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[void 0,"$"],XPF:["FCFP"],ZMW:[void 0,"Kw"]},"ltr",eFe];function uFe(e){let t=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return t===1&&r===0?1:5}var iFe=["nl",[["a.m.","p.m."],void 0,void 0],void 0,[["Z","M","D","W","D","V","Z"],["zo","ma","di","wo","do","vr","za"],["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"],["zo","ma","di","wo","do","vr","za"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]],void 0,[["v.C.","n.C."],["v.Chr.","n.Chr."],["voor Christus","na Christus"]],1,[6,0],["dd-MM-y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}",void 0,"{1} 'om' {0}",void 0],[",",".",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤ #,##0.00;¤ -#,##0.00","#E0"],"EUR","€","Euro",{AUD:["AU$","$"],BYN:[void 0,"р."],CAD:["C$","$"],FJD:["FJ$","$"],JPY:["JP¥","¥"],PHP:[void 0,"₱"],RUR:[void 0,"р."],SBD:["SI$","$"],THB:["฿"],TWD:["NT$"],USD:["US$","$"],XPF:[],XXX:[]},"ltr",uFe],Ya=class{},m7=(()=>{const t=class t extends Ya{getTranslation(u){return gn({})}};Lt(t,"ɵfac",(()=>{let u;return function(i){return(u||(u=Kr(t)))(i||t)}})()),Lt(t,"ɵprov",hu({token:t,factory:t.ɵfac}));let e=t;return e})(),i6=class{},g7=(()=>{const t=class t{handle(u){return u.key}};Lt(t,"ɵfac",function(u){return new(u||t)}),Lt(t,"ɵprov",hu({token:t,factory:t.ɵfac}));let e=t;return e})();function Nd(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;let r=typeof e,u=typeof t,i,o,l;if(r==u&&r=="object")if(Array.isArray(e)){if(!Array.isArray(t))return!1;if((i=e.length)==t.length){for(o=0;o<i;o++)if(!Nd(e[o],t[o]))return!1;return!0}}else{if(Array.isArray(t))return!1;l=Object.create(null);for(o in e){if(!Nd(e[o],t[o]))return!1;l[o]=!0}for(o in t)if(!(o in l)&&typeof t[o]<"u")return!1;return!0}return!1}function Co(e){return typeof e<"u"&&e!==null}function V1(e){return e&&typeof e=="object"&&!Array.isArray(e)}function bC(e,t){let r=Object.assign({},e);return V1(e)&&V1(t)&&Object.keys(t).forEach(u=>{V1(t[u])?u in e?r[u]=bC(e[u],t[u]):Object.assign(r,{[u]:t[u]}):Object.assign(r,{[u]:t[u]})}),r}var Ld=class{},C7=(()=>{const t=class t extends Ld{constructor(){super(...arguments);Lt(this,"templateMatcher",/{{\s?([^{}\s]*)\s?}}/g)}interpolate(i,o){let l;return typeof i=="string"?l=this.interpolateString(i,o):typeof i=="function"?l=this.interpolateFunction(i,o):l=i,l}getValue(i,o){let l=typeof o=="string"?o.split("."):[o];o="";do o+=l.shift(),Co(i)&&Co(i[o])&&(typeof i[o]=="object"||!l.length)?(i=i[o],o=""):l.length?o+=".":i=void 0;while(l.length);return i}interpolateFunction(i,o){return i(o)}interpolateString(i,o){return o?i.replace(this.templateMatcher,(l,d)=>{let n=this.getValue(o,d);return Co(n)?n:l}):i}};Lt(t,"ɵfac",(()=>{let i;return function(o){return(i||(i=Kr(t)))(o||t)}})()),Lt(t,"ɵprov",hu({token:t,factory:t.ɵfac}));let e=t;return e})(),Bo=class{},E7=(()=>{const t=class t extends Bo{compile(u,i){return u}compileTranslations(u,i){return u}};Lt(t,"ɵfac",(()=>{let u;return function(i){return(u||(u=Kr(t)))(i||t)}})()),Lt(t,"ɵprov",hu({token:t,factory:t.ɵfac}));let e=t;return e})(),xC=class{constructor(){Lt(this,"defaultLang");Lt(this,"currentLang",this.defaultLang);Lt(this,"translations",{});Lt(this,"langs",[]);Lt(this,"onTranslationChange",new bu);Lt(this,"onLangChange",new bu);Lt(this,"onDefaultLangChange",new bu)}},n6=new iu("USE_STORE"),r6=new iu("USE_DEFAULT_LANG"),a6=new iu("DEFAULT_LANGUAGE"),o6=new iu("USE_EXTEND"),_a=(()=>{const t=class t{constructor(u,i,o,l,d,n=!0,h=!1,s=!1,c){Lt(this,"store");Lt(this,"currentLoader");Lt(this,"compiler");Lt(this,"parser");Lt(this,"missingTranslationHandler");Lt(this,"useDefaultLang");Lt(this,"isolate");Lt(this,"extend");Lt(this,"loadingTranslations");Lt(this,"pending",!1);Lt(this,"_onTranslationChange",new bu);Lt(this,"_onLangChange",new bu);Lt(this,"_onDefaultLangChange",new bu);Lt(this,"_defaultLang");Lt(this,"_currentLang");Lt(this,"_langs",[]);Lt(this,"_translations",{});Lt(this,"_translationRequests",{});this.store=u,this.currentLoader=i,this.compiler=o,this.parser=l,this.missingTranslationHandler=d,this.useDefaultLang=n,this.isolate=h,this.extend=s,c&&this.setDefaultLang(c)}get onTranslationChange(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}get onLangChange(){return this.isolate?this._onLangChange:this.store.onLangChange}get onDefaultLangChange(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}get defaultLang(){return this.isolate?this._defaultLang:this.store.defaultLang}set defaultLang(u){this.isolate?this._defaultLang=u:this.store.defaultLang=u}get currentLang(){return this.isolate?this._currentLang:this.store.currentLang}set currentLang(u){this.isolate?this._currentLang=u:this.store.currentLang=u}get langs(){return this.isolate?this._langs:this.store.langs}set langs(u){this.isolate?this._langs=u:this.store.langs=u}get translations(){return this.isolate?this._translations:this.store.translations}set translations(u){this.isolate?this._translations=u:this.store.translations=u}setDefaultLang(u){if(u===this.defaultLang)return;let i=this.retrieveTranslations(u);typeof i<"u"?(this.defaultLang==null&&(this.defaultLang=u),i.pipe(Yn(1)).subscribe(o=>{this.changeDefaultLang(u)})):this.changeDefaultLang(u)}getDefaultLang(){return this.defaultLang}use(u){if(u===this.currentLang)return gn(this.translations[u]);let i=this.retrieveTranslations(u);return typeof i<"u"?(this.currentLang||(this.currentLang=u),i.pipe(Yn(1)).subscribe(o=>{this.changeLang(u)}),i):(this.changeLang(u),gn(this.translations[u]))}retrieveTranslations(u){let i;return(typeof this.translations[u]>"u"||this.extend)&&(this._translationRequests[u]=this._translationRequests[u]||this.getTranslation(u),i=this._translationRequests[u]),i}getTranslation(u){this.pending=!0;let i=this.currentLoader.getTranslation(u).pipe(sd(1),Yn(1));return this.loadingTranslations=i.pipe(Dn(o=>this.compiler.compileTranslations(o,u)),sd(1),Yn(1)),this.loadingTranslations.subscribe({next:o=>{this.translations[u]=this.extend&&this.translations[u]?Fu(Fu({},o),this.translations[u]):o,this.updateLangs(),this.pending=!1},error:o=>{this.pending=!1}}),i}setTranslation(u,i,o=!1){i=this.compiler.compileTranslations(i,u),(o||this.extend)&&this.translations[u]?this.translations[u]=bC(this.translations[u],i):this.translations[u]=i,this.updateLangs(),this.onTranslationChange.emit({lang:u,translations:this.translations[u]})}getLangs(){return this.langs}addLangs(u){u.forEach(i=>{this.langs.indexOf(i)===-1&&this.langs.push(i)})}updateLangs(){this.addLangs(Object.keys(this.translations))}getParsedResult(u,i,o){let l;if(i instanceof Array){let d={},n=!1;for(let h of i)d[h]=this.getParsedResult(u,h,o),Wo(d[h])&&(n=!0);if(n){let h=i.map(s=>Wo(d[s])?d[s]:gn(d[s]));return P6(h).pipe(Dn(s=>{let c={};return s.forEach((f,p)=>{c[i[p]]=f}),c}))}return d}if(u&&(l=this.parser.interpolate(this.parser.getValue(u,i),o)),typeof l>"u"&&this.defaultLang!=null&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(l=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],i),o)),typeof l>"u"){let d={key:i,translateService:this};typeof o<"u"&&(d.interpolateParams=o),l=this.missingTranslationHandler.handle(d)}return typeof l<"u"?l:i}get(u,i){if(!Co(u)||!u.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Z9(o=>(o=this.getParsedResult(o,u,i),Wo(o)?o:gn(o))));{let o=this.getParsedResult(this.translations[this.currentLang],u,i);return Wo(o)?o:gn(o)}}getStreamOnTranslationChange(u,i){if(!Co(u)||!u.length)throw new Error('Parameter "key" required');return Ql($l(()=>this.get(u,i)),this.onTranslationChange.pipe(es(o=>{let l=this.getParsedResult(o.translations,u,i);return typeof l.subscribe=="function"?l:gn(l)})))}stream(u,i){if(!Co(u)||!u.length)throw new Error('Parameter "key" required');return Ql($l(()=>this.get(u,i)),this.onLangChange.pipe(es(o=>{let l=this.getParsedResult(o.translations,u,i);return Wo(l)?l:gn(l)})))}instant(u,i){if(!Co(u)||!u.length)throw new Error('Parameter "key" required');let o=this.getParsedResult(this.translations[this.currentLang],u,i);if(Wo(o)){if(u instanceof Array){let l={};return u.forEach((d,n)=>{l[u[n]]=u[n]}),l}return u}else return o}set(u,i,o=this.currentLang){this.translations[o][u]=this.compiler.compile(i,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}changeLang(u){this.currentLang=u,this.onLangChange.emit({lang:u,translations:this.translations[u]}),this.defaultLang==null&&this.changeDefaultLang(u)}changeDefaultLang(u){this.defaultLang=u,this.onDefaultLangChange.emit({lang:u,translations:this.translations[u]})}reloadLang(u){return this.resetLang(u),this.getTranslation(u)}resetLang(u){this._translationRequests[u]=void 0,this.translations[u]=void 0}getBrowserLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let u=window.navigator.languages?window.navigator.languages[0]:null;if(u=u||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,!(typeof u>"u"))return u.indexOf("-")!==-1&&(u=u.split("-")[0]),u.indexOf("_")!==-1&&(u=u.split("_")[0]),u}getBrowserCultureLang(){if(typeof window>"u"||typeof window.navigator>"u")return;let u=window.navigator.languages?window.navigator.languages[0]:null;return u=u||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage,u}};Lt(t,"ɵfac",function(u){return new(u||t)(It(xC),It(Ya),It(Bo),It(Ld),It(i6),It(r6),It(n6),It(o6),It(a6))}),Lt(t,"ɵprov",hu({token:t,factory:t.ɵfac}));let e=t;return e})(),ka=(()=>{const t=class t{constructor(u,i){Lt(this,"translate");Lt(this,"_ref");Lt(this,"value","");Lt(this,"lastKey",null);Lt(this,"lastParams",[]);Lt(this,"onTranslationChange");Lt(this,"onLangChange");Lt(this,"onDefaultLangChange");this.translate=u,this._ref=i}updateValue(u,i,o){let l=d=>{this.value=d!==void 0?d:u,this.lastKey=u,this._ref.markForCheck()};if(o){let d=this.translate.getParsedResult(o,u,i);Wo(d.subscribe)?d.subscribe(l):l(d)}this.translate.get(u,i).subscribe(l)}transform(u,...i){if(!u||!u.length)return u;if(Nd(u,this.lastKey)&&Nd(i,this.lastParams))return this.value;let o;if(Co(i[0])&&i.length)if(typeof i[0]=="string"&&i[0].length){let l=i[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{o=JSON.parse(l)}catch{throw new SyntaxError(`Wrong parameter in TranslatePipe. Expected a valid Object, received: ${i[0]}`)}}else typeof i[0]=="object"&&!Array.isArray(i[0])&&(o=i[0]);return this.lastKey=u,this.lastParams=i,this.updateValue(u,o),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(l=>{this.lastKey&&l.lang===this.translate.currentLang&&(this.lastKey=null,this.updateValue(u,o,l.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(l=>{this.lastKey&&(this.lastKey=null,this.updateValue(u,o,l.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(()=>{this.lastKey&&(this.lastKey=null,this.updateValue(u,o))})),this.value}_dispose(){typeof this.onTranslationChange<"u"&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),typeof this.onLangChange<"u"&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),typeof this.onDefaultLangChange<"u"&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}ngOnDestroy(){this._dispose()}};Lt(t,"ɵfac",function(u){return new(u||t)(ct(_a,16),ct(kn,16))}),Lt(t,"ɵpipe",_c({name:"translate",type:t,pure:!1})),Lt(t,"ɵprov",hu({token:t,factory:t.ɵfac}));let e=t;return e})(),Nr=(()=>{const t=class t{static forRoot(u={}){return{ngModule:t,providers:[u.loader||{provide:Ya,useClass:m7},u.compiler||{provide:Bo,useClass:E7},u.parser||{provide:Ld,useClass:C7},u.missingTranslationHandler||{provide:i6,useClass:g7},xC,{provide:n6,useValue:u.isolate},{provide:r6,useValue:u.useDefaultLang},{provide:o6,useValue:u.extend},{provide:a6,useValue:u.defaultLanguage},_a]}}static forChild(u={}){return{ngModule:t,providers:[u.loader||{provide:Ya,useClass:m7},u.compiler||{provide:Bo,useClass:E7},u.parser||{provide:Ld,useClass:C7},u.missingTranslationHandler||{provide:i6,useClass:g7},{provide:n6,useValue:u.isolate},{provide:r6,useValue:u.useDefaultLang},{provide:o6,useValue:u.extend},{provide:a6,useValue:u.defaultLanguage},_a]}}};Lt(t,"ɵfac",function(u){return new(u||t)}),Lt(t,"ɵmod",dn({type:t})),Lt(t,"ɵinj",cn({}));let e=t;return e})(),nFe=(()=>{const t=class t extends Gf{constructor(u){super(),this.translate=u,this.getRangeLabel=(i,o,l)=>{if(l===0||o===0)return`0 / ${l}`;l=Math.max(l,0);let d=i*o,n=d<l?Math.min(d+o,l):d+o;return`${d+1} - ${n} / ${l}`},this.getAndInitTranslations=()=>{this.nextPageLabel=this.translate.instant("commons.matPaginator.nextPage"),this.previousPageLabel=this.translate.instant("commons.matPaginator.prevPage"),this.firstPageLabel=this.translate.instant("commons.matPaginator.firstPage"),this.lastPageLabel=this.translate.instant("commons.matPaginator.lastPage"),this.itemsPerPageLabel=this.translate.instant("commons.matPaginator.itemsPerPage"),this.getRangeLabel=this.getRangeLabel.bind(this),this.changes.next()},this.translate.onLangChange.subscribe(()=>{this.getAndInitTranslations()}),this.getAndInitTranslations()}};t.ɵfac=function(u){return new(u||t)(It(_a))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})(),gt=function(e){return e.SEPARATOR="separator",e.PERCENT="percent",e.IP="IP",e.CPF_CNPJ="CPF_CNPJ",e.MONTH="M",e.MONTHS="M0",e.MINUTE="m",e.HOUR="h",e.HOURS="H",e.MINUTES="m0",e.HOURS_HOUR="Hh",e.SECONDS="s0",e.HOURS_MINUTES_SECONDS="Hh:m0:s0",e.EMAIL_MASK="A*@A*.A*",e.HOURS_MINUTES="Hh:m0",e.MINUTES_SECONDS="m0:s0",e.DAYS_MONTHS_YEARS="d0/M0/0000",e.DAYS_MONTHS="d0/M0",e.DAYS="d0",e.DAY="d",e.SECOND="s",e.LETTER_S="S",e.DOT=".",e.COMMA=",",e.CURLY_BRACKETS_LEFT="{",e.CURLY_BRACKETS_RIGHT="}",e.MINUS="-",e.OR="||",e.HASH="#",e.EMPTY_STRING="",e.SYMBOL_STAR="*",e.SYMBOL_QUESTION="?",e.SLASH="/",e.WHITE_SPACE=" ",e.NUMBER_ZERO="0",e.NUMBER_NINE="9",e.BACKSPACE="Backspace",e.DELETE="Delete",e.ARROW_LEFT="ArrowLeft",e.ARROW_UP="ArrowUp",e.DOUBLE_ZERO="00",e}(gt||{}),tp=new iu("ngx-mask config"),_C=new iu("new ngx-mask config"),wC=new iu("initial ngx-mask config"),rFe={suffix:"",prefix:"",thousandSeparator:" ",decimalMarker:[".",","],clearIfNotMatch:!1,showTemplate:!1,showMaskTyped:!1,placeHolderCharacter:"_",dropSpecialCharacters:!0,hiddenInput:null,shownMaskExpression:"",separatorLimit:"",allowNegativeNumbers:!1,validation:!0,specialCharacters:["-","/","(",")",".",":"," ","+",",","@","[","]",'"',"'"],leadZeroDateTime:!1,apm:!1,leadZero:!1,keepCharacterPositions:!1,triggerOnMaskChange:!1,inputTransformFn:e=>e,outputTransformFn:e=>e,maskFilled:new bu,patterns:{0:{pattern:new RegExp("\\d")},9:{pattern:new RegExp("\\d"),optional:!0},X:{pattern:new RegExp("\\d"),symbol:"*"},A:{pattern:new RegExp("[a-zA-Z0-9]")},S:{pattern:new RegExp("[a-zA-Z]")},U:{pattern:new RegExp("[A-Z]")},L:{pattern:new RegExp("[a-z]")},d:{pattern:new RegExp("\\d")},m:{pattern:new RegExp("\\d")},M:{pattern:new RegExp("\\d")},H:{pattern:new RegExp("\\d")},h:{pattern:new RegExp("\\d")},s:{pattern:new RegExp("\\d")}}};gt.HOURS_MINUTES_SECONDS,gt.HOURS_MINUTES,gt.MINUTES_SECONDS;gt.PERCENT,gt.HOURS_HOUR,gt.SECONDS,gt.MINUTES,gt.SEPARATOR,gt.DAYS_MONTHS_YEARS,gt.DAYS_MONTHS,gt.DAYS,gt.MONTHS;var aFe=(()=>{const t=class t{constructor(){Lt(this,"_config",Xt(tp));Lt(this,"dropSpecialCharacters",this._config.dropSpecialCharacters);Lt(this,"hiddenInput",this._config.hiddenInput);Lt(this,"showTemplate");Lt(this,"clearIfNotMatch",this._config.clearIfNotMatch);Lt(this,"specialCharacters",this._config.specialCharacters);Lt(this,"patterns",this._config.patterns);Lt(this,"prefix",this._config.prefix);Lt(this,"suffix",this._config.suffix);Lt(this,"thousandSeparator",this._config.thousandSeparator);Lt(this,"decimalMarker",this._config.decimalMarker);Lt(this,"customPattern");Lt(this,"showMaskTyped",this._config.showMaskTyped);Lt(this,"placeHolderCharacter",this._config.placeHolderCharacter);Lt(this,"validation",this._config.validation);Lt(this,"separatorLimit",this._config.separatorLimit);Lt(this,"allowNegativeNumbers",this._config.allowNegativeNumbers);Lt(this,"leadZeroDateTime",this._config.leadZeroDateTime);Lt(this,"leadZero",this._config.leadZero);Lt(this,"apm",this._config.apm);Lt(this,"inputTransformFn",this._config.inputTransformFn);Lt(this,"outputTransformFn",this._config.outputTransformFn);Lt(this,"keepCharacterPositions",this._config.keepCharacterPositions);Lt(this,"_shift",new Set);Lt(this,"plusOnePosition",!1);Lt(this,"maskExpression","");Lt(this,"actualValue","");Lt(this,"showKeepCharacterExp","");Lt(this,"shownMaskExpression","");Lt(this,"deletedSpecialCharacter",!1);Lt(this,"ipError");Lt(this,"cpfCnpjError");Lt(this,"_formatWithSeparators",(u,i,o,l)=>{var p;let d=[],n="";if(Array.isArray(o)){let m=new RegExp(o.map(g=>"[\\^$.|?*+()".indexOf(g)>=0?`\\${g}`:g).join("|"));d=u.split(m),n=((p=u.match(m))==null?void 0:p[0])??gt.EMPTY_STRING}else d=u.split(o),n=o;let h=d.length>1?`${n}${d[1]}`:gt.EMPTY_STRING,s=d[0]??gt.EMPTY_STRING,c=this.separatorLimit.replace(/\s/g,gt.EMPTY_STRING);c&&+c&&(s[0]===gt.MINUS?s=`-${s.slice(1,s.length).slice(0,c.length)}`:s=s.slice(0,c.length));let f=/(\d+)(\d{3})/;for(;i&&f.test(s);)s=s.replace(f,"$1"+i+"$2");return typeof l>"u"?s+h:l===0?s:s+h.substring(0,l+1)});Lt(this,"percentage",u=>{let i=u.replace(",","."),o=Number(this.allowNegativeNumbers&&u.includes(gt.MINUS)?i.slice(1,u.length):i);return!isNaN(o)&&o>=0&&o<=100});Lt(this,"getPrecision",u=>{let i=u.split(gt.DOT);return i.length>1?Number(i[i.length-1]):1/0});Lt(this,"checkAndRemoveSuffix",u=>{var i,o,l,d;for(let n=((i=this.suffix)==null?void 0:i.length)-1;n>=0;n--){let h=this.suffix.substring(n,(o=this.suffix)==null?void 0:o.length);if(u.includes(h)&&n!==((l=this.suffix)==null?void 0:l.length)-1&&(n-1<0||!u.includes(this.suffix.substring(n-1,(d=this.suffix)==null?void 0:d.length))))return u.replace(h,gt.EMPTY_STRING)}return u});Lt(this,"checkInputPrecision",(u,i,o)=>{var n;let l=u,d=o;if(i<1/0){Array.isArray(d)&&(d=d.find(p=>p!==this.thousandSeparator)||d[0]);let h=new RegExp(this._charToRegExpExpression(d)+`\\d{${i}}.*$`),s=l.match(h),c=(s&&((n=s[0])==null?void 0:n.length))??0;if(c-1>i){let f=c-1-i;l=l.substring(0,l.length-f)}i===0&&this._compareOrIncludes(l[l.length-1],d,this.thousandSeparator)&&(l=l.substring(0,l.length-1))}return l})}applyMaskWithPattern(u,i){let[o,l]=i;return this.customPattern=l,this.applyMask(u,o)}applyMask(u,i,o=0,l=!1,d=!1,n=()=>{}){var N,k,I;if(!i||typeof u!="string")return gt.EMPTY_STRING;let h=0,s="",c=!1,f=!1,p=1,m=!1,g=u,E=o;g.slice(0,this.prefix.length)===this.prefix&&(g=g.slice(this.prefix.length,g.length)),this.suffix&&g.length>0&&(g=this.checkAndRemoveSuffix(g)),g==="("&&this.prefix&&(g="");let C=g.toString().split(gt.EMPTY_STRING);if(this.allowNegativeNumbers&&g.slice(h,h+1)===gt.MINUS&&(s+=g.slice(h,h+1)),i===gt.IP){let B=g.split(gt.DOT);this.ipError=this._validIP(B),i="099.099.099.099"}let A=[];for(let B=0;B<g.length;B++)(N=g[B])!=null&&N.match("\\d")&&A.push(g[B]??gt.EMPTY_STRING);if(i===gt.CPF_CNPJ&&(this.cpfCnpjError=A.length!==11&&A.length!==14,A.length>11?i="00.000.000/0000-00":i="000.000.000-00"),i.startsWith(gt.PERCENT)){if(g.match("[a-z]|[A-Z]")||g.match(/[-!$%^&*()_+|~=`{}\[\]:";'<>?,\/.]/)&&!d){g=this._stripToDecimal(g);let b=this.getPrecision(i);g=this.checkInputPrecision(g,b,this.decimalMarker)}let B=typeof this.decimalMarker=="string"?this.decimalMarker:gt.DOT;if(g.indexOf(B)>0&&!this.percentage(g.substring(0,g.indexOf(B)))){let b=g.substring(0,g.indexOf(B)-1);this.allowNegativeNumbers&&g.slice(h,h+1)===gt.MINUS&&!d&&(b=g.substring(0,g.indexOf(B))),g=`${b}${g.substring(g.indexOf(B),g.length)}`}let w="";this.allowNegativeNumbers&&g.slice(h,h+1)===gt.MINUS?w=`${gt.MINUS}${g.slice(h+1,h+g.length)}`:w=g,this.percentage(w)?s=this._splitPercentZero(g):s=this._splitPercentZero(g.substring(0,g.length-1))}else if(i.startsWith(gt.SEPARATOR)){(g.match("[wа-яА-Я]")||g.match("[ЁёА-я]")||g.match("[a-z]|[A-Z]")||g.match(/[-@#!$%\\^&*()_£¬'+|~=`{}\]:";<>.?/]/)||g.match("[^A-Za-z0-9,]"))&&(g=this._stripToDecimal(g));let B=this.getPrecision(i),w=Array.isArray(this.decimalMarker)?this.thousandSeparator===gt.DOT?gt.COMMA:gt.DOT:this.decimalMarker;if(B===0?g=this.allowNegativeNumbers?g.length>2&&g[0]===gt.MINUS&&g[1]===gt.NUMBER_ZERO&&g[2]!==this.thousandSeparator&&g[2]!==gt.COMMA&&g[2]!==gt.DOT?"-"+g.slice(2,g.length):g[0]===gt.NUMBER_ZERO&&g.length>1&&g[1]!==this.thousandSeparator&&g[1]!==gt.COMMA&&g[1]!==gt.DOT?g.slice(1,g.length):g:g.length>1&&g[0]===gt.NUMBER_ZERO&&g[1]!==this.thousandSeparator&&g[1]!==gt.COMMA&&g[1]!==gt.DOT?g.slice(1,g.length):g:(g[0]===w&&g.length>1&&(g=gt.NUMBER_ZERO+g.slice(0,g.length+1),this.plusOnePosition=!0),g[0]===gt.NUMBER_ZERO&&g[1]!==w&&g[1]!==this.thousandSeparator&&(g=g.length>1?g.slice(0,1)+w+g.slice(1,g.length+1):g,this.plusOnePosition=!0),this.allowNegativeNumbers&&g[0]===gt.MINUS&&(g[1]===w||g[1]===gt.NUMBER_ZERO)&&(g=g[1]===w&&g.length>2?g.slice(0,1)+gt.NUMBER_ZERO+g.slice(1,g.length):g[1]===gt.NUMBER_ZERO&&g.length>2&&g[2]!==w?g.slice(0,2)+w+g.slice(2,g.length):g,this.plusOnePosition=!0)),d){let pe=g.slice(this._findFirstNonZeroDigitIndex(g),g.length),le=g[E]===gt.NUMBER_ZERO||g[E]===w,fe=g[0]===gt.NUMBER_ZERO,we=g[0]===gt.MINUS,Pe=g[0]===this.thousandSeparator,Ne=g[1]===w,Ie=g[1]===gt.NUMBER_ZERO,Ye=g[2]===w;fe&&Ne&&le&&E<2&&(g=pe),we&&Ie&&Ye&&le&&E<3&&(g=gt.MINUS+pe),pe!==gt.MINUS&&(E===0&&(fe||Pe)||this.allowNegativeNumbers&&E===1&&we&&!Ie)&&(g=we?gt.MINUS+pe:pe)}let b=this._charToRegExpExpression(this.thousandSeparator),_='@#!$%^&*()_+|~=`{}\\[\\]:\\s,\\.";<>?\\/'.replace(b,"");if(Array.isArray(this.decimalMarker))for(let pe of this.decimalMarker)_=_.replace(this._charToRegExpExpression(pe),gt.EMPTY_STRING);else _=_.replace(this._charToRegExpExpression(this.decimalMarker),"");let S=new RegExp("["+_+"]");g.match(S)&&(g=g.substring(0,g.length-1)),g=this.checkInputPrecision(g,B,this.decimalMarker);let R=g.replace(new RegExp(b,"g"),"");s=this._formatWithSeparators(R,this.thousandSeparator,this.decimalMarker,B);let z=s.indexOf(gt.COMMA)-g.indexOf(gt.COMMA),j=s.length-g.length,ue=d&&s.length<u.length&&this.separatorLimit;if((s[E-1]===this.thousandSeparator||s[E-this.prefix.length])&&this.prefix&&d)E=E-1;else if(j>0&&s[E]!==this.thousandSeparator||ue){f=!0;let pe=0;do this._shift.add(E+pe),pe++;while(pe<j)}else s[E-1]===this.thousandSeparator||j===-4||j===-3||s[E]===this.thousandSeparator?(this._shift.clear(),this._shift.add(E-1)):z!==0&&E>0&&!(s.indexOf(gt.COMMA)>=E&&E>3)||!(s.indexOf(gt.DOT)>=E&&E>3)&&j<=0?(this._shift.clear(),f=!0,p=j,E+=j,this._shift.add(E)):this._shift.clear()}else for(let B=0,w=C[0];B<C.length&&h!==i.length;B++,w=C[B]??gt.EMPTY_STRING){let b=gt.SYMBOL_STAR in this.patterns;if(this._checkSymbolMask(w,i[h]??gt.EMPTY_STRING)&&i[h+1]===gt.SYMBOL_QUESTION)s+=w,h+=2;else if(i[h+1]===gt.SYMBOL_STAR&&c&&this._checkSymbolMask(w,i[h+2]??gt.EMPTY_STRING))s+=w,h+=3,c=!1;else if(this._checkSymbolMask(w,i[h]??gt.EMPTY_STRING)&&i[h+1]===gt.SYMBOL_STAR&&!b)s+=w,c=!0;else if(i[h+1]===gt.SYMBOL_QUESTION&&this._checkSymbolMask(w,i[h+2]??gt.EMPTY_STRING))s+=w,h+=3;else if(this._checkSymbolMask(w,i[h]??gt.EMPTY_STRING)){if(i[h]===gt.HOURS&&(this.apm?Number(w)>9:Number(w)>2)){E=this.leadZeroDateTime?E:E+1,h+=1,this._shiftStep(i,h,C.length),B--,this.leadZeroDateTime&&(s+="0");continue}if(i[h]===gt.HOUR&&(this.apm?s.length===1&&Number(s)>1||s==="1"&&Number(w)>2||g.slice(h-1,h).length===1&&Number(g.slice(h-1,h))>2||g.slice(h-1,h)==="1"&&Number(w)>2:s==="2"&&Number(w)>3||(s.slice(h-2,h)==="2"||s.slice(h-3,h)==="2"||s.slice(h-4,h)==="2"||s.slice(h-1,h)==="2")&&Number(w)>3&&h>10)){E=E+1,h+=1,B--;continue}if((i[h]===gt.MINUTE||i[h]===gt.SECOND)&&Number(w)>5){E=this.leadZeroDateTime?E:E+1,h+=1,this._shiftStep(i,h,C.length),B--,this.leadZeroDateTime&&(s+="0");continue}let _=31,S=g[h],R=g[h+1],z=g[h+2],j=g[h-1],ue=g[h-2],pe=g.slice(h-3,h-1),le=g.slice(h-1,h+1),fe=g.slice(h,h+2),we=g.slice(h-2,h);if(i[h]===gt.DAY){let Pe=i.slice(0,2)===gt.MONTHS,Ne=i.slice(0,2)===gt.MONTHS&&this.specialCharacters.includes(ue);if(Number(w)>3&&this.leadZeroDateTime||!Pe&&(Number(fe)>_||Number(le)>_||this.specialCharacters.includes(R))||(Ne?Number(le)>_||!this.specialCharacters.includes(S)&&this.specialCharacters.includes(z)||this.specialCharacters.includes(S):Number(fe)>_||this.specialCharacters.includes(R)&&!d)){E=this.leadZeroDateTime?E:E+1,h+=1,this._shiftStep(i,h,C.length),B--,this.leadZeroDateTime&&(s+="0");continue}}if(i[h]===gt.MONTH){let Pe=h===0&&(Number(w)>2||Number(fe)>12||this.specialCharacters.includes(R)&&!d),Ne=i.slice(h+2,h+3),Ie=pe.includes(Ne)&&i.includes("d0")&&(this.specialCharacters.includes(ue)&&Number(le)>12&&!this.specialCharacters.includes(S)||this.specialCharacters.includes(S)),Ye=Number(pe)<=_&&!this.specialCharacters.includes(pe)&&this.specialCharacters.includes(j)&&(Number(fe)>12||this.specialCharacters.includes(R)),ze=Number(fe)>12&&h===5||this.specialCharacters.includes(R)&&h===5,$=Number(pe)>_&&!this.specialCharacters.includes(pe)&&!this.specialCharacters.includes(we)&&Number(we)>12&&i.includes("d0"),ve=Number(pe)<=_&&!this.specialCharacters.includes(pe)&&!this.specialCharacters.includes(j)&&Number(le)>12;if(Number(w)>1&&this.leadZeroDateTime||Pe||Ie||ve||$||Ye||ze&&!this.leadZeroDateTime){E=this.leadZeroDateTime?E:E+1,h+=1,this._shiftStep(i,h,C.length),B--,this.leadZeroDateTime&&(s+="0");continue}}s+=w,h++}else this.specialCharacters.includes(w)&&i[h]===w?(s+=w,h++):this.specialCharacters.indexOf(i[h]??gt.EMPTY_STRING)!==-1?(s+=i[h],h++,this._shiftStep(i,h,C.length),B--):i[h]===gt.NUMBER_NINE&&this.showMaskTyped?this._shiftStep(i,h,C.length):this.patterns[i[h]??gt.EMPTY_STRING]&&((k=this.patterns[i[h]??gt.EMPTY_STRING])!=null&&k.optional)?(C[h]&&i!=="099.099.099.099"&&i!=="000.000.000-00"&&i!=="00.000.000/0000-00"&&!i.match(/^9+\.0+$/)&&!((I=this.patterns[i[h]??gt.EMPTY_STRING])!=null&&I.optional)&&(s+=C[h]),i.includes(gt.NUMBER_NINE+gt.SYMBOL_STAR)&&i.includes(gt.NUMBER_ZERO+gt.SYMBOL_STAR)&&h++,h++,B--):this.maskExpression[h+1]===gt.SYMBOL_STAR&&this._findSpecialChar(this.maskExpression[h+2]??gt.EMPTY_STRING)&&this._findSpecialChar(w)===this.maskExpression[h+2]&&c||this.maskExpression[h+1]===gt.SYMBOL_QUESTION&&this._findSpecialChar(this.maskExpression[h+2]??gt.EMPTY_STRING)&&this._findSpecialChar(w)===this.maskExpression[h+2]&&c?(h+=3,s+=w):this.showMaskTyped&&this.specialCharacters.indexOf(w)<0&&w!==this.placeHolderCharacter&&this.placeHolderCharacter.length===1&&(m=!0)}s.length+1===i.length&&this.specialCharacters.indexOf(i[i.length-1]??gt.EMPTY_STRING)!==-1&&(s+=i[i.length-1]);let F=E+1;for(;this._shift.has(F);)p++,F++;let v=l&&!i.startsWith(gt.SEPARATOR)?h:this._shift.has(E)?p:0;m&&v--,n(v,f),p<0&&this._shift.clear();let a=!1;d&&(a=C.every(B=>this.specialCharacters.includes(B)));let D=`${this.prefix}${a?gt.EMPTY_STRING:s}${this.showMaskTyped?"":this.suffix}`;s.length===0&&(D=this.dropSpecialCharacters?`${s}`:`${this.prefix}${s}`);let x=g.length===1&&this.specialCharacters.includes(i[0])&&g!==i[0];if(!this._checkSymbolMask(g,i[1])&&x)return"";if(s.includes(gt.MINUS)&&this.prefix&&this.allowNegativeNumbers){if(d&&s===gt.MINUS)return"";D=`${gt.MINUS}${this.prefix}${s.split(gt.MINUS).join(gt.EMPTY_STRING)}${this.suffix}`}return D}_findDropSpecialChar(u){return Array.isArray(this.dropSpecialCharacters)?this.dropSpecialCharacters.find(i=>i===u):this._findSpecialChar(u)}_findSpecialChar(u){return this.specialCharacters.find(i=>i===u)}_checkSymbolMask(u,i){var o,l;return this.patterns=this.customPattern?this.customPattern:this.patterns,(((o=this.patterns[i])==null?void 0:o.pattern)&&((l=this.patterns[i])==null?void 0:l.pattern.test(u)))??!1}_stripToDecimal(u){return u.split(gt.EMPTY_STRING).filter((i,o)=>{let l=typeof this.decimalMarker=="string"?i===this.decimalMarker:this.decimalMarker.includes(i);return i.match("^-?\\d")||i===this.thousandSeparator||l||i===gt.MINUS&&o===0&&this.allowNegativeNumbers}).join(gt.EMPTY_STRING)}_charToRegExpExpression(u){return u&&(u===" "?"\\s":"[\\^$.|?*+()".indexOf(u)>=0?`\\${u}`:u)}_shiftStep(u,i,o){let l=/[*?]/g.test(u.slice(0,i))?o:i;this._shift.add(l+this.prefix.length||0)}_compareOrIncludes(u,i,o){return Array.isArray(i)?i.filter(l=>l!==o).includes(u):u===i}_validIP(u){return!(u.length===4&&!u.some((i,o)=>u.length!==o+1?i===gt.EMPTY_STRING||Number(i)>255:i===gt.EMPTY_STRING||Number(i.substring(0,3))>255))}_splitPercentZero(u){if(u===gt.MINUS&&this.allowNegativeNumbers)return u;let i=typeof this.decimalMarker=="string"?u.indexOf(this.decimalMarker):u.indexOf(gt.DOT),o=this.allowNegativeNumbers&&u.includes(gt.MINUS)?"-":"";if(i===-1){let l=parseInt(o?u.slice(1,u.length):u,10);return isNaN(l)?gt.EMPTY_STRING:`${o}${l}`}else{let l=parseInt(u.replace("-","").substring(0,i),10),d=u.substring(i+1),n=isNaN(l)?"":l.toString(),h=typeof this.decimalMarker=="string"?this.decimalMarker:gt.DOT;return n===gt.EMPTY_STRING?gt.EMPTY_STRING:`${o}${n}${h}${d}`}}_findFirstNonZeroDigitIndex(u){for(let i=0;i<u.length;i++){let o=u[i];if(o&&o>="1"&&o<="9")return i}return-1}};Lt(t,"ɵfac",function(u){return new(u||t)}),Lt(t,"ɵprov",hu({token:t,factory:t.ɵfac}));let e=t;return e})(),oFe=(()=>{const t=class t extends aFe{constructor(){super(...arguments);Lt(this,"isNumberValue",!1);Lt(this,"maskIsShown","");Lt(this,"selStart",null);Lt(this,"selEnd",null);Lt(this,"writingValue",!1);Lt(this,"maskChanged",!1);Lt(this,"_maskExpressionArray",[]);Lt(this,"triggerOnMaskChange",!1);Lt(this,"_previousValue","");Lt(this,"_currentValue","");Lt(this,"_emitValue",!1);Lt(this,"_start");Lt(this,"_end");Lt(this,"onChange",i=>{});Lt(this,"_elementRef",Xt(ai,{optional:!0}));Lt(this,"document",Xt(hi));Lt(this,"_config",Xt(tp));Lt(this,"_renderer",Xt(Mc,{optional:!0}))}applyMask(i,o,l=0,d=!1,n=!1,h=()=>{}){if(!o)return i!==this.actualValue?this.actualValue:i;if(this.maskIsShown=this.showMaskTyped?this.showMaskInInput():gt.EMPTY_STRING,this.maskExpression===gt.IP&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(i||gt.HASH)),this.maskExpression===gt.CPF_CNPJ&&this.showMaskTyped&&(this.maskIsShown=this.showMaskInInput(i||gt.HASH)),!i&&this.showMaskTyped)return this.formControlResult(this.prefix),`${this.prefix}${this.maskIsShown}${this.suffix}`;let s=i&&typeof this.selStart=="number"?i[this.selStart]??gt.EMPTY_STRING:gt.EMPTY_STRING,c="",f=l;if(this.hiddenInput!==null&&!this.writingValue){let E=i&&i.length===1?i.split(gt.EMPTY_STRING):this.actualValue.split(gt.EMPTY_STRING);typeof this.selStart=="object"&&typeof this.selEnd=="object"?(this.selStart=Number(this.selStart),this.selEnd=Number(this.selEnd)):i!==gt.EMPTY_STRING&&E.length?typeof this.selStart=="number"&&typeof this.selEnd=="number"&&(i.length>E.length?E.splice(this.selStart,0,s):i.length<E.length&&(E.length-i.length===1?n?E.splice(this.selStart-1,1):E.splice(i.length-1,1):E.splice(this.selStart,this.selEnd-this.selStart))):E=[],this.showMaskTyped&&!this.hiddenInput&&(c=this.removeMask(i)),c=this.actualValue.length&&E.length<=i.length?this.shiftTypedSymbols(E.join(gt.EMPTY_STRING)):i}if(d&&(this.hiddenInput||!this.hiddenInput)&&(c=i),n&&this.specialCharacters.indexOf(this.maskExpression[f]??gt.EMPTY_STRING)!==-1&&this.showMaskTyped&&!this.prefix&&(c=this._currentValue),this.deletedSpecialCharacter&&f&&(this.specialCharacters.includes(this.actualValue.slice(f,f+1))?f=f+1:o.slice(f-1,f+1)!==gt.MONTHS&&(f=f-2),this.deletedSpecialCharacter=!1),this.showMaskTyped&&this.placeHolderCharacter.length===1&&!this.leadZeroDateTime&&(c=this.removeMask(i)),this.maskChanged?c=i:c=c&&c.length?c:i,this.showMaskTyped&&this.keepCharacterPositions&&this.actualValue&&!d&&!this.writingValue){let E=this.dropSpecialCharacters?this.removeMask(this.actualValue):this.actualValue;return this.formControlResult(E),this.actualValue?this.actualValue:`${this.prefix}${this.maskIsShown}${this.suffix}`}let p=super.applyMask(c,o,f,d,n,h);if(this.actualValue=this.getActualValue(p),this.thousandSeparator===gt.DOT&&this.decimalMarker===gt.DOT&&(this.decimalMarker=gt.COMMA),this.maskExpression.startsWith(gt.SEPARATOR)&&this.dropSpecialCharacters===!0&&(this.specialCharacters=this.specialCharacters.filter(E=>!this._compareOrIncludes(E,this.decimalMarker,this.thousandSeparator))),(p||p==="")&&(this._previousValue=this._currentValue,this._currentValue=p,this._emitValue=this._previousValue!==this._currentValue||this.maskChanged||this.writingValue||this._previousValue===this._currentValue&&d),this._emitValue&&(this.writingValue&&this.triggerOnMaskChange?requestAnimationFrame(()=>this.formControlResult(p)):this.formControlResult(p)),!this.showMaskTyped||this.showMaskTyped&&this.hiddenInput)return this.hiddenInput?n?this.hideInput(p,this.maskExpression):`${this.hideInput(p,this.maskExpression)}${this.maskIsShown.slice(p.length)}`:p;let m=p.length,g=`${this.prefix}${this.maskIsShown}${this.suffix}`;if(this.maskExpression.includes(gt.HOURS)){let E=this._numberSkipedSymbols(p);return`${p}${g.slice(m+E)}`}else if(this.maskExpression===gt.IP||this.maskExpression===gt.CPF_CNPJ)return`${p}${g}`;return`${p}${g.slice(m)}`}_numberSkipedSymbols(i){let o=/(^|\D)(\d\D)/g,l=o.exec(i),d=0;for(;l!=null;)d+=1,l=o.exec(i);return d}applyValueChanges(i,o,l,d=()=>{}){var h;let n=(h=this._elementRef)==null?void 0:h.nativeElement;n&&(n.value=this.applyMask(n.value,this.maskExpression,i,o,l,d),n!==this._getActiveElement()&&this.clearIfNotMatchFn())}hideInput(i,o){return i.split(gt.EMPTY_STRING).map((l,d)=>{var n,h;return this.patterns&&this.patterns[o[d]??gt.EMPTY_STRING]&&((n=this.patterns[o[d]??gt.EMPTY_STRING])!=null&&n.symbol)?(h=this.patterns[o[d]??gt.EMPTY_STRING])==null?void 0:h.symbol:l}).join(gt.EMPTY_STRING)}getActualValue(i){let o=i.split(gt.EMPTY_STRING).filter((l,d)=>{let n=this.maskExpression[d]??gt.EMPTY_STRING;return this._checkSymbolMask(l,n)||this.specialCharacters.includes(n)&&l===n});return o.join(gt.EMPTY_STRING)===i?o.join(gt.EMPTY_STRING):i}shiftTypedSymbols(i){let o="";return(i&&i.split(gt.EMPTY_STRING).map((l,d)=>{if(this.specialCharacters.includes(i[d+1]??gt.EMPTY_STRING)&&i[d+1]!==this.maskExpression[d+1])return o=l,i[d+1];if(o.length){let n=o;return o=gt.EMPTY_STRING,n}return l})||[]).join(gt.EMPTY_STRING)}numberToString(i){return!i&&i!==0||this.maskExpression.startsWith(gt.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters)||this.maskExpression.startsWith(gt.SEPARATOR)&&this.separatorLimit.length>14&&String(i).length>14?String(i):Number(i).toLocaleString("fullwide",{useGrouping:!1,maximumFractionDigits:20}).replace(`/${gt.MINUS}/`,gt.MINUS)}showMaskInInput(i){if(this.showMaskTyped&&this.shownMaskExpression){if(this.maskExpression.length!==this.shownMaskExpression.length)throw new Error("Mask expression must match mask placeholder length");return this.shownMaskExpression}else if(this.showMaskTyped){if(i){if(this.maskExpression===gt.IP)return this._checkForIp(i);if(this.maskExpression===gt.CPF_CNPJ)return this._checkForCpfCnpj(i)}return this.placeHolderCharacter.length===this.maskExpression.length?this.placeHolderCharacter:this.maskExpression.replace(/\w/g,this.placeHolderCharacter)}return""}clearIfNotMatchFn(){var o;let i=(o=this._elementRef)==null?void 0:o.nativeElement;i&&this.clearIfNotMatch&&this.prefix.length+this.maskExpression.length+this.suffix.length!==i.value.replace(this.placeHolderCharacter,gt.EMPTY_STRING).length&&(this.formElementProperty=["value",gt.EMPTY_STRING],this.applyMask("",this.maskExpression))}set formElementProperty([i,o]){!this._renderer||!this._elementRef||Promise.resolve().then(()=>{var l,d;return(d=this._renderer)==null?void 0:d.setProperty((l=this._elementRef)==null?void 0:l.nativeElement,i,o)})}checkDropSpecialCharAmount(i){return i.split(gt.EMPTY_STRING).filter(o=>this._findDropSpecialChar(o)).length}removeMask(i){return this._removeMask(this._removeSuffix(this._removePrefix(i)),this.specialCharacters.concat("_").concat(this.placeHolderCharacter))}_checkForIp(i){if(i===gt.HASH)return`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`;let o=[];for(let l=0;l<i.length;l++){let d=i[l]??gt.EMPTY_STRING;d&&d.match("\\d")&&o.push(d)}return o.length<=3?`${this.placeHolderCharacter}.${this.placeHolderCharacter}.${this.placeHolderCharacter}`:o.length>3&&o.length<=6?`${this.placeHolderCharacter}.${this.placeHolderCharacter}`:o.length>6&&o.length<=9?this.placeHolderCharacter:""}_checkForCpfCnpj(i){let o=`${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`,l=`${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}.${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}/${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}${this.placeHolderCharacter}-${this.placeHolderCharacter}${this.placeHolderCharacter}`;if(i===gt.HASH)return o;let d=[];for(let n=0;n<i.length;n++){let h=i[n]??gt.EMPTY_STRING;h&&h.match("\\d")&&d.push(h)}return d.length<=3?o.slice(d.length,o.length):d.length>3&&d.length<=6?o.slice(d.length+1,o.length):d.length>6&&d.length<=9?o.slice(d.length+2,o.length):d.length>9&&d.length<11?o.slice(d.length+3,o.length):d.length===11?"":d.length===12?i.length===17?l.slice(16,l.length):l.slice(15,l.length):d.length>12&&d.length<=14?l.slice(d.length+4,l.length):""}_getActiveElement(i=this.document){var l;let o=(l=i==null?void 0:i.activeElement)==null?void 0:l.shadowRoot;return o!=null&&o.activeElement?this._getActiveElement(o):i.activeElement}formControlResult(i){if(this.writingValue&&!i){this.onChange("");return}if(this.writingValue||!this.triggerOnMaskChange&&this.maskChanged){this.triggerOnMaskChange&&this.maskChanged&&this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(i)))))),this.maskChanged=!1;return}Array.isArray(this.dropSpecialCharacters)?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeMask(this._removeSuffix(this._removePrefix(i)),this.dropSpecialCharacters))))):this.dropSpecialCharacters||!this.dropSpecialCharacters&&this.prefix===i?this.onChange(this.outputTransformFn(this._toNumber(this._checkSymbols(this._removeSuffix(this._removePrefix(i)))))):this.onChange(this.outputTransformFn(this._toNumber(i)))}_toNumber(i){if(!this.isNumberValue||i===gt.EMPTY_STRING||this.maskExpression.startsWith(gt.SEPARATOR)&&(this.leadZero||!this.dropSpecialCharacters))return i;if(String(i).length>14&&this.maskExpression.startsWith(gt.SEPARATOR))return String(i);let o=Number(i);if(this.maskExpression.startsWith(gt.SEPARATOR)&&Number.isNaN(o)){let l=String(i).replace(",",".");return Number(l)}return Number.isNaN(o)?i:o}_removeMask(i,o){return this.maskExpression.startsWith(gt.PERCENT)&&i.includes(gt.DOT)?i:i&&i.replace(this._regExpForRemove(o),gt.EMPTY_STRING)}_removePrefix(i){return this.prefix?i&&i.replace(this.prefix,gt.EMPTY_STRING):i}_removeSuffix(i){return this.suffix?i&&i.replace(this.suffix,gt.EMPTY_STRING):i}_retrieveSeparatorValue(i){let o=Array.isArray(this.dropSpecialCharacters)?this.specialCharacters.filter(l=>this.dropSpecialCharacters.includes(l)):this.specialCharacters;return!this.deletedSpecialCharacter&&this._checkPatternForSpace()&&i.includes(gt.WHITE_SPACE)&&this.maskExpression.includes(gt.SYMBOL_STAR)&&(o=o.filter(l=>l!==gt.WHITE_SPACE)),this._removeMask(i,o)}_regExpForRemove(i){return new RegExp(i.map(o=>`\\${o}`).join("|"),"gi")}_replaceDecimalMarkerToDot(i){let o=Array.isArray(this.decimalMarker)?this.decimalMarker:[this.decimalMarker];return i.replace(this._regExpForRemove(o),gt.DOT)}_checkSymbols(i){let o=i;if(o===gt.EMPTY_STRING)return o;this.maskExpression.startsWith(gt.PERCENT)&&this.decimalMarker===gt.COMMA&&(o=o.replace(gt.COMMA,gt.DOT));let l=this._retrieveSeparatorPrecision(this.maskExpression),d=this._replaceDecimalMarkerToDot(this._retrieveSeparatorValue(o));return this.isNumberValue&&l?o===this.decimalMarker?null:d.length>14?String(d):this._checkPrecision(this.maskExpression,d):d}_checkPatternForSpace(){var i,o,l;for(let d in this.patterns)if(this.patterns[d]&&((i=this.patterns[d])!=null&&i.hasOwnProperty("pattern"))){let n=(o=this.patterns[d])==null?void 0:o.pattern.toString(),h=(l=this.patterns[d])==null?void 0:l.pattern;if(n!=null&&n.includes(gt.WHITE_SPACE)&&(h!=null&&h.test(this.maskExpression)))return!0}return!1}_retrieveSeparatorPrecision(i){let o=i.match(new RegExp("^separator\\.([^d]*)"));return o?Number(o[1]):null}_checkPrecision(i,o){let l=this.getPrecision(i),d=o;return i.indexOf("2")>0||this.leadZero&&Number(l)>0?(this.decimalMarker===gt.COMMA&&this.leadZero&&(d=d.replace(",",".")),this.leadZero?Number(d).toFixed(Number(l)):Number(d).toFixed(2)):this.numberToString(d)}_repeatPatternSymbols(i){return i.match(/{[0-9]+}/)&&i.split(gt.EMPTY_STRING).reduce((o,l,d)=>{if(this._start=l===gt.CURLY_BRACKETS_LEFT?d:this._start,l!==gt.CURLY_BRACKETS_RIGHT)return this._findSpecialChar(l)?o+l:o;this._end=d;let n=Number(i.slice(this._start+1,this._end)),h=new Array(n+1).join(i[this._start-1]);if(i.slice(0,this._start).length>1&&i.includes(gt.LETTER_S)){let s=i.slice(0,this._start-1);return s.includes(gt.CURLY_BRACKETS_LEFT)?o+h:s+o+h}else return o+h},"")||i}currentLocaleDecimalMarker(){return 1.1.toLocaleString().substring(1,2)}};Lt(t,"ɵfac",(()=>{let i;return function(o){return(i||(i=Kr(t)))(o||t)}})()),Lt(t,"ɵprov",hu({token:t,factory:t.ɵfac}));let e=t;return e})();function sFe(){let e=Xt(wC),t=Xt(_C);return t instanceof Function?Fu(Fu({},e),t()):Fu(Fu({},e),t)}function lFe(e){return[{provide:_C,useValue:e},{provide:wC,useValue:rFe},{provide:tp,useFactory:sFe},oFe]}function cFe(e){return N6(lFe(e))}function Hc(e){e||(k4(),e=Xt(Qa));let t=new vn(r=>e.onDestroy(r.next.bind(r)));return r=>r.pipe(rn(t))}function dFe(e,t){}var zd=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}},SC=(()=>{const t=class t extends Sh{constructor(u,i,o,l,d,n,h,s){super(),this._elementRef=u,this._focusTrapFactory=i,this._config=l,this._interactivityChecker=d,this._ngZone=n,this._overlayRef=h,this._focusMonitor=s,this._platform=Xt(_n),this._focusTrap=null,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this._ariaLabelledByQueue=[],this._changeDetectorRef=Xt(kn),this.attachDomPortal=c=>{this._portalOutlet.hasAttached();let f=this._portalOutlet.attachDomPortal(c);return this._contentAttached(),f},this._document=o,this._config.ariaLabelledBy&&this._ariaLabelledByQueue.push(this._config.ariaLabelledBy)}_addAriaLabelledBy(u){this._ariaLabelledByQueue.push(u),this._changeDetectorRef.markForCheck()}_removeAriaLabelledBy(u){let i=this._ariaLabelledByQueue.indexOf(u);i>-1&&(this._ariaLabelledByQueue.splice(i,1),this._changeDetectorRef.markForCheck())}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(u){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachComponentPortal(u);return this._contentAttached(),i}attachTemplatePortal(u){this._portalOutlet.hasAttached();let i=this._portalOutlet.attachTemplatePortal(u);return this._contentAttached(),i}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(u,i){this._interactivityChecker.isFocusable(u)||(u.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let o=()=>{u.removeEventListener("blur",o),u.removeEventListener("mousedown",o),u.removeAttribute("tabindex")};u.addEventListener("blur",o),u.addEventListener("mousedown",o)})),u.focus(i)}_focusByCssSelector(u,i){let o=this._elementRef.nativeElement.querySelector(u);o&&this._forceFocus(o,i)}_trapFocus(){var i;let u=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||u.focus();break;case!0:case"first-tabbable":(i=this._focusTrap)==null||i.focusInitialElementWhenReady().then(o=>{o||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus);break}}_restoreFocus(){let u=this._config.restoreFocus,i=null;if(typeof u=="string"?i=this._document.querySelector(u):typeof u=="boolean"?i=u?this._elementFocusedBeforeDialogWasOpened:null:u&&(i=u),this._config.restoreFocus&&i&&typeof i.focus=="function"){let o=Zl(),l=this._elementRef.nativeElement;(!o||o===this._document.body||o===l||l.contains(o))&&(this._focusMonitor?(this._focusMonitor.focusVia(i,this._closeInteractionType),this._closeInteractionType=null):i.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){let u=this._elementRef.nativeElement,i=Zl();return u===i||u.contains(i)}_initializeFocusTrap(){this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=Zl()))}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}};t.ɵfac=function(u){return new(u||t)(ct(ai),ct(_f),ct(hi,8),ct(zd),ct(xf),ct(ri),ct(Ih),ct(cl))},t.ɵcmp=Ai({type:t,selectors:[["cdk-dialog-container"]],viewQuery:function(u,i){if(u&1&&An(ds,7),u&2){let o;ci(o=di())&&(i._portalOutlet=o.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(u,i){u&2&&Ku("id",i._config.id||null)("role",i._config.role)("aria-modal",i._config.ariaModal)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledByQueue[0])("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null)},standalone:!0,features:[Sn,_i],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(u,i){u&1&&Iu(0,dFe,0,0,"ng-template",0)},dependencies:[ds],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2});let e=t;return e})(),j1=class{constructor(e,t){this.overlayRef=e,this.config=t,this.closed=new Mu,this.disableClose=t.disableClose,this.backdropClick=e.backdropClick(),this.keydownEvents=e.keydownEvents(),this.outsidePointerEvents=e.outsidePointerEvents(),this.id=t.id,this.keydownEvents.subscribe(r=>{r.keyCode===27&&!this.disableClose&&!vr(r)&&(r.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=e.detachments().subscribe(()=>{t.closeOnOverlayDetachments!==!1&&this.close()})}close(e,t){if(this.containerInstance){let r=this.closed;this.containerInstance._closeInteractionType=(t==null?void 0:t.focusOrigin)||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),r.next(e),r.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(e="",t=""){return this.overlayRef.updateSize({width:e,height:t}),this}addPanelClass(e){return this.overlayRef.addPanelClass(e),this}removePanelClass(e){return this.overlayRef.removePanelClass(e),this}},hFe=new iu("DialogScrollStrategy",{providedIn:"root",factory:()=>{let e=Xt(rr);return()=>e.scrollStrategies.block()}}),fFe=new iu("DialogData"),pFe=new iu("DefaultDialogConfig"),mFe=0,kC=(()=>{const t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(u,i,o,l,d,n){this._overlay=u,this._injector=i,this._defaultOptions=o,this._parentDialog=l,this._overlayContainer=d,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Mu,this._afterOpenedAtThisLevel=new Mu,this._ariaHiddenElements=new Map,this.afterAllClosed=$l(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(qr(void 0))),this._scrollStrategy=n}open(u,i){let o=this._defaultOptions||new zd;i=Fu(Fu({},o),i),i.id=i.id||`cdk-dialog-${mFe++}`,i.id&&this.getDialogById(i.id);let l=this._getOverlayConfig(i),d=this._overlay.create(l),n=new j1(d,i),h=this._attachContainer(d,n,i);return n.containerInstance=h,this._attachDialogContent(u,n,h,i),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(n),n.closed.subscribe(()=>this._removeOpenDialog(n,!0)),this.afterOpened.next(n),n}closeAll(){U1(this.openDialogs,u=>u.close())}getDialogById(u){return this.openDialogs.find(i=>i.id===u)}ngOnDestroy(){U1(this._openDialogsAtThisLevel,u=>{u.config.closeOnDestroy===!1&&this._removeOpenDialog(u,!1)}),U1(this._openDialogsAtThisLevel,u=>u.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(u){let i=new Vc({positionStrategy:u.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:u.scrollStrategy||this._scrollStrategy(),panelClass:u.panelClass,hasBackdrop:u.hasBackdrop,direction:u.direction,minWidth:u.minWidth,minHeight:u.minHeight,maxWidth:u.maxWidth,maxHeight:u.maxHeight,width:u.width,height:u.height,disposeOnNavigation:u.closeOnNavigation});return u.backdropClass&&(i.backdropClass=u.backdropClass),i}_attachContainer(u,i,o){var s;let l=o.injector||((s=o.viewContainerRef)==null?void 0:s.injector),d=[{provide:zd,useValue:o},{provide:j1,useValue:i},{provide:Ih,useValue:u}],n;o.container?typeof o.container=="function"?n=o.container:(n=o.container.type,d.push(...o.container.providers(o))):n=SC;let h=new Do(n,o.viewContainerRef,Or.create({parent:l||this._injector,providers:d}),o.componentFactoryResolver);return u.attach(h).instance}_attachDialogContent(u,i,o,l){if(u instanceof ls){let d=this._createInjector(l,i,o,void 0),n={$implicit:l.data,dialogRef:i};l.templateContext&&(n=Fu(Fu({},n),typeof l.templateContext=="function"?l.templateContext():l.templateContext)),o.attachTemplatePortal(new wh(u,null,n,d))}else{let d=this._createInjector(l,i,o,this._injector),n=o.attachComponentPortal(new Do(u,l.viewContainerRef,d,l.componentFactoryResolver));i.componentRef=n,i.componentInstance=n.instance}}_createInjector(u,i,o,l){var h;let d=u.injector||((h=u.viewContainerRef)==null?void 0:h.injector),n=[{provide:fFe,useValue:u.data},{provide:j1,useValue:i}];return u.providers&&(typeof u.providers=="function"?n.push(...u.providers(i,u,o)):n.push(...u.providers)),u.direction&&(!d||!d.get(Xr,null,{optional:!0}))&&n.push({provide:Xr,useValue:{value:u.direction,change:gn()}}),Or.create({parent:d||l,providers:n})}_removeOpenDialog(u,i){let o=this.openDialogs.indexOf(u);o>-1&&(this.openDialogs.splice(o,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((l,d)=>{l?d.setAttribute("aria-hidden",l):d.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),i&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){let u=this._overlayContainer.getContainerElement();if(u.parentElement){let i=u.parentElement.children;for(let o=i.length-1;o>-1;o--){let l=i[o];l!==u&&l.nodeName!=="SCRIPT"&&l.nodeName!=="STYLE"&&!l.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(l,l.getAttribute("aria-hidden")),l.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){let u=this._parentDialog;return u?u._getAfterAllClosed():this._afterAllClosedAtThisLevel}};t.ɵfac=function(u){return new(u||t)(It(rr),It(Or),It(pFe,8),It(t,12),It(kh),It(hFe))},t.ɵprov=hu({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function U1(e,t){let r=e.length;for(;r--;)t(e[r])}var gFe=(()=>{const t=class t{};t.ɵfac=function(u){return new(u||t)},t.ɵmod=dn({type:t}),t.ɵinj=cn({providers:[kC],imports:[Ph,fc,vg,fc]});let e=t;return e})();function CFe(e,t){}var s6=class{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}},H1="mdc-dialog--open",F7="mdc-dialog--opening",A7="mdc-dialog--closing",EFe=150,FFe=75,AFe=(()=>{const t=class t extends SC{constructor(u,i,o,l,d,n,h,s,c){super(u,i,o,l,d,n,h,c),this._animationMode=s,this._animationStateChanged=new bu,this._animationsEnabled=this._animationMode!=="NoopAnimations",this._actionSectionCount=0,this._hostElement=this._elementRef.nativeElement,this._enterAnimationDuration=this._animationsEnabled?v7(this._config.enterAnimationDuration)??EFe:0,this._exitAnimationDuration=this._animationsEnabled?v7(this._config.exitAnimationDuration)??FFe:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._enterAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._exitAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._enterAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(D7,`${this._enterAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(F7,H1)),this._waitForAnimationToComplete(this._enterAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(H1),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._exitAnimationDuration}),this._hostElement.classList.remove(H1),this._animationsEnabled?(this._hostElement.style.setProperty(D7,`${this._exitAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(A7)),this._waitForAnimationToComplete(this._exitAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_updateActionSectionCount(u){this._actionSectionCount+=u,this._changeDetectorRef.markForCheck()}_clearAnimationClasses(){this._hostElement.classList.remove(F7,A7)}_waitForAnimationToComplete(u,i){this._animationTimer!==null&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(i,u)}_requestAnimationFrame(u){this._ngZone.runOutsideAngular(()=>{typeof requestAnimationFrame=="function"?requestAnimationFrame(u):u()})}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(u){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:u})}ngOnDestroy(){super.ngOnDestroy(),this._animationTimer!==null&&clearTimeout(this._animationTimer)}attachComponentPortal(u){let i=super.attachComponentPortal(u);return i.location.nativeElement.classList.add("mat-mdc-dialog-component-host"),i}};t.ɵfac=function(u){return new(u||t)(ct(ai),ct(_f),ct(hi,8),ct(s6),ct(xf),ct(ri),ct(Ih),ct(Jr,8),ct(cl))},t.ɵcmp=Ai({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:10,hostBindings:function(u,i){u&2&&(eo("id",i._config.id),Ku("aria-modal",i._config.ariaModal)("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledByQueue[0])("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),zi("_mat-animation-noopable",!i._animationsEnabled)("mat-mdc-dialog-container-with-actions",i._actionSectionCount>0))},standalone:!0,features:[Sn,_i],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(u,i){u&1&&(At(0,"div",0)(1,"div",1),Iu(2,CFe,0,0,"ng-template",2),vt()())},dependencies:[ds],styles:['.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mdc-dialog,.mdc-dialog__scrim{position:fixed;top:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;width:100%;height:100%}.mdc-dialog{display:none;z-index:var(--mdc-dialog-z-index, 7)}.mdc-dialog .mdc-dialog__content{padding:20px 24px 20px 24px}.mdc-dialog .mdc-dialog__surface{min-width:280px}@media(max-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:calc(100vw - 32px)}}@media(min-width: 592px){.mdc-dialog .mdc-dialog__surface{max-width:560px}}.mdc-dialog .mdc-dialog__surface{max-height:calc(100% - 32px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-width:none}@media(max-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px;width:560px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 112px)}}@media(max-width: 720px)and (min-width: 672px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:560px}}@media(max-width: 720px)and (max-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:calc(100vh - 160px)}}@media(max-width: 720px)and (min-height: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{max-height:560px}}@media(max-width: 720px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}@media(max-width: 720px)and (max-height: 400px),(max-width: 600px),(min-width: 720px)and (max-height: 400px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{height:100%;max-height:100vh;max-width:100vw;width:100vw;border-radius:0}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{order:-1;left:-12px}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__header{padding:0 16px 9px;justify-content:flex-start}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__title{margin-left:calc(16px - 2 * 12px)}}@media(min-width: 960px){.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface{width:calc(100vw - 400px)}.mdc-dialog.mdc-dialog--fullscreen .mdc-dialog__surface .mdc-dialog__close{right:-12px}}.mdc-dialog.mdc-dialog__scrim--hidden .mdc-dialog__scrim{opacity:0}.mdc-dialog__scrim{opacity:0;z-index:-1}.mdc-dialog__container{display:flex;flex-direction:row;align-items:center;justify-content:space-around;box-sizing:border-box;height:100%;opacity:0;pointer-events:none}.mdc-dialog__surface{position:relative;display:flex;flex-direction:column;flex-grow:0;flex-shrink:0;box-sizing:border-box;max-width:100%;max-height:100%;pointer-events:auto;overflow-y:auto;outline:0;transform:scale(0.8)}.mdc-dialog__surface .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}[dir=rtl] .mdc-dialog__surface,.mdc-dialog__surface[dir=rtl]{text-align:right}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-dialog__surface{outline:2px solid windowText}}.mdc-dialog__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:2px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-dialog__surface::before{border-color:CanvasText}}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.mdc-dialog__surface::before{content:none}}.mdc-dialog__title{display:block;margin-top:0;position:relative;flex-shrink:0;box-sizing:border-box;margin:0 0 1px;padding:0 24px 9px}.mdc-dialog__title::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}[dir=rtl] .mdc-dialog__title,.mdc-dialog__title[dir=rtl]{text-align:right}.mdc-dialog--scrollable .mdc-dialog__title{margin-bottom:1px;padding-bottom:15px}.mdc-dialog--fullscreen .mdc-dialog__header{align-items:baseline;border-bottom:1px solid rgba(0,0,0,0);display:inline-flex;justify-content:space-between;padding:0 24px 9px;z-index:1}@media screen and (forced-colors: active){.mdc-dialog--fullscreen .mdc-dialog__header{border-bottom-color:CanvasText}}.mdc-dialog--fullscreen .mdc-dialog__header .mdc-dialog__close{right:-12px}.mdc-dialog--fullscreen .mdc-dialog__title{margin-bottom:0;padding:0;border-bottom:0}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__title{border-bottom:0;margin-bottom:0}.mdc-dialog--fullscreen .mdc-dialog__close{top:5px}.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog--fullscreen.mdc-dialog--scrollable .mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--fullscreen--titleless .mdc-dialog__close{margin-top:4px}.mdc-dialog--fullscreen--titleless.mdc-dialog--scrollable .mdc-dialog__close{margin-top:0}.mdc-dialog__content{flex-grow:1;box-sizing:border-box;margin:0;overflow:auto}.mdc-dialog__content>:first-child{margin-top:0}.mdc-dialog__content>:last-child{margin-bottom:0}.mdc-dialog__title+.mdc-dialog__content,.mdc-dialog__header+.mdc-dialog__content{padding-top:0}.mdc-dialog--scrollable .mdc-dialog__title+.mdc-dialog__content{padding-top:8px;padding-bottom:8px}.mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:6px 0 0}.mdc-dialog--scrollable .mdc-dialog__content .mdc-deprecated-list:first-child:last-child{padding:0}.mdc-dialog__actions{display:flex;position:relative;flex-shrink:0;flex-wrap:wrap;align-items:center;justify-content:flex-end;box-sizing:border-box;min-height:52px;margin:0;padding:8px;border-top:1px solid rgba(0,0,0,0)}@media screen and (forced-colors: active){.mdc-dialog__actions{border-top-color:CanvasText}}.mdc-dialog--stacked .mdc-dialog__actions{flex-direction:column;align-items:flex-end}.mdc-dialog__button{margin-left:8px;margin-right:0;max-width:100%;text-align:right}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{margin-left:0;margin-right:8px}.mdc-dialog__button:first-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button:first-child,.mdc-dialog__button:first-child[dir=rtl]{margin-left:0;margin-right:0}[dir=rtl] .mdc-dialog__button,.mdc-dialog__button[dir=rtl]{text-align:left}.mdc-dialog--stacked .mdc-dialog__button:not(:first-child){margin-top:12px}.mdc-dialog--open,.mdc-dialog--opening,.mdc-dialog--closing{display:flex}.mdc-dialog--opening .mdc-dialog__scrim{transition:opacity 150ms linear}.mdc-dialog--opening .mdc-dialog__container{transition:opacity 75ms linear,transform 150ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-dialog--closing .mdc-dialog__scrim,.mdc-dialog--closing .mdc-dialog__container{transition:opacity 75ms linear}.mdc-dialog--closing .mdc-dialog__container{transform:none}.mdc-dialog--closing .mdc-dialog__surface{transform:none}.mdc-dialog--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{opacity:1}.mdc-dialog--open .mdc-dialog__surface{transform:none}.mdc-dialog--open.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim{opacity:1}.mdc-dialog--open.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{transition:opacity 75ms linear}.mdc-dialog--open.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim{transition:opacity 150ms linear}.mdc-dialog__surface-scrim{display:none;opacity:0;position:absolute;width:100%;height:100%;z-index:1}.mdc-dialog__surface-scrim--shown .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--showing .mdc-dialog__surface-scrim,.mdc-dialog__surface-scrim--hiding .mdc-dialog__surface-scrim{display:block}.mdc-dialog-scroll-lock{overflow:hidden}.mdc-dialog--no-content-padding .mdc-dialog__content{padding:0}.mdc-dialog--sheet .mdc-dialog__container .mdc-dialog__close{right:12px;top:9px;position:absolute;z-index:1}.mdc-dialog__scrim--removed{pointer-events:none}.mdc-dialog__scrim--removed .mdc-dialog__scrim,.mdc-dialog__scrim--removed .mdc-dialog__surface-scrim{display:none}.mat-mdc-dialog-content{max-height:65vh}.mat-mdc-dialog-container{position:static;display:block}.mat-mdc-dialog-container,.mat-mdc-dialog-container .mdc-dialog__container,.mat-mdc-dialog-container .mdc-dialog__surface{max-height:inherit;min-height:inherit;min-width:inherit;max-width:inherit}.mat-mdc-dialog-container .mdc-dialog__surface{width:100%;height:100%}.mat-mdc-dialog-component-host{display:contents}.mat-mdc-dialog-container{--mdc-dialog-container-elevation: var(--mdc-dialog-container-elevation-shadow);outline:0}.mat-mdc-dialog-container .mdc-dialog__surface{background-color:var(--mdc-dialog-container-color, white)}.mat-mdc-dialog-container .mdc-dialog__surface{box-shadow:var(--mdc-dialog-container-elevation, 0px 11px 15px -7px rgba(0, 0, 0, 0.2), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 9px 46px 8px rgba(0, 0, 0, 0.12))}.mat-mdc-dialog-container .mdc-dialog__surface{border-radius:var(--mdc-dialog-container-shape, 4px)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, Roboto, sans-serif);line-height:var(--mdc-dialog-subhead-line-height, 1.5rem);font-size:var(--mdc-dialog-subhead-size, 1rem);font-weight:var(--mdc-dialog-subhead-weight, 400);letter-spacing:var(--mdc-dialog-subhead-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, rgba(0, 0, 0, 0.87))}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, Roboto, sans-serif);line-height:var(--mdc-dialog-supporting-text-line-height, 1.5rem);font-size:var(--mdc-dialog-supporting-text-size, 1rem);font-weight:var(--mdc-dialog-supporting-text-weight, 400);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 0.03125em)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, rgba(0, 0, 0, 0.6))}.mat-mdc-dialog-container .mdc-dialog__container{transition:opacity linear var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container .mdc-dialog__surface{transition:transform var(--mat-dialog-transition-duration, 0ms) 0ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container,.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__surface{transition:none}.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-max-width, 80vw);min-width:var(--mat-dialog-container-min-width, 0)}@media(max-width: 599px){.cdk-overlay-pane.mat-mdc-dialog-panel{max-width:var(--mat-dialog-container-small-max-width, 80vw)}}.mat-mdc-dialog-title{padding:var(--mat-dialog-headline-padding, 0 24px 9px)}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-container .mat-mdc-dialog-content{padding:var(--mat-dialog-content-padding, 20px 24px)}.mat-mdc-dialog-container-with-actions .mat-mdc-dialog-content{padding:var(--mat-dialog-with-actions-content-padding, 20px 24px)}.mat-mdc-dialog-container .mat-mdc-dialog-title+.mat-mdc-dialog-content{padding-top:0}.mat-mdc-dialog-actions{padding:var(--mat-dialog-actions-padding, 8px);justify-content:var(--mat-dialog-actions-alignment, start)}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-start,.mat-mdc-dialog-actions[align=start]{justify-content:start}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-center,.mat-mdc-dialog-actions[align=center]{justify-content:center}.mat-mdc-dialog-actions.mat-mdc-dialog-actions-align-end,.mat-mdc-dialog-actions[align=end]{justify-content:flex-end}.mat-mdc-dialog-actions .mat-button-base+.mat-button-base,.mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-mdc-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-mdc-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2});let e=t;return e})(),D7="--mat-dialog-transition-duration";function v7(e){return e==null?null:typeof e=="number"?e:e.endsWith("ms")?bd(e.substring(0,e.length-2)):e.endsWith("s")?bd(e.substring(0,e.length-1))*1e3:e==="0"?0:null}var id=function(e){return e[e.OPEN=0]="OPEN",e[e.CLOSING=1]="CLOSING",e[e.CLOSED=2]="CLOSED",e}(id||{}),up=class{constructor(e,t,r){this._ref=e,this._containerInstance=r,this._afterOpened=new Mu,this._beforeClosed=new Mu,this._state=id.OPEN,this.disableClose=t.disableClose,this.id=e.id,e.addPanelClass("mat-mdc-dialog-panel"),r._animationStateChanged.pipe(tr(u=>u.state==="opened"),Yn(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),r._animationStateChanged.pipe(tr(u=>u.state==="closed"),Yn(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),e.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),Wr(this.backdropClick(),this.keydownEvents().pipe(tr(u=>u.keyCode===27&&!this.disableClose&&!vr(u)))).subscribe(u=>{this.disableClose||(u.preventDefault(),IC(this,u.type==="keydown"?"keyboard":"mouse"))})}close(e){this._result=e,this._containerInstance._animationStateChanged.pipe(tr(t=>t.state==="closing"),Yn(1)).subscribe(t=>{this._beforeClosed.next(e),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),t.totalTime+100)}),this._state=id.CLOSING,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._ref.closed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._ref.backdropClick}keydownEvents(){return this._ref.keydownEvents}updatePosition(e){let t=this._ref.config.positionStrategy;return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._ref.updatePosition(),this}updateSize(e="",t=""){return this._ref.updateSize(e,t),this}addPanelClass(e){return this._ref.addPanelClass(e),this}removePanelClass(e){return this._ref.removePanelClass(e),this}getState(){return this._state}_finishDialogClose(){this._state=id.CLOSED,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}};function IC(e,t,r){return e._closeInteractionType=t,e.close(r)}var PC=new iu("MatMdcDialogData"),DFe=new iu("mat-mdc-dialog-default-options"),vFe=new iu("mat-mdc-dialog-scroll-strategy",{providedIn:"root",factory:()=>{let e=Xt(rr);return()=>e.scrollStrategies.block()}}),BFe=0,gs=(()=>{const t=class t{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){let u=this._parentDialog;return u?u._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(u,i,o,l,d,n,h,s){this._overlay=u,this._defaultOptions=l,this._scrollStrategy=d,this._parentDialog=n,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Mu,this._afterOpenedAtThisLevel=new Mu,this.dialogConfigClass=s6,this.afterAllClosed=$l(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(qr(void 0))),this._dialog=i.get(kC),this._dialogRefConstructor=up,this._dialogContainerType=AFe,this._dialogDataToken=PC}open(u,i){let o;i=Fu(Fu({},this._defaultOptions||new s6),i),i.id=i.id||`mat-mdc-dialog-${BFe++}`,i.scrollStrategy=i.scrollStrategy||this._scrollStrategy();let l=this._dialog.open(u,ln(Fu({},i),{positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:i},{provide:zd,useValue:i}]},templateContext:()=>({dialogRef:o}),providers:(d,n,h)=>(o=new this._dialogRefConstructor(d,i,h),o.updatePosition(i==null?void 0:i.position),[{provide:this._dialogContainerType,useValue:h},{provide:this._dialogDataToken,useValue:n.data},{provide:this._dialogRefConstructor,useValue:o}])}));return o.componentRef=l.componentRef,o.componentInstance=l.componentInstance,this.openDialogs.push(o),this.afterOpened.next(o),o.afterClosed().subscribe(()=>{let d=this.openDialogs.indexOf(o);d>-1&&(this.openDialogs.splice(d,1),this.openDialogs.length||this._getAfterAllClosed().next())}),o}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(u){return this.openDialogs.find(i=>i.id===u)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(u){let i=u.length;for(;i--;)u[i].close()}};t.ɵfac=function(u){return new(u||t)(It(rr),It(Or),It(bf,8),It(DFe,8),It(vFe),It(t,12),It(kh),It(Jr,8))},t.ɵprov=hu({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})(),yFe=0,ip=(()=>{const t=class t{constructor(u,i,o){this.dialogRef=u,this._elementRef=i,this._dialog=o,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=OC(this._elementRef,this._dialog.openDialogs))}ngOnChanges(u){let i=u._matDialogClose||u._matDialogCloseResult;i&&(this.dialogResult=i.currentValue)}_onButtonClick(u){IC(this.dialogRef,u.screenX===0&&u.screenY===0?"keyboard":"mouse",this.dialogResult)}};t.ɵfac=function(u){return new(u||t)(ct(up,8),ct(ai),ct(gs))},t.ɵdir=$u({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(u,i){u&1&&Ou("click",function(o){return i._onButtonClick(o)}),u&2&&Ku("aria-label",i.ariaLabel||null)("type",i.type)},inputs:{ariaLabel:[Gt.None,"aria-label","ariaLabel"],type:"type",dialogResult:[Gt.None,"mat-dialog-close","dialogResult"],_matDialogClose:[Gt.None,"matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],standalone:!0,features:[Kn]});let e=t;return e})(),TC=(()=>{const t=class t{constructor(u,i,o){this._dialogRef=u,this._elementRef=i,this._dialog=o}ngOnInit(){this._dialogRef||(this._dialogRef=OC(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(()=>{this._onAdd()})}ngOnDestroy(){var u;(u=this._dialogRef)!=null&&u._containerInstance&&Promise.resolve().then(()=>{this._onRemove()})}};t.ɵfac=function(u){return new(u||t)(ct(up,8),ct(ai),ct(gs))},t.ɵdir=$u({type:t,standalone:!0});let e=t;return e})(),np=(()=>{const t=class t extends TC{constructor(){super(...arguments),this.id=`mat-mdc-dialog-title-${yFe++}`}_onAdd(){var u,i;(i=(u=this._dialogRef._containerInstance)==null?void 0:u._addAriaLabelledBy)==null||i.call(u,this.id)}_onRemove(){var u,i,o;(o=(i=(u=this._dialogRef)==null?void 0:u._containerInstance)==null?void 0:i._removeAriaLabelledBy)==null||o.call(i,this.id)}};t.ɵfac=(()=>{let u;return function(i){return(u||(u=Kr(t)))(i||t)}})(),t.ɵdir=$u({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-mdc-dialog-title","mdc-dialog__title"],hostVars:1,hostBindings:function(u,i){u&2&&eo("id",i.id)},inputs:{id:"id"},exportAs:["matDialogTitle"],standalone:!0,features:[Sn]});let e=t;return e})(),rp=(()=>{const t=class t{};t.ɵfac=function(u){return new(u||t)},t.ɵdir=$u({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-mdc-dialog-content","mdc-dialog__content"],standalone:!0});let e=t;return e})(),ap=(()=>{const t=class t extends TC{_onAdd(){var u,i;(i=(u=this._dialogRef._containerInstance)==null?void 0:u._updateActionSectionCount)==null||i.call(u,1)}_onRemove(){var u,i;(i=(u=this._dialogRef._containerInstance)==null?void 0:u._updateActionSectionCount)==null||i.call(u,-1)}};t.ɵfac=(()=>{let u;return function(i){return(u||(u=Kr(t)))(i||t)}})(),t.ɵdir=$u({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-mdc-dialog-actions","mdc-dialog__actions"],hostVars:6,hostBindings:function(u,i){u&2&&zi("mat-mdc-dialog-actions-align-start",i.align==="start")("mat-mdc-dialog-actions-align-center",i.align==="center")("mat-mdc-dialog-actions-align-end",i.align==="end")},inputs:{align:"align"},standalone:!0,features:[Sn]});let e=t;return e})();function OC(e,t){let r=e.nativeElement.parentElement;for(;r&&!r.classList.contains("mat-mdc-dialog-container");)r=r.parentElement;return r?t.find(u=>u.id===r.id):null}var bFe=(()=>{const t=class t{};t.ɵfac=function(u){return new(u||t)},t.ɵmod=dn({type:t}),t.ɵinj=cn({providers:[gs],imports:[gFe,Ph,fc,qn,qn]});let e=t;return e})();Fc(m9());var xFe=["*"],L0;function _Fe(){if(L0===void 0&&(L0=null,typeof window<"u")){let e=window;e.trustedTypes!==void 0&&(L0=e.trustedTypes.createPolicy("angular#components",{createHTML:t=>t}))}return L0}function Rl(e){var t;return((t=_Fe())==null?void 0:t.createHTML(e))||e}function B7(e){return Error(`Unable to find icon with the name "${e}"`)}function wFe(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}function y7(e){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${e}".`)}function b7(e){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${e}".`)}var jo=class{constructor(e,t,r){this.url=e,this.svgText=t,this.options=r}},SFe=(()=>{const t=class t{constructor(u,i,o,l){this._httpClient=u,this._sanitizer=i,this._errorHandler=l,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass=["material-icons","mat-ligature-font"],this._document=o}addSvgIcon(u,i,o){return this.addSvgIconInNamespace("",u,i,o)}addSvgIconLiteral(u,i,o){return this.addSvgIconLiteralInNamespace("",u,i,o)}addSvgIconInNamespace(u,i,o,l){return this._addSvgIconConfig(u,i,new jo(o,null,l))}addSvgIconResolver(u){return this._resolvers.push(u),this}addSvgIconLiteralInNamespace(u,i,o,l){let d=this._sanitizer.sanitize(Ir.HTML,o);if(!d)throw b7(o);let n=Rl(d);return this._addSvgIconConfig(u,i,new jo("",n,l))}addSvgIconSet(u,i){return this.addSvgIconSetInNamespace("",u,i)}addSvgIconSetLiteral(u,i){return this.addSvgIconSetLiteralInNamespace("",u,i)}addSvgIconSetInNamespace(u,i,o){return this._addSvgIconSetConfig(u,new jo(i,null,o))}addSvgIconSetLiteralInNamespace(u,i,o){let l=this._sanitizer.sanitize(Ir.HTML,i);if(!l)throw b7(i);let d=Rl(l);return this._addSvgIconSetConfig(u,new jo("",d,o))}registerFontClassAlias(u,i=u){return this._fontCssClassesByAlias.set(u,i),this}classNameForFontAlias(u){return this._fontCssClassesByAlias.get(u)||u}setDefaultFontSetClass(...u){return this._defaultFontSetClass=u,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(u){let i=this._sanitizer.sanitize(Ir.RESOURCE_URL,u);if(!i)throw y7(u);let o=this._cachedIconsByUrl.get(i);return o?gn(z0(o)):this._loadSvgIconFromConfig(new jo(u,null)).pipe(Wl(l=>this._cachedIconsByUrl.set(i,l)),Dn(l=>z0(l)))}getNamedSvgIcon(u,i=""){let o=x7(i,u),l=this._svgIconConfigs.get(o);if(l)return this._getSvgFromConfig(l);if(l=this._getIconConfigFromResolvers(i,u),l)return this._svgIconConfigs.set(o,l),this._getSvgFromConfig(l);let d=this._iconSetConfigs.get(i);return d?this._getSvgFromIconSetConfigs(u,d):U9(B7(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(u){return u.svgText?gn(z0(this._svgElementFromConfig(u))):this._loadSvgIconFromConfig(u).pipe(Dn(i=>z0(i)))}_getSvgFromIconSetConfigs(u,i){let o=this._extractIconWithNameFromAnySet(u,i);if(o)return gn(o);let l=i.filter(d=>!d.svgText).map(d=>this._loadSvgIconSetFromConfig(d).pipe(eh(n=>{let h=`Loading icon set URL: ${this._sanitizer.sanitize(Ir.RESOURCE_URL,d.url)} failed: ${n.message}`;return this._errorHandler.handleError(new Error(h)),gn(null)})));return P6(l).pipe(Dn(()=>{let d=this._extractIconWithNameFromAnySet(u,i);if(!d)throw B7(u);return d}))}_extractIconWithNameFromAnySet(u,i){for(let o=i.length-1;o>=0;o--){let l=i[o];if(l.svgText&&l.svgText.toString().indexOf(u)>-1){let d=this._svgElementFromConfig(l),n=this._extractSvgIconFromSet(d,u,l.options);if(n)return n}}return null}_loadSvgIconFromConfig(u){return this._fetchIcon(u).pipe(Wl(i=>u.svgText=i),Dn(()=>this._svgElementFromConfig(u)))}_loadSvgIconSetFromConfig(u){return u.svgText?gn(null):this._fetchIcon(u).pipe(Wl(i=>u.svgText=i))}_extractSvgIconFromSet(u,i,o){let l=u.querySelector(`[id="${i}"]`);if(!l)return null;let d=l.cloneNode(!0);if(d.removeAttribute("id"),d.nodeName.toLowerCase()==="svg")return this._setSvgAttributes(d,o);if(d.nodeName.toLowerCase()==="symbol")return this._setSvgAttributes(this._toSvgElement(d),o);let n=this._svgElementFromString(Rl("<svg></svg>"));return n.appendChild(d),this._setSvgAttributes(n,o)}_svgElementFromString(u){let i=this._document.createElement("DIV");i.innerHTML=u;let o=i.querySelector("svg");if(!o)throw Error("<svg> tag not found");return o}_toSvgElement(u){let i=this._svgElementFromString(Rl("<svg></svg>")),o=u.attributes;for(let l=0;l<o.length;l++){let{name:d,value:n}=o[l];d!=="id"&&i.setAttribute(d,n)}for(let l=0;l<u.childNodes.length;l++)u.childNodes[l].nodeType===this._document.ELEMENT_NODE&&i.appendChild(u.childNodes[l].cloneNode(!0));return i}_setSvgAttributes(u,i){return u.setAttribute("fit",""),u.setAttribute("height","100%"),u.setAttribute("width","100%"),u.setAttribute("preserveAspectRatio","xMidYMid meet"),u.setAttribute("focusable","false"),i&&i.viewBox&&u.setAttribute("viewBox",i.viewBox),u}_fetchIcon(u){let{url:i,options:o}=u,l=(o==null?void 0:o.withCredentials)??!1;if(!this._httpClient)throw wFe();if(i==null)throw Error(`Cannot fetch icon from URL "${i}".`);let d=this._sanitizer.sanitize(Ir.RESOURCE_URL,i);if(!d)throw y7(i);let n=this._inProgressUrlFetches.get(d);if(n)return n;let h=this._httpClient.get(d,{responseType:"text",withCredentials:l}).pipe(Dn(s=>Rl(s)),J9(()=>this._inProgressUrlFetches.delete(d)),Q9());return this._inProgressUrlFetches.set(d,h),h}_addSvgIconConfig(u,i,o){return this._svgIconConfigs.set(x7(u,i),o),this}_addSvgIconSetConfig(u,i){let o=this._iconSetConfigs.get(u);return o?o.push(i):this._iconSetConfigs.set(u,[i]),this}_svgElementFromConfig(u){if(!u.svgElement){let i=this._svgElementFromString(u.svgText);this._setSvgAttributes(i,u.options),u.svgElement=i}return u.svgElement}_getIconConfigFromResolvers(u,i){for(let o=0;o<this._resolvers.length;o++){let l=this._resolvers[o](i,u);if(l)return kFe(l)?new jo(l.url,null,l.options):new jo(l,null)}}};t.ɵfac=function(u){return new(u||t)(It(Yf,8),It(yC),It(hi,8),It(Ja))},t.ɵprov=hu({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function z0(e){return e.cloneNode(!0)}function x7(e,t){return e+":"+t}function kFe(e){return!!(e.url&&e.options)}var IFe=new iu("MAT_ICON_DEFAULT_OPTIONS"),PFe=new iu("mat-icon-location",{providedIn:"root",factory:TFe});function TFe(){let e=Xt(hi),t=e?e.location:null;return{getPathname:()=>t?t.pathname+t.search:""}}var RC=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],OFe=RC.map(e=>`[${e}]`).join(", "),RFe=/^url\(['"]?#(.*?)['"]?\)$/,So=(()=>{const t=class t{get color(){return this._color||this._defaultColor}set color(u){this._color=u}get svgIcon(){return this._svgIcon}set svgIcon(u){u!==this._svgIcon&&(u?this._updateSvgIcon(u):this._svgIcon&&this._clearSvgElement(),this._svgIcon=u)}get fontSet(){return this._fontSet}set fontSet(u){let i=this._cleanupFontValue(u);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(u){let i=this._cleanupFontValue(u);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(u,i,o,l,d,n){this._elementRef=u,this._iconRegistry=i,this._location=l,this._errorHandler=d,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=an.EMPTY,n&&(n.color&&(this.color=this._defaultColor=n.color),n.fontSet&&(this.fontSet=n.fontSet)),o||u.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(u){if(!u)return["",""];let i=u.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${u}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){let u=this._elementsWithExternalReferences;if(u&&u.size){let i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(u){this._clearSvgElement();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(u),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(u)}_clearSvgElement(){let u=this._elementRef.nativeElement,i=u.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let o=u.childNodes[i];(o.nodeType!==1||o.nodeName.toLowerCase()==="svg")&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let u=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(o=>o.length>0);this._previousFontSetClass.forEach(o=>u.classList.remove(o)),i.forEach(o=>u.classList.add(o)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&u.classList.remove(this._previousFontIconClass),this.fontIcon&&u.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(u){return typeof u=="string"?u.trim().split(" ")[0]:u}_prependPathToReferences(u){let i=this._elementsWithExternalReferences;i&&i.forEach((o,l)=>{o.forEach(d=>{l.setAttribute(d.name,`url('${u}#${d.value}')`)})})}_cacheChildrenWithExternalReferences(u){let i=u.querySelectorAll(OFe),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let l=0;l<i.length;l++)RC.forEach(d=>{let n=i[l],h=n.getAttribute(d),s=h?h.match(RFe):null;if(s){let c=o.get(n);c||(c=[],o.set(n,c)),c.push({name:d,value:s[1]})}})}_updateSvgIcon(u){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),u){let[i,o]=this._splitIconName(u);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(Yn(1)).subscribe(l=>this._setSvgElement(l),l=>{let d=`Error retrieving icon ${i}:${o}! ${l.message}`;this._errorHandler.handleError(new Error(d))})}}};t.ɵfac=function(u){return new(u||t)(ct(ai),ct(SFe),Pc("aria-hidden"),ct(PFe),ct(Ja),ct(IFe,8))},t.ɵcmp=Ai({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(u,i){u&2&&(Ku("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet)("fontIcon",i._usingFontIcon()?i.fontIcon:null),el(i.color?"mat-"+i.color:""),zi("mat-icon-inline",i.inline)("mat-icon-no-color",i.color!=="primary"&&i.color!=="accent"&&i.color!=="warn"))},inputs:{color:"color",inline:[Gt.HasDecoratorInputTransform,"inline","inline",ki],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[Mr,_i],ngContentSelectors:xFe,decls:1,vars:0,template:function(u,i){u&1&&(xr(),Zi(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],encapsulation:2,changeDetection:0});let e=t;return e})(),MFe=(()=>{const t=class t{};t.ɵfac=function(u){return new(u||t)},t.ɵmod=dn({type:t}),t.ɵinj=cn({imports:[qn,qn]});let e=t;return e})(),NFe=(()=>{const t=class t{};t.ɵfac=function(u){return new(u||t)},t.ɵcmp=Ai({type:t,selectors:[["nihdi-error-display"]],inputs:{message:"message"},standalone:!0,features:[_i],decls:3,vars:3,consts:[["color","warning","fontIcon","info",1,"material-icons"]],template:function(u,i){u&1&&(Hu(0,"mat-icon",0),Kt(1),ru(2,"translate")),u&2&&(pt(),ii(" ",pu(2,1,"commons.errors."+i.message)," "))},dependencies:[So,Nr,ka],styles:["[_nghost-%COMP%]{display:flex;align-items:center;background:#f443360d;color:#f44336;font-weight:700;padding:16px}mat-icon[_ngcontent-%COMP%]{margin-right:8px}"]});let e=t;return e})(),LFe="1.3",nd=LFe,Ms=(e=>(e.DEV="dev",e.DEMO="demo",e.INT="int",e.ACC="acc",e.PROD="prod",e))(Ms||{}),zFe=(()=>{const t=class t{constructor(){Lt(this,"version");Lt(this,"language");Lt(this,"configName");Lt(this,"services");Lt(this,"onError",new bu);Lt(this,"initialized",!1);Lt(this,"_ngInitDone",!1);Lt(this,"_ngFirstChangesDone",!1)}validateVersion(){let u=nd.split(".").map(o=>parseInt(o)),i=(this.version||"").split(".").map(o=>parseInt(o));if(i.length!==2)throw new Error(`The given version (${this.version}) has the wrong format <major>.<minor>!`);if(i[0]!==u[0])throw new Error(`The given version (${this.version})'s major is not compatible with this component's major version (${nd})!`)}validateInputs(){console.log("[BaseWebComponent] validating inputs..."),this.validateVersion();let u=this;if(["language","configName","services"].forEach(i=>{if(u[i]===void 0)throw new Error(`Missing required component input "${i}"!`)}),this.services.cache==null)throw new Error("The given services input does not contain a cache service!");if(this.services.getAccessToken==null)throw new Error("The given services input does not contain a getAccessToken() function!");if(this.services.registerRefreshCallback==null)throw new Error("The given services input does not contain a registerRefreshCallack() function!");console.log("[BaseWebComponent] all inputs validated ok!")}finalizeInitialization(){!this._ngInitDone||!this._ngFirstChangesDone||(this.validateInputs(),console.log(`[BaseWebComponent] host version = [${this.version}], our version = [${nd}]`),this.onInitialized(),this.initialized=!0)}ngOnInit(){console.log("[BaseWebComponent] onInit"),this._ngInitDone||(this._ngInitDone=!0,this.finalizeInitialization())}ngOnChanges(u){console.log("[BaseWebComponent] onChange: ",u),this._ngFirstChangesDone?this.onPropsChanged(u):(this._ngFirstChangesDone=!0,this.finalizeInitialization())}isInitialized(){return this.initialized}onInitialized(){}onPropsChanged(u){}fireError(u,i){this.onError.emit({title:u,text:i})}};Lt(t,"ɵfac",function(u){return new(u||t)}),Lt(t,"ɵcmp",Ai({type:t,selectors:[["ng-component"]],inputs:{version:"version",language:"language",configName:"configName",services:"services"},outputs:{onError:"onError"},features:[Kn],decls:0,vars:0,template:function(u,i){},encapsulation:2}));let e=t;return e})(),VFe=()=>{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)},Vl=class extends Error{};Vl.prototype.name="InvalidTokenError";function jFe(e){return decodeURIComponent(atob(e).replace(/(.)/g,(t,r)=>{let u=r.charCodeAt(0).toString(16).toUpperCase();return u.length<2&&(u="0"+u),"%"+u}))}function UFe(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 jFe(t)}catch{return atob(t)}}function HFe(e,t){if(typeof e!="string")throw new Vl("Invalid token specified: must be a string");t||(t={});let r=t.header===!0?0:1,u=e.split(".")[r];if(typeof u!="string")throw new Vl(`Invalid token specified: missing part #${r+1}`);let i;try{i=UFe(u)}catch(o){throw new Vl(`Invalid token specified: invalid base64 for part #${r+1} (${o.message})`)}try{return JSON.parse(i)}catch(o){throw new Vl(`Invalid token specified: invalid json for part #${r+1} (${o.message})`)}}var op=(()=>{const t=class t{registerAccessToken(u){this.getLocalAccessToken=u}getAccessToken(){return bo(this.getLocalAccessToken("nihii-vidis"))}getSsin(){return Sr(this,null,function*(){return(yield this.decodedToken()).userProfile.ssin})}getPatientInfo(){return Sr(this,null,function*(){return(yield this.decodedToken()).userProfile})}decodedToken(){return Sr(this,null,function*(){return HFe(yield this.getLocalAccessToken("nihii-vidis"))})}};t.ɵfac=function(u){return new(u||t)},t.ɵprov=hu({token:t,factory:t.ɵfac,providedIn:"root"});let e=t;return e})();function _7(e){return new Du(3e3,!1)}function WFe(){return new Du(3100,!1)}function qFe(){return new Du(3101,!1)}function GFe(e){return new Du(3001,!1)}function XFe(e){return new Du(3003,!1)}function ZFe(e){return new Du(3004,!1)}function YFe(e,t){return new Du(3005,!1)}function KFe(){return new Du(3006,!1)}function JFe(){return new Du(3007,!1)}function QFe(e,t){return new Du(3008,!1)}function $Fe(e){return new Du(3002,!1)}function eAe(e,t,r,u,i){return new Du(3010,!1)}function tAe(){return new Du(3011,!1)}function uAe(){return new Du(3012,!1)}function iAe(){return new Du(3200,!1)}function nAe(){return new Du(3202,!1)}function rAe(){return new Du(3013,!1)}function aAe(e){return new Du(3014,!1)}function oAe(e){return new Du(3015,!1)}function sAe(e){return new Du(3016,!1)}function lAe(e,t){return new Du(3404,!1)}function cAe(e){return new Du(3502,!1)}function dAe(e){return new Du(3503,!1)}function hAe(){return new Du(3300,!1)}function fAe(e){return new Du(3504,!1)}function pAe(e){return new Du(3301,!1)}function mAe(e,t){return new Du(3302,!1)}function gAe(e){return new Du(3303,!1)}function CAe(e,t){return new Du(3400,!1)}function EAe(e){return new Du(3401,!1)}function FAe(e){return new Du(3402,!1)}function AAe(e,t){return new Du(3505,!1)}function mo(e){switch(e.length){case 0:return new pc;case 1:return e[0];default:return new Og(e)}}function MC(e,t,r=new Map,u=new Map){let i=[],o=[],l=-1,d=null;if(t.forEach(n=>{let h=n.get("offset"),s=h==l,c=s&&d||new Map;n.forEach((f,p)=>{let m=p,g=f;if(p!=="offset")switch(m=e.normalizePropertyName(m,i),g){case Tf:g=r.get(p);break;case Ua:g=u.get(p);break;default:g=e.normalizeStyleValue(p,m,g,i);break}c.set(m,g)}),s||o.push(c),d=c,l=h}),i.length)throw cAe();return o}function sp(e,t,r,u){switch(t){case"start":e.onStart(()=>u(r&&W1(r,"start",e)));break;case"done":e.onDone(()=>u(r&&W1(r,"done",e)));break;case"destroy":e.onDestroy(()=>u(r&&W1(r,"destroy",e)));break}}function W1(e,t,r){let u=r.totalTime,i=!!r.disabled,o=lp(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,u??e.totalTime,i),l=e._data;return l!=null&&(o._data=l),o}function lp(e,t,r,u,i="",o=0,l){return{element:e,triggerName:t,fromState:r,toState:u,phaseName:i,totalTime:o,disabled:!!l}}function Pr(e,t,r){let u=e.get(t);return u||e.set(t,u=r),u}function w7(e){let t=e.indexOf(":"),r=e.substring(1,t),u=e.slice(t+1);return[r,u]}var DAe=typeof document>"u"?null:document.documentElement;function cp(e){let t=e.parentNode||e.host||null;return t===DAe?null:t}function vAe(e){return e.substring(1,6)=="ebkit"}var Uo=null,S7=!1;function BAe(e){Uo||(Uo=yAe()||{},S7=Uo.style?"WebkitAppearance"in Uo.style:!1);let t=!0;return Uo.style&&!vAe(e)&&(t=e in Uo.style,!t&&S7&&(t="Webkit"+e.charAt(0).toUpperCase()+e.slice(1)in Uo.style)),t}function yAe(){return typeof document<"u"?document.body:null}function NC(e,t){for(;t;){if(t===e)return!0;t=cp(t)}return!1}function LC(e,t,r){if(r)return Array.from(e.querySelectorAll(t));let u=e.querySelector(t);return u?[u]:[]}var bAe=(()=>{const t=class t{validateStyleProperty(u){return BAe(u)}matchesElement(u,i){return!1}containsElement(u,i){return NC(u,i)}getParentElement(u){return cp(u)}query(u,i,o){return LC(u,i,o)}computeStyle(u,i,o){return o||""}animate(u,i,o,l,d,n=[],h){return new pc(o,l)}};t.ɵfac=function(u){return new(u||t)},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})(),Ws,zC=(Ws=class{},Ws.NOOP=new bAe,Ws),dp=class{},xAe=1e3,VC="{{",_Ae="}}",jC="ng-enter",l6="ng-leave",V0="ng-trigger",Vd=".ng-trigger",k7="ng-animating",c6=".ng-animating";function La(e){if(typeof e=="number")return e;let t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:d6(parseFloat(t[1]),t[2])}function d6(e,t){switch(t){case"s":return e*xAe;default:return e}}function jd(e,t,r){return e.hasOwnProperty("duration")?e:wAe(e,t,r)}function wAe(e,t,r){let u=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,i,o=0,l="";if(typeof e=="string"){let d=e.match(u);if(d===null)return t.push(_7()),{duration:0,delay:0,easing:""};i=d6(parseFloat(d[1]),d[2]);let n=d[3];n!=null&&(o=d6(parseFloat(n),d[4]));let h=d[5];h&&(l=h)}else i=e;if(!r){let d=!1,n=t.length;i<0&&(t.push(WFe()),d=!0),o<0&&(t.push(qFe()),d=!0),d&&t.splice(n,0,_7())}return{duration:i,delay:o,easing:l}}function SAe(e){return e.length?e[0]instanceof Map?e:e.map(t=>new Map(Object.entries(t))):[]}function Aa(e,t,r){t.forEach((u,i)=>{let o=hp(i);r&&!r.has(i)&&r.set(i,e.style[o]),e.style[o]=u})}function Jo(e,t){t.forEach((r,u)=>{let i=hp(u);e.style[i]=""})}function Ml(e){return Array.isArray(e)?e.length==1?e[0]:ige(e):e}function kAe(e,t,r){let u=t.params||{},i=UC(e);i.length&&i.forEach(o=>{u.hasOwnProperty(o)||r.push(GFe())})}var h6=new RegExp(`${VC}\\s*(.+?)\\s*${_Ae}`,"g");function UC(e){let t=[];if(typeof e=="string"){let r;for(;r=h6.exec(e);)t.push(r[1]);h6.lastIndex=0}return t}function gc(e,t,r){let u=`${e}`,i=u.replace(h6,(o,l)=>{let d=t[l];return d==null&&(r.push(XFe()),d=""),d.toString()});return i==u?e:i}var IAe=/-+([a-z0-9])/g;function hp(e){return e.replace(IAe,(...t)=>t[1].toUpperCase())}function PAe(e,t){return e===0||t===0}function TAe(e,t,r){if(r.size&&t.length){let u=t[0],i=[];if(r.forEach((o,l)=>{u.has(l)||i.push(l),u.set(l,o)}),i.length)for(let o=1;o<t.length;o++){let l=t[o];i.forEach(d=>l.set(d,fp(e,d)))}}return t}function kr(e,t,r){switch(t.type){case ui.Trigger:return e.visitTrigger(t,r);case ui.State:return e.visitState(t,r);case ui.Transition:return e.visitTransition(t,r);case ui.Sequence:return e.visitSequence(t,r);case ui.Group:return e.visitGroup(t,r);case ui.Animate:return e.visitAnimate(t,r);case ui.Keyframes:return e.visitKeyframes(t,r);case ui.Style:return e.visitStyle(t,r);case ui.Reference:return e.visitReference(t,r);case ui.AnimateChild:return e.visitAnimateChild(t,r);case ui.AnimateRef:return e.visitAnimateRef(t,r);case ui.Query:return e.visitQuery(t,r);case ui.Stagger:return e.visitStagger(t,r);default:throw ZFe(t.type)}}function fp(e,t){return window.getComputedStyle(e)[t]}var OAe=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),RAe=class extends dp{normalizePropertyName(e,t){return hp(e)}normalizeStyleValue(e,t,r,u){let i="",o=r.toString().trim();if(OAe.has(t)&&r!==0&&r!=="0")if(typeof r=="number")i="px";else{let l=r.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&l[1].length==0&&u.push(YFe())}return o+i}},Ud="*";function MAe(e,t){let r=[];return typeof e=="string"?e.split(/\s*,\s*/).forEach(u=>NAe(u,r,t)):r.push(e),r}function NAe(e,t,r){if(e[0]==":"){let n=LAe(e,r);if(typeof n=="function"){t.push(n);return}e=n}let u=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(u==null||u.length<4)return r.push(oAe()),t;let i=u[1],o=u[2],l=u[3];t.push(I7(i,l));let d=i==Ud&&l==Ud;o[0]=="<"&&!d&&t.push(I7(l,i))}function LAe(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(r,u)=>parseFloat(u)>parseFloat(r);case":decrement":return(r,u)=>parseFloat(u)<parseFloat(r);default:return t.push(sAe()),"* => *"}}var j0=new Set(["true","1"]),U0=new Set(["false","0"]);function I7(e,t){let r=j0.has(e)||U0.has(e),u=j0.has(t)||U0.has(t);return(i,o)=>{let l=e==Ud||e==i,d=t==Ud||t==o;return!l&&r&&typeof i=="boolean"&&(l=i?j0.has(e):U0.has(e)),!d&&u&&typeof o=="boolean"&&(d=o?j0.has(t):U0.has(t)),l&&d}}var HC=":self",zAe=new RegExp(`s*${HC}s*,?`,"g");function WC(e,t,r,u){return new VAe(e).build(t,r,u)}var P7="",VAe=class{constructor(e){this._driver=e}build(e,t,r){let u=new HAe(t);return this._resetContextStyleTimingState(u),kr(this,Ml(e),u)}_resetContextStyleTimingState(e){e.currentQuerySelector=P7,e.collectedStyles=new Map,e.collectedStyles.set(P7,new Map),e.currentTime=0}visitTrigger(e,t){let r=t.queryCount=0,u=t.depCount=0,i=[],o=[];return e.name.charAt(0)=="@"&&t.errors.push(KFe()),e.definitions.forEach(l=>{if(this._resetContextStyleTimingState(t),l.type==ui.State){let d=l,n=d.name;n.toString().split(/\s*,\s*/).forEach(h=>{d.name=h,i.push(this.visitState(d,t))}),d.name=n}else if(l.type==ui.Transition){let d=this.visitTransition(l,t);r+=d.queryCount,u+=d.depCount,o.push(d)}else t.errors.push(JFe())}),{type:ui.Trigger,name:e.name,states:i,transitions:o,queryCount:r,depCount:u,options:null}}visitState(e,t){let r=this.visitStyle(e.styles,t),u=e.options&&e.options.params||null;if(r.containsDynamicStyles){let i=new Set,o=u||{};r.styles.forEach(l=>{l instanceof Map&&l.forEach(d=>{UC(d).forEach(n=>{o.hasOwnProperty(n)||i.add(n)})})}),i.size&&t.errors.push(QFe(e.name,[...i.values()]))}return{type:ui.State,name:e.name,style:r,options:u?{params:u}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let r=kr(this,Ml(e.animation),t),u=MAe(e.expr,t.errors);return{type:ui.Transition,matchers:u,animation:r,queryCount:t.queryCount,depCount:t.depCount,options:Ho(e.options)}}visitSequence(e,t){return{type:ui.Sequence,steps:e.steps.map(r=>kr(this,r,t)),options:Ho(e.options)}}visitGroup(e,t){let r=t.currentTime,u=0,i=e.steps.map(o=>{t.currentTime=r;let l=kr(this,o,t);return u=Math.max(u,t.currentTime),l});return t.currentTime=u,{type:ui.Group,steps:i,options:Ho(e.options)}}visitAnimate(e,t){let r=qAe(e.timings,t.errors);t.currentAnimateTimings=r;let u,i=e.styles?e.styles:Qn({});if(i.type==ui.Keyframes)u=this.visitKeyframes(i,t);else{let o=e.styles,l=!1;if(!o){l=!0;let n={};r.easing&&(n.easing=r.easing),o=Qn(n)}t.currentTime+=r.duration+r.delay;let d=this.visitStyle(o,t);d.isEmptyStep=l,u=d}return t.currentAnimateTimings=null,{type:ui.Animate,timings:r,style:u,options:null}}visitStyle(e,t){let r=this._makeStyleAst(e,t);return this._validateStyleAst(r,t),r}_makeStyleAst(e,t){let r=[],u=Array.isArray(e.styles)?e.styles:[e.styles];for(let l of u)typeof l=="string"?l===Ua?r.push(l):t.errors.push($Fe()):r.push(new Map(Object.entries(l)));let i=!1,o=null;return r.forEach(l=>{if(l instanceof Map&&(l.has("easing")&&(o=l.get("easing"),l.delete("easing")),!i)){for(let d of l.values())if(d.toString().indexOf(VC)>=0){i=!0;break}}}),{type:ui.Style,styles:r,easing:o,offset:e.offset,containsDynamicStyles:i,options:null}}_validateStyleAst(e,t){let r=t.currentAnimateTimings,u=t.currentTime,i=t.currentTime;r&&i>0&&(i-=r.duration+r.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((l,d)=>{let n=t.collectedStyles.get(t.currentQuerySelector),h=n.get(d),s=!0;h&&(i!=u&&i>=h.startTime&&u<=h.endTime&&(t.errors.push(eAe(d,h.startTime,h.endTime)),s=!1),i=h.startTime),s&&n.set(d,{startTime:i,endTime:u}),t.options&&kAe(l,t.options,t.errors)})})}visitKeyframes(e,t){let r={type:ui.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(tAe()),r;let u=1,i=0,o=[],l=!1,d=!1,n=0,h=e.steps.map(E=>{let C=this._makeStyleAst(E,t),A=C.offset!=null?C.offset:WAe(C.styles),F=0;return A!=null&&(i++,F=C.offset=A),d=d||F<0||F>1,l=l||F<n,n=F,o.push(F),C});d&&t.errors.push(uAe()),l&&t.errors.push(iAe());let s=e.steps.length,c=0;i>0&&i<s?t.errors.push(nAe()):i==0&&(c=u/(s-1));let f=s-1,p=t.currentTime,m=t.currentAnimateTimings,g=m.duration;return h.forEach((E,C)=>{let A=c>0?C==f?1:c*C:o[C],F=A*g;t.currentTime=p+m.delay+F,m.duration=F,this._validateStyleAst(E,t),E.offset=A,r.styles.push(E)}),r}visitReference(e,t){return{type:ui.Reference,animation:kr(this,Ml(e.animation),t),options:Ho(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:ui.AnimateChild,options:Ho(e.options)}}visitAnimateRef(e,t){return{type:ui.AnimateRef,animation:this.visitReference(e.animation,t),options:Ho(e.options)}}visitQuery(e,t){let r=t.currentQuerySelector,u=e.options||{};t.queryCount++,t.currentQuery=e;let[i,o]=jAe(e.selector);t.currentQuerySelector=r.length?r+" "+i:i,Pr(t.collectedStyles,t.currentQuerySelector,new Map);let l=kr(this,Ml(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=r,{type:ui.Query,selector:i,limit:u.limit||0,optional:!!u.optional,includeSelf:o,animation:l,originalSelector:e.selector,options:Ho(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(rAe());let r=e.timings==="full"?{duration:0,delay:0,easing:"full"}:jd(e.timings,t.errors,!0);return{type:ui.Stagger,animation:kr(this,Ml(e.animation),t),timings:r,options:null}}};function jAe(e){let t=!!e.split(/\s*,\s*/).find(r=>r==HC);return t&&(e=e.replace(zAe,"")),e=e.replace(/@\*/g,Vd).replace(/@\w+/g,r=>Vd+"-"+r.slice(1)).replace(/:animating/g,c6),[e,t]}function UAe(e){return e?Fu({},e):null}var HAe=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function WAe(e){if(typeof e=="string")return null;let t=null;if(Array.isArray(e))e.forEach(r=>{if(r instanceof Map&&r.has("offset")){let u=r;t=parseFloat(u.get("offset")),u.delete("offset")}});else if(e instanceof Map&&e.has("offset")){let r=e;t=parseFloat(r.get("offset")),r.delete("offset")}return t}function qAe(e,t){if(e.hasOwnProperty("duration"))return e;if(typeof e=="number"){let i=jd(e,t).duration;return q1(i,0,"")}let r=e;if(r.split(/\s+/).some(i=>i.charAt(0)=="{"&&i.charAt(1)=="{")){let i=q1(0,0,"");return i.dynamic=!0,i.strValue=r,i}let u=jd(r,t);return q1(u.duration,u.delay,u.easing)}function Ho(e){return e?(e=Fu({},e),e.params&&(e.params=UAe(e.params))):e={},e}function q1(e,t,r){return{duration:e,delay:t,easing:r}}function pp(e,t,r,u,i,o,l=null,d=!1){return{type:1,element:e,keyframes:t,preStyleProps:r,postStyleProps:u,duration:i,delay:o,totalTime:i+o,easing:l,subTimeline:d}}var mp=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let r=this._map.get(e);r||this._map.set(e,r=[]),r.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},GAe=1,XAe=":enter",ZAe=new RegExp(XAe,"g"),YAe=":leave",KAe=new RegExp(YAe,"g");function qC(e,t,r,u,i,o=new Map,l=new Map,d,n,h=[]){return new JAe().buildKeyframes(e,t,r,u,i,o,l,d,n,h)}var JAe=class{buildKeyframes(e,t,r,u,i,o,l,d,n,h=[]){n=n||new mp;let s=new QAe(e,t,n,u,i,h,[]);s.options=d;let c=d.delay?La(d.delay):0;s.currentTimeline.delayNextStep(c),s.currentTimeline.setStyles([o],null,s.errors,d),kr(this,r,s);let f=s.timelines.filter(p=>p.containsAnimation());if(f.length&&l.size){let p;for(let m=f.length-1;m>=0;m--){let g=f[m];if(g.element===t){p=g;break}}p&&!p.allowOnlyTimelineStyles()&&p.setStyles([l],null,s.errors,d)}return f.length?f.map(p=>p.buildKeyframes()):[pp(t,[],[],[],0,c,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let r=t.subInstructions.get(t.element);if(r){let u=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(r,u,u.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){let r=t.createSubContext(e.options);r.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,r),this.visitReference(e.animation,r),t.transformIntoNewTimeline(r.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,r){for(let u of e){let i=u==null?void 0:u.delay;if(i){let o=typeof i=="number"?i:La(gc(i,(u==null?void 0:u.params)??{},t.errors));r.delayNextStep(o)}}}_visitSubInstructions(e,t,r){let u=t.currentTimeline.currentTime,i=r.duration!=null?La(r.duration):null,o=r.delay!=null?La(r.delay):null;return i!==0&&e.forEach(l=>{let d=t.appendInstructionToTimeline(l,i,o);u=Math.max(u,d.duration+d.delay)}),u}visitReference(e,t){t.updateOptions(e.options,!0),kr(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let r=t.subContextCount,u=t,i=e.options;if(i&&(i.params||i.delay)&&(u=t.createSubContext(i),u.transformIntoNewTimeline(),i.delay!=null)){u.previousNode.type==ui.Style&&(u.currentTimeline.snapshotCurrentStyles(),u.previousNode=Hd);let o=La(i.delay);u.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>kr(this,o,u)),u.currentTimeline.applyStylesToKeyframe(),u.subContextCount>r&&u.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let r=[],u=t.currentTimeline.currentTime,i=e.options&&e.options.delay?La(e.options.delay):0;e.steps.forEach(o=>{let l=t.createSubContext(e.options);i&&l.delayNextStep(i),kr(this,o,l),u=Math.max(u,l.currentTimeline.currentTime),r.push(l.currentTimeline)}),r.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(u),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let r=e.strValue,u=t.params?gc(r,t.params,t.errors):r;return jd(u,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let r=t.currentAnimateTimings=this._visitTiming(e.timings,t),u=t.currentTimeline;r.delay&&(t.incrementTime(r.delay),u.snapshotCurrentStyles());let i=e.style;i.type==ui.Keyframes?this.visitKeyframes(i,t):(t.incrementTime(r.duration),this.visitStyle(i,t),u.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let r=t.currentTimeline,u=t.currentAnimateTimings;!u&&r.hasCurrentStyleProperties()&&r.forwardFrame();let i=u&&u.easing||e.easing;e.isEmptyStep?r.applyEmptyStep(i):r.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let r=t.currentAnimateTimings,u=t.currentTimeline.duration,i=r.duration,o=t.createSubContext().currentTimeline;o.easing=r.easing,e.styles.forEach(l=>{let d=l.offset||0;o.forwardTime(d*i),o.setStyles(l.styles,l.easing,t.errors,t.options),o.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(u+i),t.previousNode=e}visitQuery(e,t){let r=t.currentTimeline.currentTime,u=e.options||{},i=u.delay?La(u.delay):0;i&&(t.previousNode.type===ui.Style||r==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Hd);let o=r,l=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!u.optional,t.errors);t.currentQueryTotal=l.length;let d=null;l.forEach((n,h)=>{t.currentQueryIndex=h;let s=t.createSubContext(e.options,n);i&&s.delayNextStep(i),n===t.element&&(d=s.currentTimeline),kr(this,e.animation,s),s.currentTimeline.applyStylesToKeyframe();let c=s.currentTimeline.currentTime;o=Math.max(o,c)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),d&&(t.currentTimeline.mergeTimelineCollectedStyles(d),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let r=t.parentContext,u=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),l=o*(t.currentQueryTotal-1),d=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":d=l-d;break;case"full":d=r.currentStaggerTime;break}let n=t.currentTimeline;d&&n.delayNextStep(d);let h=n.currentTime;kr(this,e.animation,t),t.previousNode=e,r.currentStaggerTime=u.currentTime-h+(u.startTime-r.currentTimeline.startTime)}},Hd={},QAe=class GC{constructor(t,r,u,i,o,l,d,n){this._driver=t,this.element=r,this.subInstructions=u,this._enterClassName=i,this._leaveClassName=o,this.errors=l,this.timelines=d,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Hd,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=n||new XC(this._driver,r,0),d.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(t,r){if(!t)return;let u=t,i=this.options;u.duration!=null&&(i.duration=La(u.duration)),u.delay!=null&&(i.delay=La(u.delay));let o=u.params;if(o){let l=i.params;l||(l=this.options.params={}),Object.keys(o).forEach(d=>{(!r||!l.hasOwnProperty(d))&&(l[d]=gc(o[d],l,this.errors))})}}_copyOptions(){let t={};if(this.options){let r=this.options.params;if(r){let u=t.params={};Object.keys(r).forEach(i=>{u[i]=r[i]})}}return t}createSubContext(t=null,r,u){let i=r||this.element,o=new GC(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,u||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}transformIntoNewTimeline(t){return this.previousNode=Hd,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(t,r,u){let i={duration:r??t.duration,delay:this.currentTimeline.currentTime+(u??0)+t.delay,easing:""},o=new $Ae(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(o),i}incrementTime(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}delayNextStep(t){t>0&&this.currentTimeline.delayNextStep(t)}invokeQuery(t,r,u,i,o,l){let d=[];if(i&&d.push(this.element),t.length>0){t=t.replace(ZAe,"."+this._enterClassName),t=t.replace(KAe,"."+this._leaveClassName);let n=u!=1,h=this._driver.query(this.element,t,n);u!==0&&(h=u<0?h.slice(h.length+u,h.length):h.slice(0,u)),d.push(...h)}return!o&&d.length==0&&l.push(aAe()),d}},XC=class ZC{constructor(t,r,u,i){this._driver=t,this.element=r,this.startTime=u,this._elementTimelineStylesLookup=i,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(r),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(r,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(t){let r=this._keyframes.size===1&&this._pendingStyles.size;this.duration||r?(this.forwardTime(this.currentTime+t),r&&this.snapshotCurrentStyles()):this.startTime+=t}fork(t,r){return this.applyStylesToKeyframe(),new ZC(this._driver,t,r||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=GAe,this._loadKeyframe()}forwardTime(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}_updateStyle(t,r){this._localTimelineStyles.set(t,r),this._globalTimelineStyles.set(t,r),this._styleSummary.set(t,{time:this.currentTime,value:r})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(t){t&&this._previousKeyframe.set("easing",t);for(let[r,u]of this._globalTimelineStyles)this._backFill.set(r,u||Ua),this._currentKeyframe.set(r,Ua);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(t,r,u,i){r&&this._previousKeyframe.set("easing",r);let o=i&&i.params||{},l=eDe(t,this._globalTimelineStyles);for(let[d,n]of l){let h=gc(n,o,u);this._pendingStyles.set(d,h),this._localTimelineStyles.has(d)||this._backFill.set(d,this._globalTimelineStyles.get(d)??Ua),this._updateStyle(d,h)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((t,r)=>{this._currentKeyframe.set(r,t)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((t,r)=>{this._currentKeyframe.has(r)||this._currentKeyframe.set(r,t)}))}snapshotCurrentStyles(){for(let[t,r]of this._localTimelineStyles)this._pendingStyles.set(t,r),this._updateStyle(t,r)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let t=[];for(let r in this._currentKeyframe)t.push(r);return t}mergeTimelineCollectedStyles(t){t._styleSummary.forEach((r,u)=>{let i=this._styleSummary.get(u);(!i||r.time>i.time)&&this._updateStyle(u,r.value)})}buildKeyframes(){this.applyStylesToKeyframe();let t=new Set,r=new Set,u=this._keyframes.size===1&&this.duration===0,i=[];this._keyframes.forEach((d,n)=>{let h=new Map([...this._backFill,...d]);h.forEach((s,c)=>{s===Tf?t.add(c):s===Ua&&r.add(c)}),u||h.set("offset",n/this.duration),i.push(h)});let o=[...t.values()],l=[...r.values()];if(u){let d=i[0],n=new Map(d);d.set("offset",0),n.set("offset",1),i=[d,n]}return pp(this.element,i,o,l,this.duration,this.startTime,this.easing,!1)}},$Ae=class extends XC{constructor(e,t,r,u,i,o,l=!1){super(e,t,o.delay),this.keyframes=r,this.preStyleProps=u,this.postStyleProps=i,this._stretchStartingKeyframe=l,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:r,easing:u}=this.timings;if(this._stretchStartingKeyframe&&t){let i=[],o=r+t,l=t/o,d=new Map(e[0]);d.set("offset",0),i.push(d);let n=new Map(e[0]);n.set("offset",T7(l)),i.push(n);let h=e.length-1;for(let s=1;s<=h;s++){let c=new Map(e[s]),f=c.get("offset"),p=t+f*r;c.set("offset",T7(p/o)),i.push(c)}r=o,t=0,u="",e=i}return pp(this.element,e,this.preStyleProps,this.postStyleProps,r,t,u,!0)}};function T7(e,t=3){let r=Math.pow(10,t-1);return Math.round(e*r)/r}function eDe(e,t){let r=new Map,u;return e.forEach(i=>{if(i==="*"){u??(u=t.keys());for(let o of u)r.set(o,Ua)}else for(let[o,l]of i)r.set(o,l)}),r}function O7(e,t,r,u,i,o,l,d,n,h,s,c,f){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:r,fromStyles:o,toState:u,toStyles:l,timelines:d,queriedElements:n,preStyleProps:h,postStyleProps:s,totalTime:c,errors:f}}var G1={},YC=class{constructor(e,t,r){this._triggerName=e,this.ast=t,this._stateStyles=r}match(e,t,r,u){return tDe(this.ast.matchers,e,t,r,u)}buildStyles(e,t,r){let u=this._stateStyles.get("*");return e!==void 0&&(u=this._stateStyles.get(e==null?void 0:e.toString())||u),u?u.buildStyles(t,r):new Map}build(e,t,r,u,i,o,l,d,n,h){var x;let s=[],c=this.ast.options&&this.ast.options.params||G1,f=l&&l.params||G1,p=this.buildStyles(r,f,s),m=d&&d.params||G1,g=this.buildStyles(u,m,s),E=new Set,C=new Map,A=new Map,F=u==="void",v={params:KC(m,c),delay:(x=this.ast.options)==null?void 0:x.delay},a=h?[]:qC(e,t,this.ast.animation,i,o,p,g,v,n,s),D=0;return a.forEach(N=>{D=Math.max(N.duration+N.delay,D)}),s.length?O7(t,this._triggerName,r,u,F,p,g,[],[],C,A,D,s):(a.forEach(N=>{let k=N.element,I=Pr(C,k,new Set);N.preStyleProps.forEach(w=>I.add(w));let B=Pr(A,k,new Set);N.postStyleProps.forEach(w=>B.add(w)),k!==t&&E.add(k)}),O7(t,this._triggerName,r,u,F,p,g,a,[...E.values()],C,A,D))}};function tDe(e,t,r,u,i){return e.some(o=>o(t,r,u,i))}function KC(e,t){let r=Fu({},t);return Object.entries(e).forEach(([u,i])=>{i!=null&&(r[u]=i)}),r}var uDe=class{constructor(e,t,r){this.styles=e,this.defaultParams=t,this.normalizer=r}buildStyles(e,t){let r=new Map,u=KC(e,this.defaultParams);return this.styles.styles.forEach(i=>{typeof i!="string"&&i.forEach((o,l)=>{o&&(o=gc(o,u,t));let d=this.normalizer.normalizePropertyName(l,t);o=this.normalizer.normalizeStyleValue(l,d,o,t),r.set(l,o)})}),r}};function iDe(e,t,r){return new nDe(e,t,r)}var nDe=class{constructor(e,t,r){this.name=e,this.ast=t,this._normalizer=r,this.transitionFactories=[],this.states=new Map,t.states.forEach(u=>{let i=u.options&&u.options.params||{};this.states.set(u.name,new uDe(u.style,i,r))}),R7(this.states,"true","1"),R7(this.states,"false","0"),t.transitions.forEach(u=>{this.transitionFactories.push(new YC(e,u,this.states))}),this.fallbackTransition=rDe(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,r,u){return this.transitionFactories.find(i=>i.match(e,t,r,u))||null}matchStyles(e,t,r){return this.fallbackTransition.buildStyles(e,t,r)}};function rDe(e,t,r){let u=[(l,d)=>!0],i={type:ui.Sequence,steps:[],options:null},o={type:ui.Transition,animation:i,matchers:u,options:null,queryCount:0,depCount:0};return new YC(e,o,t)}function R7(e,t,r){e.has(t)?e.has(r)||e.set(r,e.get(t)):e.has(r)&&e.set(t,e.get(r))}var aDe=new mp,oDe=class{constructor(e,t,r){this.bodyNode=e,this._driver=t,this._normalizer=r,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let r=[],u=[],i=WC(this._driver,t,r,u);if(r.length)throw dAe();u.length,this._animations.set(e,i)}_buildPlayer(e,t,r){let u=e.element,i=MC(this._normalizer,e.keyframes,t,r);return this._driver.animate(u,i,e.duration,e.delay,e.easing,[],!0)}create(e,t,r={}){let u=[],i=this._animations.get(e),o,l=new Map;if(i?(o=qC(this._driver,t,i,jC,l6,new Map,new Map,r,aDe,u),o.forEach(h=>{let s=Pr(l,h.element,new Map);h.postStyleProps.forEach(c=>s.set(c,null))})):(u.push(hAe()),o=[]),u.length)throw fAe();l.forEach((h,s)=>{h.forEach((c,f)=>{h.set(f,this._driver.computeStyle(s,f,Ua))})});let d=o.map(h=>{let s=l.get(h.element);return this._buildPlayer(h,new Map,s)}),n=mo(d);return this._playersById.set(e,n),n.onDestroy(()=>this.destroy(e)),this.players.push(n),n}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let r=this.players.indexOf(t);r>=0&&this.players.splice(r,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw pAe();return t}listen(e,t,r,u){let i=lp(t,"","","");return sp(this._getPlayer(e),r,i,u),()=>{}}command(e,t,r,u){if(r=="register"){this.register(e,u[0]);return}if(r=="create"){let o=u[0]||{};this.create(e,t,o);return}let i=this._getPlayer(e);switch(r){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(u[0]));break;case"destroy":this.destroy(e);break}}},M7="ng-animate-queued",sDe=".ng-animate-queued",X1="ng-animate-disabled",lDe=".ng-animate-disabled",cDe="ng-star-inserted",dDe=".ng-star-inserted",hDe=[],JC={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},fDe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ta="__ng_removed",f6=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let r=e&&e.hasOwnProperty("value"),u=r?e.value:e;if(this.value=CDe(u),r){let i=e,{value:o}=i,l=r5e(i,["value"]);this.options=l}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let r=this.options.params;Object.keys(t).forEach(u=>{r[u]==null&&(r[u]=t[u])})}}},Yl="void",Z1=new f6(Yl),pDe=class{constructor(e,t,r){this.id=e,this.hostElement=t,this._engine=r,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Ur(t,this._hostClassName)}listen(e,t,r,u){if(!this._triggers.has(t))throw mAe();if(r==null||r.length==0)throw gAe();if(!EDe(r))throw CAe();let i=Pr(this._elementListeners,e,[]),o={name:t,phase:r,callback:u};i.push(o);let l=Pr(this._engine.statesByElement,e,new Map);return l.has(t)||(Ur(e,V0),Ur(e,V0+"-"+t),l.set(t,Z1)),()=>{this._engine.afterFlush(()=>{let d=i.indexOf(o);d>=0&&i.splice(d,1),this._triggers.has(t)||l.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw EAe();return t}trigger(e,t,r,u=!0){let i=this._getTrigger(t),o=new p6(this.id,t,e),l=this._engine.statesByElement.get(e);l||(Ur(e,V0),Ur(e,V0+"-"+t),this._engine.statesByElement.set(e,l=new Map));let d=l.get(t),n=new f6(r,this.id);if(!(r&&r.hasOwnProperty("value"))&&d&&n.absorbOptions(d.options),l.set(t,n),d||(d=Z1),n.value!==Yl&&d.value===n.value){if(!DDe(d.params,n.params)){let f=[],p=i.matchStyles(d.value,d.params,f),m=i.matchStyles(n.value,n.params,f);f.length?this._engine.reportError(f):this._engine.afterFlush(()=>{Jo(e,p),Aa(e,m)})}return}let h=Pr(this._engine.playersByElement,e,[]);h.forEach(f=>{f.namespaceId==this.id&&f.triggerName==t&&f.queued&&f.destroy()});let s=i.matchTransition(d.value,n.value,e,n.params),c=!1;if(!s){if(!u)return;s=i.fallbackTransition,c=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:s,fromState:d,toState:n,player:o,isFallbackTransition:c}),c||(Ur(e,M7),o.onStart(()=>{Is(e,M7)})),o.onDone(()=>{let f=this.players.indexOf(o);f>=0&&this.players.splice(f,1);let p=this._engine.playersByElement.get(e);if(p){let m=p.indexOf(o);m>=0&&p.splice(m,1)}}),this.players.push(o),h.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,r)=>{this._elementListeners.set(r,t.filter(u=>u.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(r=>r.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let r=this._engine.driver.query(e,Vd,!0);r.forEach(u=>{if(u[ta])return;let i=this._engine.fetchNamespacesByElement(u);i.size?i.forEach(o=>o.triggerLeaveAnimation(u,t,!1,!0)):this.clearElementCache(u)}),this._engine.afterFlushAnimationsDone(()=>r.forEach(u=>this.clearElementCache(u)))}triggerLeaveAnimation(e,t,r,u){let i=this._engine.statesByElement.get(e),o=new Map;if(i){let l=[];if(i.forEach((d,n)=>{if(o.set(n,d.value),this._triggers.has(n)){let h=this.trigger(e,n,Yl,u);h&&l.push(h)}}),l.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),r&&mo(l).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),r=this._engine.statesByElement.get(e);if(t&&r){let u=new Set;t.forEach(i=>{let o=i.name;if(u.has(o))return;u.add(o);let l=this._triggers.get(o).fallbackTransition,d=r.get(o)||Z1,n=new f6(Yl),h=new p6(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:d,toState:n,player:h,isFallbackTransition:!0})})}}removeNode(e,t){let r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let u=!1;if(r.totalAnimations){let i=r.players.length?r.playersByQueriedElement.get(e):[];if(i&&i.length)u=!0;else{let o=e;for(;o=o.parentNode;)if(r.statesByElement.get(o)){u=!0;break}}}if(this.prepareLeaveAnimationListeners(e),u)r.markElementAsRemoved(this.id,e,!1,t);else{let i=e[ta];(!i||i===JC)&&(r.afterFlush(()=>this.clearElementCache(e)),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}insertNode(e,t){Ur(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(r=>{let u=r.player;if(u.destroyed)return;let i=r.element,o=this._elementListeners.get(i);o&&o.forEach(l=>{if(l.name==r.triggerName){let d=lp(i,r.triggerName,r.fromState.value,r.toState.value);d._data=e,sp(r.player,l.phase,d,l.callback)}}),u.markedForDestroy?this._engine.afterFlush(()=>{u.destroy()}):t.push(r)}),this._queue=[],t.sort((r,u)=>{let i=r.transition.ast.depCount,o=u.transition.ast.depCount;return i==0||o==0?i-o:this._engine.driver.containsElement(r.element,u.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},mDe=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,r,u){this.bodyNode=e,this.driver=t,this._normalizer=r,this.scheduler=u,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(i,o)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(r=>{r.queued&&e.push(r)})}),e}createNamespace(e,t){let r=new pDe(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(r,t):(this.newHostElements.set(t,r),this.collectEnterElement(t)),this._namespaceLookup[e]=r}_balanceNamespaceList(e,t){let r=this._namespaceList,u=this.namespacesByHostElement;if(r.length-1>=0){let i=!1,o=this.driver.getParentElement(t);for(;o;){let l=u.get(o);if(l){let d=r.indexOf(l);r.splice(d+1,0,e),i=!0;break}o=this.driver.getParentElement(o)}i||r.unshift(e)}else r.push(e);return u.set(t,e),e}register(e,t){let r=this._namespaceLookup[e];return r||(r=this.createNamespace(e,t)),r}registerTrigger(e,t,r){let u=this._namespaceLookup[e];u&&u.register(t,r)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let r=this._fetchNamespace(e);this.namespacesByHostElement.delete(r.hostElement);let u=this._namespaceList.indexOf(r);u>=0&&this._namespaceList.splice(u,1),r.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,r=this.statesByElement.get(e);if(r){for(let u of r.values())if(u.namespaceId){let i=this._fetchNamespace(u.namespaceId);i&&t.add(i)}}return t}trigger(e,t,r,u){if(H0(t)){let i=this._fetchNamespace(e);if(i)return i.trigger(t,r,u),!0}return!1}insertNode(e,t,r,u){if(!H0(t))return;let i=t[ta];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;let o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(t,r)}u&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Ur(e,X1)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Is(e,X1))}removeNode(e,t,r){var u;if(H0(t)){(u=this.scheduler)==null||u.notify();let i=e?this._fetchNamespace(e):null;i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r);let o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,r)}else this._onRemovalComplete(t,r)}markElementAsRemoved(e,t,r,u,i){this.collectedLeaveElements.push(t),t[ta]={namespaceId:e,setForRemoval:u,hasAnimation:r,removedBeforeQueried:!1,previousTriggersValues:i}}listen(e,t,r,u,i){return H0(t)?this._fetchNamespace(e).listen(t,r,u,i):()=>{}}_buildInstruction(e,t,r,u,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,r,u,e.fromState.options,e.toState.options,t,i)}destroyInnerAnimations(e){let t=this.driver.query(e,Vd,!0);t.forEach(r=>this.destroyActiveAnimationsForElement(r)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,c6,!0),t.forEach(r=>this.finishActiveQueriedAnimationOnElement(r)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(r=>{r.queued?r.markedForDestroy=!0:r.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(r=>r.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return mo(this.players).onDone(()=>e());e()})}processLeaveNode(e){var r;let t=e[ta];if(t&&t.setForRemoval){if(e[ta]=JC,t.namespaceId){this.destroyInnerAnimations(e);let u=this._fetchNamespace(t.namespaceId);u&&u.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}(r=e.classList)!=null&&r.contains(X1)&&this.markElementAsDisabled(e,!1),this.driver.query(e,lDe,!0).forEach(u=>{this.markElementAsDisabled(u,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((r,u)=>this._balanceNamespaceList(r,u)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let r=0;r<this.collectedEnterElements.length;r++){let u=this.collectedEnterElements[r];Ur(u,cDe)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){let r=[];try{t=this._flushAnimations(r,e)}finally{for(let u=0;u<r.length;u++)r[u]()}}else for(let r=0;r<this.collectedLeaveElements.length;r++){let u=this.collectedLeaveElements[r];this.processLeaveNode(u)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(r=>r()),this._flushFns=[],this._whenQuietFns.length){let r=this._whenQuietFns;this._whenQuietFns=[],t.length?mo(t).onDone(()=>{r.forEach(u=>u())}):r.forEach(u=>u())}}reportError(e){throw FAe()}_flushAnimations(e,t){let r=new mp,u=[],i=new Map,o=[],l=new Map,d=new Map,n=new Map,h=new Set;this.disabledNodes.forEach(_=>{h.add(_);let S=this.driver.query(_,sDe,!0);for(let R=0;R<S.length;R++)h.add(S[R])});let s=this.bodyNode,c=Array.from(this.statesByElement.keys()),f=z7(c,this.collectedEnterElements),p=new Map,m=0;f.forEach((_,S)=>{let R=jC+m++;p.set(S,R),_.forEach(z=>Ur(z,R))});let g=[],E=new Set,C=new Set;for(let _=0;_<this.collectedLeaveElements.length;_++){let S=this.collectedLeaveElements[_],R=S[ta];R&&R.setForRemoval&&(g.push(S),E.add(S),R.hasAnimation?this.driver.query(S,dDe,!0).forEach(z=>E.add(z)):C.add(S))}let A=new Map,F=z7(c,Array.from(E));F.forEach((_,S)=>{let R=l6+m++;A.set(S,R),_.forEach(z=>Ur(z,R))}),e.push(()=>{f.forEach((_,S)=>{let R=p.get(S);_.forEach(z=>Is(z,R))}),F.forEach((_,S)=>{let R=A.get(S);_.forEach(z=>Is(z,R))}),g.forEach(_=>{this.processLeaveNode(_)})});let v=[],a=[];for(let _=this._namespaceList.length-1;_>=0;_--)this._namespaceList[_].drainQueuedTransitions(t).forEach(S=>{let R=S.player,z=S.element;if(v.push(R),this.collectedEnterElements.length){let Pe=z[ta];if(Pe&&Pe.setForMove){if(Pe.previousTriggersValues&&Pe.previousTriggersValues.has(S.triggerName)){let Ne=Pe.previousTriggersValues.get(S.triggerName),Ie=this.statesByElement.get(S.element);if(Ie&&Ie.has(S.triggerName)){let Ye=Ie.get(S.triggerName);Ye.value=Ne,Ie.set(S.triggerName,Ye)}}R.destroy();return}}let j=!s||!this.driver.containsElement(s,z),ue=A.get(z),pe=p.get(z),le=this._buildInstruction(S,r,pe,ue,j);if(le.errors&&le.errors.length){a.push(le);return}if(j){R.onStart(()=>Jo(z,le.fromStyles)),R.onDestroy(()=>Aa(z,le.toStyles)),u.push(R);return}if(S.isFallbackTransition){R.onStart(()=>Jo(z,le.fromStyles)),R.onDestroy(()=>Aa(z,le.toStyles)),u.push(R);return}let fe=[];le.timelines.forEach(Pe=>{Pe.stretchStartingKeyframe=!0,this.disabledNodes.has(Pe.element)||fe.push(Pe)}),le.timelines=fe,r.append(z,le.timelines);let we={instruction:le,player:R,element:z};o.push(we),le.queriedElements.forEach(Pe=>Pr(l,Pe,[]).push(R)),le.preStyleProps.forEach((Pe,Ne)=>{if(Pe.size){let Ie=d.get(Ne);Ie||d.set(Ne,Ie=new Set),Pe.forEach((Ye,ze)=>Ie.add(ze))}}),le.postStyleProps.forEach((Pe,Ne)=>{let Ie=n.get(Ne);Ie||n.set(Ne,Ie=new Set),Pe.forEach((Ye,ze)=>Ie.add(ze))})});if(a.length){let _=[];a.forEach(S=>{_.push(AAe(S.triggerName,S.errors))}),v.forEach(S=>S.destroy()),this.reportError(_)}let D=new Map,x=new Map;o.forEach(_=>{let S=_.element;r.has(S)&&(x.set(S,S),this._beforeAnimationBuild(_.player.namespaceId,_.instruction,D))}),u.forEach(_=>{let S=_.element;this._getPreviousPlayers(S,!1,_.namespaceId,_.triggerName,null).forEach(R=>{Pr(D,S,[]).push(R),R.destroy()})});let N=g.filter(_=>V7(_,d,n)),k=new Map;L7(k,this.driver,C,n,Ua).forEach(_=>{V7(_,d,n)&&N.push(_)});let I=new Map;f.forEach((_,S)=>{L7(I,this.driver,new Set(_),d,Tf)}),N.forEach(_=>{let S=k.get(_),R=I.get(_);k.set(_,new Map([...(S==null?void 0:S.entries())??[],...(R==null?void 0:R.entries())??[]]))});let B=[],w=[],b={};o.forEach(_=>{let{element:S,player:R,instruction:z}=_;if(r.has(S)){if(h.has(S)){R.onDestroy(()=>Aa(S,z.toStyles)),R.disabled=!0,R.overrideTotalTime(z.totalTime),u.push(R);return}let j=b;if(x.size>1){let pe=S,le=[];for(;pe=pe.parentNode;){let fe=x.get(pe);if(fe){j=fe;break}le.push(pe)}le.forEach(fe=>x.set(fe,j))}let ue=this._buildAnimation(R.namespaceId,z,D,i,I,k);if(R.setRealPlayer(ue),j===b)B.push(R);else{let pe=this.playersByElement.get(j);pe&&pe.length&&(R.parentPlayer=mo(pe)),u.push(R)}}else Jo(S,z.fromStyles),R.onDestroy(()=>Aa(S,z.toStyles)),w.push(R),h.has(S)&&u.push(R)}),w.forEach(_=>{let S=i.get(_.element);if(S&&S.length){let R=mo(S);_.setRealPlayer(R)}}),u.forEach(_=>{_.parentPlayer?_.syncPlayerEvents(_.parentPlayer):_.destroy()});for(let _=0;_<g.length;_++){let S=g[_],R=S[ta];if(Is(S,l6),R&&R.hasAnimation)continue;let z=[];if(l.size){let ue=l.get(S);ue&&ue.length&&z.push(...ue);let pe=this.driver.query(S,c6,!0);for(let le=0;le<pe.length;le++){let fe=l.get(pe[le]);fe&&fe.length&&z.push(...fe)}}let j=z.filter(ue=>!ue.destroyed);j.length?FDe(this,S,j):this.processLeaveNode(S)}return g.length=0,B.forEach(_=>{this.players.push(_),_.onDone(()=>{_.destroy();let S=this.players.indexOf(_);this.players.splice(S,1)}),_.play()}),B}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,r,u,i){let o=[];if(t){let l=this.playersByQueriedElement.get(e);l&&(o=l)}else{let l=this.playersByElement.get(e);if(l){let d=!i||i==Yl;l.forEach(n=>{n.queued||!d&&n.triggerName!=u||o.push(n)})}}return(r||u)&&(o=o.filter(l=>!(r&&r!=l.namespaceId||u&&u!=l.triggerName))),o}_beforeAnimationBuild(e,t,r){let u=t.triggerName,i=t.element,o=t.isRemovalTransition?void 0:e,l=t.isRemovalTransition?void 0:u;for(let d of t.timelines){let n=d.element,h=n!==i,s=Pr(r,n,[]);this._getPreviousPlayers(n,h,o,l,t.toState).forEach(c=>{let f=c.getRealPlayer();f.beforeDestroy&&f.beforeDestroy(),c.destroy(),s.push(c)})}Jo(i,t.fromStyles)}_buildAnimation(e,t,r,u,i,o){let l=t.triggerName,d=t.element,n=[],h=new Set,s=new Set,c=t.timelines.map(p=>{let m=p.element;h.add(m);let g=m[ta];if(g&&g.removedBeforeQueried)return new pc(p.duration,p.delay);let E=m!==d,C=ADe((r.get(m)||hDe).map(D=>D.getRealPlayer())).filter(D=>{let x=D;return x.element?x.element===m:!1}),A=i.get(m),F=o.get(m),v=MC(this._normalizer,p.keyframes,A,F),a=this._buildPlayer(p,v,C);if(p.subTimeline&&u&&s.add(m),E){let D=new p6(e,l,m);D.setRealPlayer(a),n.push(D)}return a});n.forEach(p=>{Pr(this.playersByQueriedElement,p.element,[]).push(p),p.onDone(()=>gDe(this.playersByQueriedElement,p.element,p))}),h.forEach(p=>Ur(p,k7));let f=mo(c);return f.onDestroy(()=>{h.forEach(p=>Is(p,k7)),Aa(d,t.toStyles)}),s.forEach(p=>{Pr(u,p,[]).push(f)}),f}_buildPlayer(e,t,r){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,r):new pc(e.duration,e.delay)}},p6=class{constructor(e,t,r){this.namespaceId=e,this.triggerName=t,this.element=r,this._player=new pc,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,r)=>{t.forEach(u=>sp(e,r,void 0,u))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){Pr(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function gDe(e,t,r){let u=e.get(t);if(u){if(u.length){let i=u.indexOf(r);u.splice(i,1)}u.length==0&&e.delete(t)}return u}function CDe(e){return e??null}function H0(e){return e&&e.nodeType===1}function EDe(e){return e=="start"||e=="done"}function N7(e,t){let r=e.style.display;return e.style.display=t??"none",r}function L7(e,t,r,u,i){let o=[];r.forEach(n=>o.push(N7(n)));let l=[];u.forEach((n,h)=>{let s=new Map;n.forEach(c=>{let f=t.computeStyle(h,c,i);s.set(c,f),(!f||f.length==0)&&(h[ta]=fDe,l.push(h))}),e.set(h,s)});let d=0;return r.forEach(n=>N7(n,o[d++])),l}function z7(e,t){let r=new Map;if(e.forEach(d=>r.set(d,[])),t.length==0)return r;let u=1,i=new Set(t),o=new Map;function l(d){if(!d)return u;let n=o.get(d);if(n)return n;let h=d.parentNode;return r.has(h)?n=h:i.has(h)?n=u:n=l(h),o.set(d,n),n}return t.forEach(d=>{let n=l(d);n!==u&&r.get(n).push(d)}),r}function Ur(e,t){var r;(r=e.classList)==null||r.add(t)}function Is(e,t){var r;(r=e.classList)==null||r.remove(t)}function FDe(e,t,r){mo(r).onDone(()=>e.processLeaveNode(t))}function ADe(e){let t=[];return QC(e,t),t}function QC(e,t){for(let r=0;r<e.length;r++){let u=e[r];u instanceof Og?QC(u.players,t):t.push(u)}}function DDe(e,t){let r=Object.keys(e),u=Object.keys(t);if(r.length!=u.length)return!1;for(let i=0;i<r.length;i++){let o=r[i];if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}function V7(e,t,r){let u=r.get(e);if(!u)return!1;let i=t.get(e);return i?u.forEach(o=>i.add(o)):t.set(e,u),r.delete(e),!0}var m6=class{constructor(e,t,r,u){this._driver=t,this._normalizer=r,this._triggerCache={},this.onRemovalComplete=(i,o)=>{},this._transitionEngine=new mDe(e.body,t,r,u),this._timelineEngine=new oDe(e.body,t,r),this._transitionEngine.onRemovalComplete=(i,o)=>this.onRemovalComplete(i,o)}registerTrigger(e,t,r,u,i){let o=e+"-"+u,l=this._triggerCache[o];if(!l){let d=[],n=[],h=WC(this._driver,i,d,n);if(d.length)throw lAe();n.length,l=iDe(u,h,this._normalizer),this._triggerCache[o]=l}this._transitionEngine.registerTrigger(t,u,l)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,r,u){this._transitionEngine.insertNode(e,t,r,u)}onRemove(e,t,r){this._transitionEngine.removeNode(e,t,r)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,r,u){if(r.charAt(0)=="@"){let[i,o]=w7(r),l=u;this._timelineEngine.command(i,t,o,l)}else this._transitionEngine.trigger(e,t,r,u)}listen(e,t,r,u,i){if(r.charAt(0)=="@"){let[o,l]=w7(r);return this._timelineEngine.listen(o,t,l,i)}return this._transitionEngine.listen(e,t,r,u,i)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function vDe(e,t){let r=null,u=null;return Array.isArray(t)&&t.length?(r=Y1(t[0]),t.length>1&&(u=Y1(t[t.length-1]))):t instanceof Map&&(r=Y1(t)),r||u?new BDe(e,r,u):null}var Wa,BDe=(Wa=class{constructor(t,r,u){this._element=t,this._startStyles=r,this._endStyles=u,this._state=0;let i=Wa.initialStylesByElement.get(t);i||Wa.initialStylesByElement.set(t,i=new Map),this._initialStyles=i}start(){this._state<1&&(this._startStyles&&Aa(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Aa(this._element,this._initialStyles),this._endStyles&&(Aa(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Wa.initialStylesByElement.delete(this._element),this._startStyles&&(Jo(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Jo(this._element,this._endStyles),this._endStyles=null),Aa(this._element,this._initialStyles),this._state=3)}},Wa.initialStylesByElement=new WeakMap,Wa);function Y1(e){let t=null;return e.forEach((r,u)=>{yDe(u)&&(t=t||new Map,t.set(u,r))}),t}function yDe(e){return e==="display"||e==="position"}var j7=class{constructor(e,t,r,u){this.element=e,this.keyframes=t,this.options=r,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(r=>{t.push(Object.fromEntries(r))}),t}_triggerWebAnimation(e,t,r){return e.animate(this._convertKeyframesToObject(t),r)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((t,r)=>{r!=="offset"&&e.set(r,this._finished?t:fp(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(r=>r()),t.length=0}},bDe=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}matchesElement(e,t){return!1}containsElement(e,t){return NC(e,t)}getParentElement(e){return cp(e)}query(e,t,r){return LC(e,t,r)}computeStyle(e,t,r){return fp(e,t)}animate(e,t,r,u,i,o=[]){let l=u==0?"both":"forwards",d={duration:r,delay:u,fill:l};i&&(d.easing=i);let n=new Map,h=o.filter(f=>f instanceof j7);PAe(r,u)&&h.forEach(f=>{f.currentSnapshot.forEach((p,m)=>n.set(m,p))});let s=SAe(t).map(f=>new Map(f));s=TAe(e,s,n);let c=vDe(e,s);return new j7(e,s,d,c)}},rd="@",$C="@.disabled",eE=class{constructor(e,t,r,u){this.namespaceId=e,this.delegate=t,this.engine=r,this._onDestroy=u,this.ɵtype=0}get data(){return this.delegate.data}destroyNode(e){var t,r;(r=(t=this.delegate).destroyNode)==null||r.call(t,e)}destroy(){var e;this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),(e=this._onDestroy)==null||e.call(this)}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,r,u=!0){this.delegate.insertBefore(e,t,r),this.engine.onInsert(this.namespaceId,t,e,u)}removeChild(e,t,r){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,r,u){this.delegate.setAttribute(e,t,r,u)}removeAttribute(e,t,r){this.delegate.removeAttribute(e,t,r)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,r,u){this.delegate.setStyle(e,t,r,u)}removeStyle(e,t,r){this.delegate.removeStyle(e,t,r)}setProperty(e,t,r){t.charAt(0)==rd&&t==$C?this.disableAnimations(e,!!r):this.delegate.setProperty(e,t,r)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,r){return this.delegate.listen(e,t,r)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},xDe=class extends eE{constructor(e,t,r,u,i){super(t,r,u,i),this.factory=e,this.namespaceId=t}setProperty(e,t,r){t.charAt(0)==rd?t.charAt(1)=="."&&t==$C?(r=r===void 0?!0:!!r,this.disableAnimations(e,r)):this.engine.process(this.namespaceId,e,t.slice(1),r):this.delegate.setProperty(e,t,r)}listen(e,t,r){if(t.charAt(0)==rd){let u=_De(e),i=t.slice(1),o="";return i.charAt(0)!=rd&&([i,o]=wDe(i)),this.engine.listen(this.namespaceId,u,i,o,l=>{let d=l._data||-1;this.factory.scheduleListenerCallback(d,r,l)})}return this.delegate.listen(e,t,r)}};function _De(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}function wDe(e){let t=e.indexOf("."),r=e.substring(0,t),u=e.slice(t+1);return[r,u]}var SDe=class{constructor(e,t,r){this.delegate=e,this.engine=t,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(u,i)=>{let o=i==null?void 0:i.parentNode(u);o&&i.removeChild(o,u)}}createRenderer(e,t){var d;let r="",u=this.delegate.createRenderer(e,t);if(!e||!((d=t==null?void 0:t.data)!=null&&d.animation)){let n=this._rendererCache,h=n.get(u);if(!h){let s=()=>n.delete(u);h=new eE(r,u,this.engine,s),n.set(u,h)}return h}let i=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let l=n=>{Array.isArray(n)?n.forEach(l):this.engine.registerTrigger(i,o,e,n.name,n)};return t.data.animation.forEach(l),new xDe(this,o,u,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,r){if(e>=0&&e<this._microtaskId){this._zone.run(()=>t(r));return}let u=this._animationCallbacksBuffer;u.length==0&&queueMicrotask(()=>{this._zone.run(()=>{u.forEach(i=>{let[o,l]=i;o(l)}),this._animationCallbacksBuffer=[]})}),u.push([t,r])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}},kDe=(()=>{const t=class t extends m6{constructor(u,i,o){super(u,i,o,Xt(c3,{optional:!0}))}ngOnDestroy(){this.flush()}};t.ɵfac=function(u){return new(u||t)(It(hi),It(zC),It(dp))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})();function IDe(){return new RAe}function PDe(e,t,r){return new SDe(e,t,r)}var TDe=[{provide:dp,useFactory:IDe},{provide:m6,useClass:kDe},{provide:gf,useFactory:PDe,deps:[t6,m6,ri]}],ODe=[{provide:zC,useFactory:()=>new bDe},{provide:Jr,useValue:"BrowserAnimations"},...TDe];function gp(){return Nc("NgEagerAnimations"),[...ODe]}var RDe=Fc(j5e(),1),MDe=new iu("MESSAGE_FORMAT_CONFIG"),NDe={biDiSupport:!1,formatters:{},strictNumberSign:!1,currency:"USD",strictPluralKeys:!0,throwOnError:!1,fallbackPrefix:void 0},Cp=(()=>{const t=class t extends Bo{constructor(u){super(),this.mfCache=new Map;let{formatters:i,biDiSupport:o,strictNumberSign:l,currency:d,strictPluralKeys:n,throwOnError:h,fallbackPrefix:s}=Fu(Fu({},NDe),u);this.messageFormatOptions={customFormatters:i,biDiSupport:o,strict:l,currency:d,strictPluralKeys:n},this.throwOnError=!!h,this.fallbackPrefix=s}compile(u,i){if(this.fallbackPrefix&&u.startsWith(this.fallbackPrefix))return u.slice(this.fallbackPrefix.length);let o;try{o=this.getMessageFormatInstance(i).compile(u)}catch(l){if(this.throwOnError)throw l;console.error(l),console.error(`[ngx-translate-messageformat-compiler] Could not compile message for lang '${i}': '${u}'`),o=zDe(u,i)}return this.throwOnError||(o=LDe(o,u)),o}compileTranslations(u,i){return typeof u=="string"?this.compile(u,i):Object.keys(u).reduce((o,l)=>{let d=u[l];return o[l]=this.compileTranslations(d,i),o},{})}getMessageFormatInstance(u){return this.mfCache.has(u)||this.mfCache.set(u,new RDe.default(u,this.messageFormatOptions)),this.mfCache.get(u)}};t.ɵfac=function(u){return new(u||t)(It(MDe,8))},t.ɵprov=hu({token:t,factory:t.ɵfac});let e=t;return e})();function LDe(e,t){return r=>{let u=t;try{u=e(r)}catch(i){console.error(i),console.error(`[ngx-translate-messageformat-compiler] Could not interpolate '${t}' with params '${r}'`)}return u}}function zDe(e,t){return()=>(console.warn(`[ngx-translate-messageformat-compiler] Falling back to original invalid message: '${e}' ('${t}')`),String(e))}var tE={};du(tE,{"00001":()=>uE,"00002":()=>iE,"00003":()=>nE,"00004":()=>rE,"00005":()=>aE,"00006":()=>oE,"00007":()=>sE,"00008":()=>lE,"00009":()=>cE,"00010":()=>dE,"00011":()=>hE,"00012":()=>fE,"00013":()=>pE,"00014":()=>mE,"00015":()=>gE,"00016":()=>CE,"00017":()=>EE,"00018":()=>FE,"00019":()=>AE,"00020":()=>DE,"00021":()=>vE,"00022":()=>BE,"00023":()=>yE,"00024":()=>bE,"00025":()=>xE,"00026":()=>_E,"00027":()=>wE,"00028":()=>SE,"00029":()=>kE,"00030":()=>IE,ampoule:()=>iF,bandage:()=>QE,bottle:()=>nF,box:()=>eF,cm:()=>PE,default:()=>VDe,dropsperminute:()=>TE,"effervescent-tablet":()=>KE,gm:()=>OE,internationalunits:()=>RE,iu:()=>ZE,liter:()=>tF,"mck/h":()=>ME,"mck/kg/minute":()=>NE,measure:()=>LE,meq:()=>GE,mg:()=>WE,"mg/h":()=>zE,"mg/ml":()=>qE,micrograms:()=>JE,miu:()=>XE,"ml/h":()=>VE,mmol:()=>YE,piece:()=>$E,syringe:()=>uF,"syringe-ampoule":()=>rF,tbl:()=>jE,tsp:()=>UE,"unt/h":()=>HE});var uE="{count, plural, one{kaffeelöffel (5 ml)} other{kaffeelöffellen (5 ml)}}",iE="{count, plural, one{Ampulle} other{Ampullen}}",nE="anwenden",rE="{count, plural, one{Kapsel} other{Kapseln}}",aE="{count, plural, one{Tablette} other{Tabletten}}",oE="Dosis",sE="{count, plural, one{Tropf} other{Tropfen}}",lE="{count, plural, one{Fläsche} other{Fläschchen}}",cE="{count, plural, one{Implantat} other{Implantate}}",dE="{count, plural, one{Infusion} other{Infusionen}}",hE="{count, plural, one{Inhalation} other{Inhalationen}}",fE="Einstechen",pE="Kaugummi",mE="{count, plural, one{Kompresse} other{Kompressen}}",gE="{count, plural, one{Einlauf} other{Einläufe}}",CE="ml",EE="Ov.",FE="{count, plural, one{Perle} other{Perlen}}",AE="{count, plural, one{Pastille} other{Pastillen}}",DE="Pflaster",vE="cart",BE="Pen",yE="{count, plural, one{Puff} other{Puffs}}",bE="{count, plural, one{Schwamm} other{Schwämme}}",xE="{count, plural, one{Stift} other{Stifte}}",_E="Suppo",wE="Tube",SE="{count, plural, one{Docht} other{Dochte}}",kE="Beutel",IE="Beutel",PE="Zentimeter",TE="{count, plural, one{Tropf pro Minute} other{Tropfen pro Minute}}",OE="Gramm",RE="{count, plural, one{Internationale Einheit} other{Internationale Einheiten}}",ME="Mikrogramm pro Stunde",NE="Mikrogramm pro Kilogramm pro Minute",LE="Maß",zE="Miligramm pro Stunde",VE="Milliliter pro Stunde",jE="Esslöffel",UE="Kaffeelöffel",HE="{count, plural, one{Einheit pro Stunde} other{Einheiten pro Stunde}}",WE="Milligramm",qE="Milligramm pro Millimeter",GE="meq",XE="miu",ZE="iu",YE="mmol",KE="effervescent-tablet",JE="micrograms",QE="{count, plural, one{bandage} other{bandagen}}",$E="{count, plural, one{stück} other{stücke}}",eF="schachteln",tF="liter",uF="{count, plural, one{spritze} other{spritzen}}",iF="{count, plural, one{glühbirn} other{glühbirnen}}",nF="{count, plural, one{Fläsche} other{Fläschchen}}",rF="{count, plural, one{spritze-ampulle} other{spritzen-ampulle}}",VDe={"00001":uE,"00002":iE,"00003":nE,"00004":rE,"00005":aE,"00006":oE,"00007":sE,"00008":lE,"00009":cE,"00010":dE,"00011":hE,"00012":fE,"00013":pE,"00014":mE,"00015":gE,"00016":CE,"00017":EE,"00018":FE,"00019":AE,"00020":DE,"00021":vE,"00022":BE,"00023":yE,"00024":bE,"00025":xE,"00026":_E,"00027":wE,"00028":SE,"00029":kE,"00030":IE,cm:PE,dropsperminute:TE,gm:OE,internationalunits:RE,"mck/h":ME,"mck/kg/minute":NE,measure:LE,"mg/h":zE,"ml/h":VE,tbl:jE,tsp:UE,"unt/h":HE,mg:WE,"mg/ml":qE,meq:GE,miu:XE,iu:ZE,mmol:YE,"effervescent-tablet":KE,micrograms:JE,bandage:QE,piece:$E,box:eF,liter:tF,syringe:uF,ampoule:iF,bottle:nF,"syringe-ampoule":rF},aF={};du(aF,{"00001":()=>oF,"00002":()=>sF,"00003":()=>lF,"00004":()=>cF,"00005":()=>dF,"00006":()=>hF,"00007":()=>fF,"00008":()=>pF,"00009":()=>mF,"00010":()=>gF,"00011":()=>CF,"00012":()=>EF,"00013":()=>FF,"00014":()=>AF,"00015":()=>DF,"00016":()=>vF,"00017":()=>BF,"00018":()=>yF,"00019":()=>bF,"00020":()=>xF,"00021":()=>_F,"00022":()=>wF,"00023":()=>SF,"00024":()=>kF,"00025":()=>IF,"00026":()=>PF,"00027":()=>TF,"00028":()=>OF,"00029":()=>RF,"00030":()=>MF,ampoule:()=>sA,bandage:()=>iA,bottle:()=>lA,box:()=>rA,cm:()=>NF,default:()=>jDe,dropsperminute:()=>LF,"effervescent-tablet":()=>tA,gm:()=>zF,internationalunits:()=>VF,iu:()=>$F,liter:()=>aA,"mck/h":()=>jF,"mck/kg/minute":()=>UF,measure:()=>HF,meq:()=>JF,mg:()=>YF,"mg/h":()=>WF,"mg/ml":()=>KF,micrograms:()=>uA,miu:()=>QF,"ml/h":()=>qF,mmol:()=>eA,piece:()=>nA,syringe:()=>oA,"syringe-ampoule":()=>cA,tbl:()=>GF,tsp:()=>XF,"unt/h":()=>ZF});var oF="{count, plural, one{Teaspoon (5 ml)} other{Teaspoons (5 ml)}}",sF="{count, plural, one{ampoule} other{ampoules}}",lF="applic.",cF="{count, plural, one{capsule} other{capsules}}",dF="{count, plural, one{tablet} other{tablets}}",hF="{count, plural, one{dose} other{doses}}",fF="{count, plural, one{drop} other{drops}}",pF="{count, plural, one{bottle} other{bottles}}",mF="{count, plural, one{implant} other{implants}}",gF="{count, plural, one{perfusion} other{perfusions}}",CF="{count, plural, one{inhalation} other{inhalations}}",EF="insert",FF="{count, plural, one{chewing gum} other{chewing gums}}",AF="{count, plural, one{compress} other{compresses}}",DF="enema",vF="ml",BF="{count, plural, one{ovule} other{ovules}}",yF="{count, plural, one{pearl} other{pearls}}",bF="{count, plural, one{pastille} other{pastilles}}",xF="{count, plural, one{patch} other{patches}}",_F="{count, plural, one{cartridge} other{cartridges}}",wF="{count, plural, one{pen} other{pens}}",SF="{count, plural, one{puff} other{puffs}}",kF="{count, plural, one{sponge} other{sponges}}",IF="{count, plural, one{stylo} other{stylos}}",PF="{count, plural, one{supository} other{supositories}}",TF="{count, plural, one{tube} other{tubes}}",OF="{count, plural, one{wick} other{wicks}}",RF="{count, plural, one{bag} other{bags}}",MF="{count, plural, one{small bag} other{small bags}}",NF="centimeter",LF="{count, plural, one{drop per minute} other{drops per minute}}",zF="gram",VF="international units",jF="microgram per hour",UF="microgram per kilogram per minute",HF="{count, plural, one{measure} other{measures}}",WF="milligram per hour",qF="milliliter per hour",GF="{count, plural, one{tablespoon} other{tablespoons}}",XF="{count, plural, one{teaspoon} other{teaspoons}}",ZF="{count, plural, one{unit per hour} other{units per hour}}",YF="milligram",KF="milligram per milliliter",JF="milli-equivalent",QF="miu",$F="international units",eA="millimole",tA="{count, plural, one{effervescent tablet} other{effervescent tablets}}",uA="microgram",iA="{count, plural, one{bandage} other{bandages}}",nA="{count, plural, one{piece} other{pieces}}",rA="{count, plural, one{spray} other{sprays}}",aA="liter",oA="{count, plural, one{syringe} other{syringes}}",sA="{count, plural, one{ampoule} other{ampoules}}",lA="{count, plural, one{bottle} other{bottles}}",cA="{count, plural, one{syringe ampoule} other{syringe ampoules}}",jDe={"00001":oF,"00002":sF,"00003":lF,"00004":cF,"00005":dF,"00006":hF,"00007":fF,"00008":pF,"00009":mF,"00010":gF,"00011":CF,"00012":EF,"00013":FF,"00014":AF,"00015":DF,"00016":vF,"00017":BF,"00018":yF,"00019":bF,"00020":xF,"00021":_F,"00022":wF,"00023":SF,"00024":kF,"00025":IF,"00026":PF,"00027":TF,"00028":OF,"00029":RF,"00030":MF,cm:NF,dropsperminute:LF,gm:zF,internationalunits:VF,"mck/h":jF,"mck/kg/minute":UF,measure:HF,"mg/h":WF,"ml/h":qF,tbl:GF,tsp:XF,"unt/h":ZF,mg:YF,"mg/ml":KF,meq:JF,miu:QF,iu:$F,mmol:eA,"effervescent-tablet":tA,micrograms:uA,bandage:iA,piece:nA,box:rA,liter:aA,syringe:oA,ampoule:sA,bottle:lA,"syringe-ampoule":cA},dA={};du(dA,{"00001":()=>hA,"00002":()=>fA,"00003":()=>pA,"00004":()=>mA,"00005":()=>gA,"00006":()=>CA,"00007":()=>EA,"00008":()=>FA,"00009":()=>AA,"00010":()=>DA,"00011":()=>vA,"00012":()=>BA,"00013":()=>yA,"00014":()=>bA,"00015":()=>xA,"00016":()=>_A,"00017":()=>wA,"00018":()=>SA,"00019":()=>kA,"00020":()=>IA,"00021":()=>PA,"00022":()=>TA,"00023":()=>OA,"00024":()=>RA,"00025":()=>MA,"00026":()=>NA,"00027":()=>LA,"00028":()=>zA,"00029":()=>VA,"00030":()=>jA,ampoule:()=>fD,bandage:()=>sD,bottle:()=>pD,box:()=>cD,cm:()=>UA,default:()=>UDe,dropsperminute:()=>HA,"effervescent-tablet":()=>aD,gm:()=>WA,internationalunits:()=>qA,iu:()=>nD,liter:()=>dD,"mck/h":()=>GA,"mck/kg/minute":()=>XA,measure:()=>ZA,meq:()=>uD,mg:()=>eD,"mg/h":()=>YA,"mg/ml":()=>tD,micrograms:()=>oD,miu:()=>iD,"ml/h":()=>KA,mmol:()=>rD,piece:()=>lD,syringe:()=>hD,"syringe-ampoule":()=>mD,tbl:()=>JA,tsp:()=>QA,"unt/h":()=>$A});var hA="{count, plural, one{cuillère à café (5 ml)} other{cuillères à café (5 ml)}}",fA="amp.",pA="applic.",mA="caps.",gA="compr.",CA="{count, plural, one{dose} other{doses}}",EA="{count, plural, one{goutte} other{gouttes}}",FA="flac.",AA="{count, plural, one{implant} other{implants}}",DA="{count, plural, one{perfusion} other{perfusions}}",vA="{count, plural, one{inhalation} other{inhalations}}",BA="insert",yA="{count, plural, one{gomme à mâcher} other{gommes à mâcher}}",bA="{count, plural, one{compres(se)} other{compres(ses)}}",xA="{count, plural, one{lavement} other{lavements}}",_A="ml",wA="ov.",SA="{count, plural, one{perle} other{perles}}",kA="{count, plural, one{pastille} other{pastilles}}",IA="{count, plural, one{patch} other{patchs}}",PA="patr.",TA="{count, plural, one{stylo} other{stylos}}",OA="{count, plural, one{puff} other{puffs}}",RA="{count, plural, one{éponge} other{éponges}}",MA="{count, plural, one{stylo} other{stylos}}",NA="suppo",LA="{count, plural, one{tube} other{tubes}}",zA="{count, plural, one{mèche} other{mèches}}",VA="{count, plural, one{sac} other{sacs}}",jA="{count, plural, one{sachet} other{sachets}}",UA="{count, plural, one{centimètre} other{centimètres}}",HA="{count, plural, one{goute par minute} other{goutes par minute}}",WA="{count, plural, one{gramme} other{grammes}}",qA="{count, plural, one{unité internationales} other{unités internationales}}",GA="{count, plural, one{microgramme par heure} other{microgrammes par heure}}",XA="{count, plural, one{microgramme par kilogramme par minute} other{microgrammes par kilogramme par minute}}",ZA="{count, plural, one{mesure} other{mesures}}",YA="{count, plural, one{milligramme par heure} other{milligrammes par heure}}",KA="{count, plural, one{millilitre par heure} other{millilitres par heure}}",JA="{count, plural, one{cuillère à soupe} other{cuillères à soupe}}",QA="{count, plural, one{cuillère à café} other{cuillères à café}}",$A="{count, plural, one{unité par heure} other{unités par heure}}",eD="{count, plural, one{miligramme} other{miligrammes}}",tD="{count, plural, one{milligramme par millimètre} other{milligrammes par millimètre}}",uD="milli-équivalent",iD="miu",nD="{count, plural, one{unité internationales} other{unités internationales}}",rD="millimol",aD="{count, plural, one{comprimé effervescent} other{comprimés effervescents}}",oD="{count, plural, one{microgramme} other{microgrammes}}",sD="{count, plural, one{bandage} other{bandages}}",lD="{count, plural, one{pièce} other{pièces}}",cD="{count, plural, one{vaporisateur} other{vaporisateurs}}",dD="{count, plural, one{litre} other{litres}}",hD="{count, plural, one{seringue} other{seringues}}",fD="{count, plural, one{ampoule} other{ampoules}}",pD="{count, plural, one{fiole} other{fioles}}",mD="{count, plural, one{ampoule de seringue} other{ampoules de seringue}}",UDe={"00001":hA,"00002":fA,"00003":pA,"00004":mA,"00005":gA,"00006":CA,"00007":EA,"00008":FA,"00009":AA,"00010":DA,"00011":vA,"00012":BA,"00013":yA,"00014":bA,"00015":xA,"00016":_A,"00017":wA,"00018":SA,"00019":kA,"00020":IA,"00021":PA,"00022":TA,"00023":OA,"00024":RA,"00025":MA,"00026":NA,"00027":LA,"00028":zA,"00029":VA,"00030":jA,cm:UA,dropsperminute:HA,gm:WA,internationalunits:qA,"mck/h":GA,"mck/kg/minute":XA,measure:ZA,"mg/h":YA,"ml/h":KA,tbl:JA,tsp:QA,"unt/h":$A,mg:eD,"mg/ml":tD,meq:uD,miu:iD,iu:nD,mmol:rD,"effervescent-tablet":aD,micrograms:oD,bandage:sD,piece:lD,box:cD,liter:dD,syringe:hD,ampoule:fD,bottle:pD,"syringe-ampoule":mD},gD={};du(gD,{"00001":()=>CD,"00002":()=>ED,"00003":()=>FD,"00004":()=>AD,"00005":()=>DD,"00006":()=>vD,"00007":()=>BD,"00008":()=>yD,"00009":()=>bD,"00010":()=>xD,"00011":()=>_D,"00012":()=>wD,"00013":()=>SD,"00014":()=>kD,"00015":()=>ID,"00016":()=>PD,"00017":()=>TD,"00018":()=>OD,"00019":()=>RD,"00020":()=>MD,"00021":()=>ND,"00022":()=>LD,"00023":()=>zD,"00024":()=>VD,"00025":()=>jD,"00026":()=>UD,"00027":()=>HD,"00028":()=>WD,"00029":()=>qD,"00030":()=>GD,ampoule:()=>Ev,bandage:()=>fv,bottle:()=>Fv,box:()=>mv,cm:()=>XD,default:()=>HDe,dropsperminute:()=>ZD,"effervescent-tablet":()=>dv,gm:()=>YD,internationalunits:()=>KD,iu:()=>lv,liter:()=>gv,"mck/h":()=>JD,"mck/kg/minute":()=>QD,measure:()=>$D,meq:()=>ov,mg:()=>rv,"mg/h":()=>ev,"mg/ml":()=>av,micrograms:()=>hv,miu:()=>sv,"ml/h":()=>tv,mmol:()=>cv,piece:()=>pv,syringe:()=>Cv,"syringe-ampoule":()=>Av,tbl:()=>uv,tsp:()=>iv,"unt/h":()=>nv});var CD="{count, plural, one{Koffielepel (5 ml)} other{Koffielepels (5 ml)}}",ED="{count, plural, one{ampule} other{ampullen}}",FD="aanbrengen",AD="{count, plural, one{capsule} other{capsules}}",DD="{count, plural, one{tablet} other{tabletten}}",vD="{count, plural, one{dose} other{dosissen}}",BD="{count, plural, one{druppel} other{druppels}}",yD="{count, plural, one{flesje} other{flesjes}}",bD="{count, plural, one{implantaat} other{implantaten}}",xD="{count, plural, one{infuus} other{infusen}}",_D="{count, plural, one{inhalatie} other{inhalaties}}",wD="inbrengen",SD="{count, plural, one{kauwgom} other{kauwgommen}}",kD="{count, plural, one{kompres} other{kompressen}}",ID="lavement",PD="ml",TD="{count, plural, one{ovule} other{ovules}}",OD="{count, plural, one{parel} other{parels}}",RD="{count, plural, one{pastille} other{pastilles}}",MD="{count, plural, one{pleister} other{pleisters}}",ND="{count, plural, one{patroon} other{patronen}}",LD="{count, plural, one{pen} other{pennen}}",zD="{count, plural, one{puff} other{puffs}}",VD="{count, plural, one{spons} other{sponsen}}",jD="{count, plural, one{stylo} other{stylos}}",UD="{count, plural, one{zetpil} other{zetpillen}}",HD="{count, plural, one{tube} other{tubes}}",WD="{count, plural, one{wiek} other{wieken}}",qD="{count, plural, one{zak} other{zakken}}",GD="{count, plural, one{zakje} other{zakjes}}",XD="centimeter",ZD="{count, plural, one{druppel per minuut} other{druppels per minuut}}",YD="gram",KD="internationale eenheden",JD="microgram per uur",QD="microgram per kilogram per minuut",$D="{count, plural, one{maat} other{maten}}",ev="milligram per uur",tv="milliliter per uur",uv="{count, plural, one{eetlepel} other{eetlepels}}",iv="{count, plural, one{koffielepel} other{koffielepels}}",nv="{count, plural, one{eenheid per uur} other{eenheden per uur}}",rv="miligram",av="miligram per milimeter",ov="milli-equivalent",sv="miu",lv="internationale eenheden",cv="millimol",dv="{count, plural, one{bruistablet} other{bruistabletten}}",hv="microgram",fv="{count, plural, one{verband} other{verbanden}}",pv="{count, plural, one{stuk} other{stuks}}",mv="{count, plural, one{verstuiving} other{verstuivingen}}",gv="liter",Cv="{count, plural, one{spuit} other{spuiten}}",Ev="{count, plural, one{ampul} other{ampullen}}",Fv="{count, plural, one{fles} other{flessen}}",Av="{count, plural, one{spuitampul} other{spuitampullen}}",HDe={"00001":CD,"00002":ED,"00003":FD,"00004":AD,"00005":DD,"00006":vD,"00007":BD,"00008":yD,"00009":bD,"00010":xD,"00011":_D,"00012":wD,"00013":SD,"00014":kD,"00015":ID,"00016":PD,"00017":TD,"00018":OD,"00019":RD,"00020":MD,"00021":ND,"00022":LD,"00023":zD,"00024":VD,"00025":jD,"00026":UD,"00027":HD,"00028":WD,"00029":qD,"00030":GD,cm:XD,dropsperminute:ZD,gm:YD,internationalunits:KD,"mck/h":JD,"mck/kg/minute":QD,measure:$D,"mg/h":ev,"ml/h":tv,tbl:uv,tsp:iv,"unt/h":nv,mg:rv,"mg/ml":av,meq:ov,miu:sv,iu:lv,mmol:cv,"effervescent-tablet":dv,micrograms:hv,bandage:fv,piece:pv,box:mv,liter:gv,syringe:Cv,ampoule:Ev,bottle:Fv,"syringe-ampoule":Av},WDe={nl:gD,fr:dA,de:tE,en:aF},Dv={};du(Dv,{default:()=>qDe,friday:()=>xv,monday:()=>vv,saturday:()=>_v,sunday:()=>wv,thursday:()=>bv,tuesday:()=>Bv,wednesday:()=>yv});var vv="Montag",Bv="Dienstag",yv="Mittwoch",bv="Donnerstag",xv="Freitag",_v="Samstag",wv="Sonntag",qDe={monday:vv,tuesday:Bv,wednesday:yv,thursday:bv,friday:xv,saturday:_v,sunday:wv},Sv={};du(Sv,{default:()=>GDe,friday:()=>Ov,monday:()=>kv,saturday:()=>Rv,sunday:()=>Mv,thursday:()=>Tv,tuesday:()=>Iv,wednesday:()=>Pv});var kv="Monday",Iv="Tuesday",Pv="Wednesday",Tv="Thursday",Ov="Friday",Rv="Saturday",Mv="Sunday",GDe={monday:kv,tuesday:Iv,wednesday:Pv,thursday:Tv,friday:Ov,saturday:Rv,sunday:Mv},Nv={};du(Nv,{default:()=>XDe,friday:()=>Uv,monday:()=>Lv,saturday:()=>Hv,sunday:()=>Wv,thursday:()=>jv,tuesday:()=>zv,wednesday:()=>Vv});var Lv="Lundi",zv="Mardi",Vv="Mercredi",jv="Jeudi",Uv="Vendredi",Hv="Samedi",Wv="Dimanche",XDe={monday:Lv,tuesday:zv,wednesday:Vv,thursday:jv,friday:Uv,saturday:Hv,sunday:Wv},qv={};du(qv,{default:()=>ZDe,friday:()=>Kv,monday:()=>Gv,saturday:()=>Jv,sunday:()=>Qv,thursday:()=>Yv,tuesday:()=>Xv,wednesday:()=>Zv});var Gv="Maandag",Xv="Dinsdag",Zv="Woensdag",Yv="Donderdag",Kv="Vrijdag",Jv="Zaterdag",Qv="Zondag",ZDe={monday:Gv,tuesday:Xv,wednesday:Zv,thursday:Yv,friday:Kv,saturday:Jv,sunday:Qv},$v={nl:qv,fr:Nv,de:Dv,en:Sv},eB={};du(eB,{VIDIS_0035:()=>tB,VIDIS_0050:()=>uB,VIDIS_0090:()=>iB,VIDIS_0100:()=>nB,VIDIS_0110:()=>rB,VIDIS_0120:()=>aB,VIDIS_0121:()=>oB,VIDIS_0122:()=>sB,VIDIS_0123:()=>lB,VIDIS_0124:()=>cB,VIDIS_0125:()=>dB,VIDIS_0126:()=>hB,VIDIS_0190:()=>fB,VIDIS_0200:()=>pB,VIDIS_0210:()=>mB,VIDIS_0211:()=>gB,VIDIS_0230:()=>CB,VIDIS_0290:()=>EB,VIDIS_0330:()=>FB,VIDIS_0340:()=>AB,VIDIS_0341:()=>DB,VIDIS_0400:()=>vB,VIDIS_0435:()=>BB,VIDIS_0440:()=>yB,VIDIS_5000:()=>bB,VIDIS_7000:()=>xB,default:()=>YDe,general:()=>wB,invalid_date_format:()=>TB,myHealth:()=>kB,myHealthUrl:()=>IB,network_error:()=>PB,"no-access":()=>SB,prescriptionList:()=>_B,"status-message-content":()=>RB,"status-message-title":()=>OB});var tB="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0035)",uB="Die Patienten-INSS fehlt. (VIDIS_0050)",iB="Die angegebenen persönlichen Daten wurden nicht erkannt. (VIDIS_0090)",nB="Der Benutzer ist für diesen Vorgang nicht autorisiert. (VIDIS_0100)",rB="Der Patient hat keine informierte Einwilligung für den Austausch von Gesundheitsdaten erteilt. (VIDIS_0110)",aB="Es besteht keine therapeutische Beziehung zwischen der Bezugsperson und dem Patienten. (VIDIS_0120)",oB="Die Einsichtnahme in die Daten eines Brüsseler Patienten ist derzeit nicht erlaubt.",sB="Die Einsichtnahme in die Daten eines wallonischen Patienten ist derzeit nicht erlaubt.",lB="Die Einsichtnahme in die Daten eines Brüsseler Kinder von einem Elternteil ist derzeit nicht erlaubt.",cB="Die Einsichtnahme in die Daten eines wallonischen Kinder von einem Elternteil ist derzeit nicht erlaubt.",dB="Die Einsichtnahme in die Daten eines Brüsseler Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",hB="Die Einsichtnahme in die Daten eines wallonischen Patienten von einem Bevollmächtigter ist derzeit nicht erlaubt.",fB="Ungültige INSS-Patientennummer. (VIDIS_0190)",pB="Der Benutzer darf die Bearbeitung nicht vornehmen, da Antragsteller und Patient sich ausschließen. (VIDIS_0200)",mB="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0210)",gB="Die Anmeldung war nicht erfolgreich. Versuchen Sie es erneut? (VIDIS_0211)",CB="Der Vorgang ist ungültig (VIDIS_0230)",EB='Die Benutzerrolle muss "Bürger" sein. (VIDIS_0290)',FB="Ihre Authentifizierungsstufe erlaubt keinen Zugriff auf diese Seite. Bitte melden Sie sich mit einem anderen Authentifizierungsmittel an (itsme, eID oder mit einem per E-Mail oder App verschickten Sicherheitscode). (VIDIS_0330)",AB="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, da Ihr Visum nicht aktiv ist. Bitte wenden Sie sich per E-Mail unter visa@health.belgium.be an den FÖD Gesundheit. (VIDIS_0340)",DB="Sie sind nicht berechtigt, die Daten dieses Patienten abzurufen, entweder weil Ihr Visum nicht aktiv ist, bitte wenden Sie sich in diesem Fall per E-Mail an den FÖD Gesundheit unter visa@health.belgium.be, oder weil die LIKIV-Nummer der Apotheke ungültig ist, bitte kontaktieren Sie in diesem Fall das LIKIV per E-Mail unter dossierpharma@riziv-inami.fgov.be. (VIDIS_0341)",vB="Ihre Anfrage ist ungültig. Bitte versuchen Sie es später nochmal. (VIDIS_0400)",BB="Die Speicherregion für den Medikamentenplan kann nicht bestimmt werden. (VIDIS_0435)",yB="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_0440)",bB="Leider konnten wir Ihre Daten nicht abrufen. Versuchen Sie es bitte noch einmal? (VIDIS_5000)",xB="Leider ging dies nicht gut. Versuchen Sie es bitte noch einmal? (VIDIS_7000)",_B="Leider war es nicht möglich, die Details der Verschreibung abzurufen. Versuchen Sie es erneut?",wB="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",SB="Ein interner technischer Fehler ist aufgetreten. Bitte versuchen Sie es später nochmal.",kB="Zurück zum Portal Meine Gesundheit",IB="https://wwwint.meinegesundheit.belgien.be/#/",PB="Es ist leider ein Netzwerkfehler aufgetreten. Bitte wenden Sie sich an Ihren Netzwerkadministrator, wenn das Problem weiterhin besteht.",TB="Ungültiges Datumsformat.",OB="Dienst vorübergehend nicht verfügbar",RB=`Wir haben derzeit ein Problem mit der Verbindung zum Server.
|
|
263
263
|
Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.`,YDe={VIDIS_0035:tB,VIDIS_0050:uB,VIDIS_0090:iB,VIDIS_0100:nB,VIDIS_0110:rB,VIDIS_0120:aB,VIDIS_0121:oB,VIDIS_0122:sB,VIDIS_0123:lB,VIDIS_0124:cB,VIDIS_0125:dB,VIDIS_0126:hB,VIDIS_0190:fB,VIDIS_0200:pB,VIDIS_0210:mB,VIDIS_0211:gB,VIDIS_0230:CB,VIDIS_0290:EB,VIDIS_0330:FB,VIDIS_0340:AB,VIDIS_0341:DB,VIDIS_0400:vB,VIDIS_0435:BB,VIDIS_0440:yB,VIDIS_5000:bB,VIDIS_7000:xB,prescriptionList:_B,general:wB,"no-access":SB,myHealth:kB,myHealthUrl:IB,network_error:PB,invalid_date_format:TB,"status-message-title":OB,"status-message-content":RB},MB={};du(MB,{VIDIS_0035:()=>NB,VIDIS_0050:()=>LB,VIDIS_0090:()=>zB,VIDIS_0100:()=>VB,VIDIS_0110:()=>jB,VIDIS_0120:()=>UB,VIDIS_0121:()=>HB,VIDIS_0122:()=>WB,VIDIS_0123:()=>qB,VIDIS_0124:()=>GB,VIDIS_0125:()=>XB,VIDIS_0126:()=>ZB,VIDIS_0190:()=>YB,VIDIS_0200:()=>KB,VIDIS_0210:()=>JB,VIDIS_0211:()=>QB,VIDIS_0230:()=>$B,VIDIS_0290:()=>ey,VIDIS_0330:()=>ty,VIDIS_0340:()=>uy,VIDIS_0341:()=>iy,VIDIS_0400:()=>ny,VIDIS_0435:()=>ry,VIDIS_0440:()=>ay,VIDIS_5000:()=>oy,VIDIS_7000:()=>sy,default:()=>KDe,general:()=>cy,invalid_date_format:()=>my,myHealth:()=>hy,myHealthUrl:()=>fy,network_error:()=>py,"no-access":()=>dy,prescriptionList:()=>ly,"status-message-content":()=>Cy,"status-message-title":()=>gy});var NB="Unfortunately, this did not succeed. Please try again. (VIDIS_0035)",LB="The patient's NISS number is missing (VIDIS_0050)",zB="The personal information provided was not recognised. (VIDIS_0090)",VB="The user is not allowed to perform the operation. (VIDIS_0100)",jB="The patient did not give informed consent to share personal health information. (VIDIS_0110)",UB="There is no therapeutic relationship between the healthcare provider and the patient. (VIDIS_0120)",HB="Consulting data of a Brussels patient is currently not authorised.",WB="Consulting data of a Walloon patient is currently not authorised.",qB="Consulting data of a Brussels child by a parent is currently not authorised.",GB="Consulting data of a Walloon child by a parent is currently not authorised.",XB="Consulting data of a Brussels patient by a power of attorney is currently not authorised.",ZB="Consulting data of a Walloon patient by a power of attorney is currently not authorised.",YB="The patient's NISS number is invalid. (VIDIS_0190)",KB="The user is not allowed to perform the operation because an exclusion exists between the applicant and the patient. (VIDIS_0200)",JB="The login was unsuccessful. Please try again. (VIDIS_0210)",QB="The login was unsuccessful. Please try again. (VIDIS_0211)",$B="The request is invalid. (VIDIS_0230)",ey="User role must be citizen. (VIDIS_0290)",ty="Your authentication level is insufficient to access this page. Please authenticate by using other means (itsme, eID or a security code sent via email or an app). (VIDIS_0330)",uy="You are not authorised to view this patient's data because your visa is not active. Please contact the FPS Health via the email address visa@health.fgov.be",iy="You are not authorised to view this patient's details because - or your visa is not active. Please contact the FPS Health via the email address visa@health.fgov.be - or the NIHDI number of the pharmacy is not valid. Please contact the NIHDI via the e-mail address dossierpharma@riziv-inami.fgov.be (VIDIS_0341)",ny="You request in invalid. Please try again later. (VIDIS_0400)",ry="Cannot determine the storage region of the medication scheme. (VIDIS_0435)",ay="Unfortunately, this did not succeed. Please try again. (VIDIS_0440)",oy="Unfortunately your data could not be retrieved. Please try again. (VIDIS_5000)",sy="Unfortunately, this did not succeed. Please try again. (VIDIS_7000)",ly="Unfortunately the details of the prescription could not be retrieved. Please try again.",cy="An internal technical error has occured. Please try again later.",dy="An internal technical error has occured. Please try again later.",hy="Back to the MyHealth portal.",fy="https://www.myhealth.belgium.be/",py="A network error unfortunately has occured. Please contact your network manager if the problem persists.",my="Invalid date format.",gy="Service temporarily unavailable",Cy=`We are currently having a problem connecting to the server.
|
|
264
264
|
Please try again later.`,KDe={VIDIS_0035:NB,VIDIS_0050:LB,VIDIS_0090:zB,VIDIS_0100:VB,VIDIS_0110:jB,VIDIS_0120:UB,VIDIS_0121:HB,VIDIS_0122:WB,VIDIS_0123:qB,VIDIS_0124:GB,VIDIS_0125:XB,VIDIS_0126:ZB,VIDIS_0190:YB,VIDIS_0200:KB,VIDIS_0210:JB,VIDIS_0211:QB,VIDIS_0230:$B,VIDIS_0290:ey,VIDIS_0330:ty,VIDIS_0340:uy,VIDIS_0341:iy,VIDIS_0400:ny,VIDIS_0435:ry,VIDIS_0440:ay,VIDIS_5000:oy,VIDIS_7000:sy,prescriptionList:ly,general:cy,"no-access":dy,myHealth:hy,myHealthUrl:fy,network_error:py,invalid_date_format:my,"status-message-title":gy,"status-message-content":Cy},Ey={};du(Ey,{VIDIS_0035:()=>Fy,VIDIS_0050:()=>Ay,VIDIS_0090:()=>Dy,VIDIS_0100:()=>vy,VIDIS_0110:()=>By,VIDIS_0120:()=>yy,VIDIS_0121:()=>by,VIDIS_0122:()=>xy,VIDIS_0123:()=>_y,VIDIS_0124:()=>wy,VIDIS_0125:()=>Sy,VIDIS_0126:()=>ky,VIDIS_0190:()=>Iy,VIDIS_0200:()=>Py,VIDIS_0210:()=>Ty,VIDIS_0211:()=>Oy,VIDIS_0230:()=>Ry,VIDIS_0290:()=>My,VIDIS_0330:()=>Ny,VIDIS_0340:()=>Ly,VIDIS_0341:()=>zy,VIDIS_0400:()=>Vy,VIDIS_0435:()=>jy,VIDIS_0440:()=>Uy,VIDIS_5000:()=>Hy,VIDIS_7000:()=>Wy,default:()=>JDe,general:()=>Gy,invalid_date_format:()=>Jy,myHealth:()=>Zy,myHealthUrl:()=>Yy,network_error:()=>Ky,"no-access":()=>Xy,prescriptionList:()=>qy,"status-message-content":()=>$y,"status-message-title":()=>Qy});var Fy="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0035)",Ay="Le NISS du patient est manquant. (VIDIS_0050)",Dy="Les informations personnelles fournies n'ont pas été reconnues. (VIDIS_0090)",vy="L’utilisateur n’est pas autorisé à effectuer l’opération. (VIDIS_0100)",By="Le patient n’a pas donné son consentement éclairé pour partager des informations personnelles sur sa santé. (VIDIS_0110)",yy="Il n’y a pas de relation thérapeutique entre le soignant et le patient. (VIDIS_0120)",by="La consultation des données d'un(e) patient(e) bruxellois(e) n'est pas autorisée pour le moment.",xy="La consultation des données d'un(e) patient(e) wallon(ne) n'est pas autorisée pour le moment.",_y="La consultation des données d'un(e) enfant bruxellois(e) par un parent n'est pas autorisée pour le moment.",wy="La consultation des données d'un(e) enfant wallon(ne) par un parent n'est pas autorisée pour le moment.",Sy="La consultation des données d'un(e) patient(e) bruxellois(e) par un(e) mandataire n'est pas autorisée pour le moment.",ky="La consultation des données d'un(e) patient(e) wallon(ne) par un(e) mandataire n'est pas autorisée pour le moment.",Iy="Le NISS du patient n’est pas valide. (VIDIS_0190)",Py="L’utilisateur n’est pas autorisé à effectuer l’opération en raison d’une exclusion entre le demandeur et le patient. (VIDIS_0200)",Ty="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0210)",Oy="La connexion a échoué. Essayez-vous à nouveau? (VIDIS_0211)",Ry="L’opération n’est pas valide. (VIDIS_0230)",My="Le rôle d’utilisateur doit être citoyen (VIDIS_0290)",Ny="Votre niveau d’authentification ne vous permet pas d’accéder à cette page. Veuillez vous connecter avec un autre moyen d’authentification (itsme, eID ou code de sécurité envoyé par e-mail ou via app). (VIDIS_0330)",Ly="Vous n’êtes pas autorisé à consulter les données de ce patient parce que votre visa n’est pas actif. Veuillez prendre contact avec le SPF Santé publique à l’adresse e-mail suivante : visa@health.belgium.be (VIDIS_0340)",zy="Vous n’êtes pas autorisé à consulter les données de ce patient. - Soit votre visa n’est pas actif. Veuillez prendre contact avec le SPF Santé publique via l’adresse e-mail suivante : visa@health.belgium.be - Soit le numéro INAMI de la pharmacie n’est pas valide. Veuillez dans ce cas contacter l’INAMI à l’adresse e-mail dossierpharma@riziv-inami.fgov.be (VIDIS_0341)",Vy="Votre requête est invalide. Veuillez réessayer plus tard. (VIDIS_0400)",jy="Impossible de déterminer la région de stockage du schéma de médication. (VIDIS_0435)",Uy="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_0440)",Hy="Malheureusement, nous n'avons pas pu récupérer vos données. Voulez-vous réessayer ? (VIDIS_5000)",Wy="Malheureusement, cela ne s'est pas bien passé. Voulez-vous réessayer ? (VIDIS_7000)",qy="Malheureusement, il n’a pas été possible de retrouver les détails de la prescription. Essayez-vous à nouveau?",Gy="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",Xy="Une erreur technique interne s'est produite. Veuillez réessayer plus tard.",Zy="Revenir au portail MaSanté",Yy="https://wwwint.masante.belgique.be/#/",Ky="Désolé, une erreur réseau s'est produite. Veuillez contacter votre administrateur réseau si le problème persiste.",Jy="Le format de date est invalide.",Qy="Service temporairement indisponible",$y=`Nous rencontrons actuellement un problème de connexion au serveur.
|
|
265
265
|
Veuillez réessayer plus tard.`,JDe={VIDIS_0035:Fy,VIDIS_0050:Ay,VIDIS_0090:Dy,VIDIS_0100:vy,VIDIS_0110:By,VIDIS_0120:yy,VIDIS_0121:by,VIDIS_0122:xy,VIDIS_0123:_y,VIDIS_0124:wy,VIDIS_0125:Sy,VIDIS_0126:ky,VIDIS_0190:Iy,VIDIS_0200:Py,VIDIS_0210:Ty,VIDIS_0211:Oy,VIDIS_0230:Ry,VIDIS_0290:My,VIDIS_0330:Ny,VIDIS_0340:Ly,VIDIS_0341:zy,VIDIS_0400:Vy,VIDIS_0435:jy,VIDIS_0440:Uy,VIDIS_5000:Hy,VIDIS_7000:Wy,prescriptionList:qy,general:Gy,"no-access":Xy,myHealth:Zy,myHealthUrl:Yy,network_error:Ky,invalid_date_format:Jy,"status-message-title":Qy,"status-message-content":$y},eb={};du(eb,{VIDIS_0035:()=>tb,VIDIS_0050:()=>ub,VIDIS_0090:()=>ib,VIDIS_0100:()=>nb,VIDIS_0110:()=>rb,VIDIS_0120:()=>ab,VIDIS_0121:()=>ob,VIDIS_0122:()=>sb,VIDIS_0123:()=>lb,VIDIS_0124:()=>cb,VIDIS_0125:()=>db,VIDIS_0126:()=>hb,VIDIS_0190:()=>fb,VIDIS_0200:()=>pb,VIDIS_0210:()=>mb,VIDIS_0211:()=>gb,VIDIS_0230:()=>Cb,VIDIS_0290:()=>Eb,VIDIS_0330:()=>Fb,VIDIS_0340:()=>Ab,VIDIS_0341:()=>Db,VIDIS_0400:()=>vb,VIDIS_0435:()=>Bb,VIDIS_0440:()=>yb,VIDIS_5000:()=>bb,VIDIS_7000:()=>xb,default:()=>QDe,general:()=>wb,invalid_date_format:()=>Tb,myHealth:()=>kb,myHealthUrl:()=>Ib,network_error:()=>Pb,"no-access":()=>Sb,prescriptionList:()=>_b,"status-message-content":()=>Rb,"status-message-title":()=>Ob});var tb="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0035)",ub="Het INSZ-patiëntnummer ontbreekt. (VIDIS_0050)",ib="De persoonlijke informatie verstrekt werd niet herkend. (VIDIS_0090)",nb="De gebruiker mag de bewerking niet uitvoeren. (VIDIS_0100)",rb="De patiënt heeft geen geïnformeerde toestemming gegeven om persoonlijke gezondheidsinformatie te delen. (VIDIS_0110)",ab="Er is geen therapeutische relatie tussen de zorgverlener en de patiënt. (VIDIS_0120)",ob="Het raadplegen van gegevens van een Brusselse patiënt is momenteel niet toegelaten.",sb="Het raadplegen van gegevens van een Waalse patiënt is op dit moment niet toegelaten.",lb="Het raadplegen van gegevens van een Brusselse kind door een ouder is momenteel niet toegelaten.",cb="Het raadplegen van gegevens van een Waalse kind door een ouder is momenteel niet toegelaten.",db="Het raadplegen van gegevens van een Brusselse patiënt door een volmacht is momenteel niet toegelaten.",hb="Het raadplegen van gegevens van een Waalse patiënt door een volmacht is momenteel niet toegelaten.",fb="Het INSZ-patiëntnummer is ongeldig. (VIDIS_0190)",pb="De gebruiker mag de bewerking niet uitvoeren omdat er een uitsluiting bestaat tussen de aanvrager en de patiënt. (VIDIS_0200)",mb="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0210)",gb="Het inloggen is niet geslaagd. Probeert u het even opnieuw? (VIDIS_0211)",Cb="Het verzoek is ongeldig. (VIDIS_0230)",Eb="Gebruikersrol moet burger zijn. (VIDIS_0290)",Fb="Uw authenticatieniveau is onvoldoende om toegang te krijgen tot deze pagina. Gelieve u op een andere manier te authenticeren (itsme, eID of een beveiligingscode verstuurd via email of een app). (VIDIS_0330)",Ab="U bent niet bevoegd om de gegevens van deze patiënt te bekijken omdat uw visum niet actief is. Gelieve contact op te nemen met de FOD Volksgezondheid via het e-mailadres visa@health.fgov.be (VIDIS_0340)",Db="U bent niet bevoegd om de gegevens van deze patiënt te bekijken omdat - ofwel uw visum niet actief is. Gelieve contact op te nemen met de FOD Volksgezondheid via het e-mailadres visa@health.fgov.be - ofwel het RIZIV nummer van de apotheek niet geldig is. Gelieve contact op te nemen met het RIZIV via het e-mailadres dossierpharma@riziv-inami.fgov.be (VIDIS_0341)",vb="Uw aanvraag is ongeldig. Probeer het later opnieuw. (VIDIS_0400)",Bb="Kan de opslagregio van het medicatieschema niet bepalen. (VIDIS_0435)",yb="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_0440)",bb="Het is jammer genoeg niet gelukt uw gegevens op te halen. Probeert u het even opnieuw? (VIDIS_5000)",xb="Dit ging jammer genoeg niet goed. Probeert u het even opnieuw? (VIDIS_7000)",_b="Het is jammer genoeg niet gelukt de details van het voorschrift op te halen. Probeert u het even opnieuw?",wb="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",Sb="Er is een interne technische fout opgetreden. Probeer het later opnieuw.",kb="Terug naar het MijnGezondheid portaal",Ib="http://wwwint.mijngezondheid.belgie.be/",Pb="Er is helaas een netwerkfout opgetreden. Neem contact op met uw netwerkbeheerder als het probleem aanhoudt.",Tb="Ongeldig datumformaat.",Ob="Service tijdelijk niet beschikbaar",Rb=`Er is momenteel een probleem met de verbinding met de server.
|